Project

General

Profile

Actions

Bug #6599

closed

kstat queues should assert on both platforms

Added by Rich Lowe over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2016-02-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

At present, we assert that q_len is not 0 on SPARC only, because SPARC seems to have asm implementations of kstat_q_* for some reason.

If the assert is a valid thing to do (and I say "assert", it appears to actually be not conditional on DEBUG), it should be done on both platforms. If invalid, on neither. It definitely should not be platform specific while in a common interface

Actions

Also available in: Atom PDF