Frank van der Linden wrote:
Richard L. Hamilton wrote:
Insofar as the defaults for VSTATUS and NOKERNINFO could be controlled
via /kernel/drv/options.conf, I'd choose (3) (which any site could change
to (1) or (2) by simply modifying that file and rebooting, as with any change to tty defaults). If (4) is preferred or it is at present too tedious to figure
out a good way to print the load and process info, I'd favor at least
reserving a NOKERNINFO flag for the possibility of future use, along with
explicitly ignoring whether or not it was set for now. That way, code that wanted to control that feature would not have to be changed if it were later
implemented (call it both more nearly portable and forwards compatible).

Printing the info shouldn't be too hard, but the question is if this is a desirable, clean feature we'd like to have. The whole notion of the kernel printing info to the user's terminal is, well, dirty. Though there certainly is some precedent, like the dreaded "NFS server not responding" messages.

Let's not print from the kernel.... utilities and shells that care
to do something useful w/ SIGINFO can; everything else should ignore it.

- Bart




--
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to