[PATCH v2] powerpc/s64: Clarify that radix lacks DEBUG_PAGEALLOC

Michael Ellerman patch-notifications at ellerman.id.au
Tue Nov 2 21:11:31 AEDT 2021


On Thu, 14 Oct 2021 08:04:38 +1030, Joel Stanley wrote:
> The page_alloc.c code will call into __kernel_map_pages when
> DEBUG_PAGEALLOC is configured and enabled.
> 
> As the implementation assumes hash, this should crash spectacularly if
> not for a bit of luck in __kernel_map_pages. In this function
> linear_map_hash_count is always zero, the for loop exits without doing
> any damage.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/s64: Clarify that radix lacks DEBUG_PAGEALLOC
      https://git.kernel.org/powerpc/c/4f703e7faa67a116016c4678fc88b507c12670c9

cheers


More information about the Linuxppc-dev mailing list