lkml.org 
[lkml]   [2024]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/smpboot: Add map vars allocation check in smp_prepare_cpus_common

* Nikita Kiryushin <kiryushin@ancud.ru> wrote:

> But I have some questions considering __GFP_NOFAIL. It clearly shows,
> that allocation will not fail/is not expected to fail, does it not try
> making allocation until it succeeds? Would not it make the system hang in
> a problematic case?

Yes, which is better than undefined behavior. This case should only happen
on hopelessly buggy kernels or hopelessly buggy hardware - which will very
likely crash way sooner before they get into this part of the init
sequence.

This whole problem is a non-issue.

Thanks,

Ingo

\
 
 \ /
  Last update: 2024-05-27 16:35    [W:0.031 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site