cvs commit: src/sys/vm vm_kern.c

Dag-ErlingSmørgrav des at des.no
Mon Feb 16 12:09:06 PST 2004


Robert Watson <rwatson at freebsd.org> writes:
> And the origin of part of this problem is that procfs has some notions
> that are hard to implement (or impossible to implement) [...]

The problem existed in other parts of the kernel (such as md(4))
before it appeared in procfs.

> This appears to change the semantics of M_NOWAIT from "Return memory if it
> is available, or NULL if I need to sleep for it" into "Return memory if it
> is available, or NULL if I need to sleep for it or it will never be
> available".

It does not change the semantics of M_NOWAIT at all.  It changes the
semantics of M_WAITOK.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list