Re: Garbled shutdown message

From: Michael Butler <imb_at_protected-networks.net>
Date: Fri, 28 Dec 2007 14:23:35 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kris Kennaway wrote:
> Jens Schweikhardt wrote:
>> If you look at this closely you can find "Syncing (max 60 seconds) for
>> system process" if you read about every other character. It's always the
>> third of the three "Waiting" lines. Anyone else seeing this?
> 
> You have an SMP system and do not have the PRINTF_BUFR option or
> whatever it is.  Without it multiple CPUs have no synchronization
> between printfs and will interleave.

So the recommended value for PRINTF_BUFR_SIZE is ... ?

In my (very brief) browse through kern/subr_prf.c, I didn't see any
overflow protection on the stack-allocated buffer ... which makes me
rather nervous.

Interleaved text is *way* better than clobbered kernel stack ..

	Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHdU02Qv9rrgRC1JIRAmG6AJwMUncMH0mLjRy0FljZPFqNd3xlzgCYhUgu
L3yExPV9NREBD3RH1xUFqA==
=Zp29
-----END PGP SIGNATURE-----
Received on Fri Dec 28 2007 - 18:34:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC