cvs commit: src/sys/kern kern_subr.c src/sys/sys systm.h src/share/man/man9 Makefile hashinit.9

Max Laier max at love2party.net
Mon Jan 15 18:33:44 UTC 2007


On Monday 15 January 2007 16:06, Randall Stewart wrote:
> rrs         2007-01-15 15:06:28 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             kern_subr.c
>     sys/sys              systm.h
>     share/man/man9       Makefile hashinit.9
>   Log:
>   Reviewed by:    rwatson
>   Approved by:    gnn
>
>   Add a new function hashinit_flags() which allows NOT-waiting
>   for memory (or waiting). The old hashinit() function now
>   calls hashinit_flags(..., HASH_WAITOK);

This breaks the tinderbox:
> /src/sys/kern/kern_subr.c: In function `hashinit_flags':
> /src/sys/kern/kern_subr.c:375: warning: suggest parentheses around
> comparison in operand of | *** Error code 1

and why are we useing new flags, btw?  Can't we just pass down the normal 
malloc flags?  I seem to remember that we do that in a couple of places 
already.

>   Revision  Changes    Path
>   1.288     +2 -1      src/share/man/man9/Makefile
>   1.3       +26 -2     src/share/man/man9/hashinit.9
>   1.100     +36 -6     src/sys/kern/kern_subr.c
>   1.248     +6 -1      src/sys/sys/systm.h

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070115/504a0b46/attachment.pgp


More information about the cvs-src mailing list