Re: [PATCH v2] mm/memblock: Add memblock_alloc_or_panic interface

2024-12-21 Thread Weikang Guo
Geert Uytterhoeven wrote on Saturday, 21 December 2024 at 22:10 > > Hi Guo, > > On Sat, Dec 21, 2024 at 11:43 AM Guo Weikang > wrote: > > Before SLUB initialization, various subsystems used memblock_alloc to > > allocate memory. In most cases, when memory allocation fails, an immediate > > panic

Re: [PATCH v2] mm/memblock: Add memblock_alloc_or_panic interface

2024-12-21 Thread Geert Uytterhoeven
Hi Guo, On Sat, Dec 21, 2024 at 11:43 AM Guo Weikang wrote: > Before SLUB initialization, various subsystems used memblock_alloc to > allocate memory. In most cases, when memory allocation fails, an immediate > panic is required. To simplify this behavior and reduce repetitive checks, > introduce