What the differences between "__GFP_NOFAIL" and "__GFP_REPEAT"?
孙世龙 sunshilong
sunshilong369 at gmail.com
Sat Jun 20 01:34:15 EDT 2020
As per the documentation( https://www.linuxjournal.com/article/6930),
which says:
Flag Description
__GFP_REPEAT The kernel repeats the allocation if it fails.
__GFP_NOFAIL The kernel can repeat the allocation.
So, both of them may cause the kernel to repeat the allocation operation.
How can I choose between them?
What are the major differences?
Thank you for your attention to this matter.
Looking forward to hearing from you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200620/92cd77ff/attachment.html>
More information about the Kernelnewbies
mailing list