<div dir="ltr">As per the documentation(

<a href="https://www.linuxjournal.com/article/6930">https://www.linuxjournal.com/article/6930</a>), <div>which says:<div>    Flag                Description<br>__GFP_REPEAT   The kernel repeats the allocation if it fails.<br>__GFP_NOFAIL   The kernel can repeat the allocation. <br><div><br>So, both of them may cause the kernel to repeat the allocation operation. </div><div>How can I choose between them?</div></div><div>What are the major differences?</div><div><br></div><div>Thank you for your attention to this matter.</div><div>Looking forward to hearing from you.</div></div></div>