Waiman Long <long...@redhat.com> writes: > On 11/8/21 20:46, Nicholas Piggin wrote: >> Differences between the two patches are error checking - no big deal but >> we should just do it. And GFP_NOWAIT - is this required here? > > As I have replied in another thread, I added it because it was used in > memblock_alloc_internal().
>From the pseries code's point of view, that's an incidental property of the misuse detection branch in memblock_alloc_internal() -- I'd speculate to make it robust for calls from atomic context. GFP_NOWAIT is not needed here.