Memory reserves or lack thereof
Julian Elischer
julian at freebsd.org
Tue Nov 13 00:12:18 UTC 2012
On 11/12/12 3:49 PM, Adrian Chadd wrote:
> On 12 November 2012 15:26, Alan Cox <alc at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>
More information about the freebsd-hackers
mailing list