cvs commit: src/sys/kern kern_slaballoc.c
joerg 2005/04/02 07:53:56 PST
DragonFly src repository
Modified files:
sys/kern kern_slaballoc.c
Log:
Move the processing of malloc flags out of the loop. The exception
is the M_WAITOK, since the interpretation changing when the current
thread is preempting or not. This can change with the second run of
the loop, so evaluate it each time.
Revision Changes Path
1.28 +15 -14 src/sys/kern/kern_slaballoc.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_slaballoc.c.diff?r1=1.27&r2=1.28&f=u
討論串 (同標題文章)
完整討論串 (本文為第 7 之 9 篇):