cvs commit: src/sys/kern kern_resource.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jan 23 23:57:44 PST 2004
dillon 2004/01/23 23:55:51 PST
DragonFly src repository
Modified files:
sys/kern kern_resource.c
Log:
When creating a new uidinfo structure, check for an allocation race whether
we were to malloc M_NOWAIT or M_WAITOK, which means we can just use M_WAITOK
unconditionally.
Revision Changes Path
1.18 +12 -12 src/sys/kern/kern_resource.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_resource.c.diff?r1=1.17&r2=1.18&f=h
More information about the Commits
mailing list