Pratyush Yadav
2018-07-09 06:21:02 UTC
Hi,
return NULL?
The contigmalloc() function does not sleep waiting for memory resources
to be freed up, but instead actively reclaims pages before giving up.
However, unless M_NOWAIT is specified, it may select a page for reclama-
tion that must first be written to backing storage, causing it to sleep.
So if M_NOWAIT is *not* specified, can contigmalloc() "give up", andto be freed up, but instead actively reclaims pages before giving up.
However, unless M_NOWAIT is specified, it may select a page for reclama-
tion that must first be written to backing storage, causing it to sleep.
return NULL?
--
Regards,
Pratyush Yadav
Regards,
Pratyush Yadav