DragonFly BSD
DragonFly commits List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_resource.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Jan 2004 23:55:51 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]