On 11/12/12 3:49 PM, Adrian Chadd wrote:
On 12 November 2012 15:26, Alan Cox <a...@rice.edu> wrote:
On 11/12/2012 5:24 PM, Adrian Chadd wrote:
.. wait, so what exactly would the difference be between M_NOWAIT and
M_WAITOK?

Whether or not the allocation can sleep until memory becomes available.
Ok, so we're still maintaining that particular behaviour. Cool.
                    no mem                  |     mem avail
----------------------------------------------
M_WAITOK | wait, then success   |    success           |
----------------------------------------------
M_NOWAIT |  returns failure        |    success          |
----------------------------------------------

the question is whether  the top left can ever fail for any other reason.



Adrian
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"



_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to