On 11/12/12 3:49 PM, Adrian Chadd wrote:
On 12 November 2012 15:26, Alan Cox <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to