]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc: Revert pahole zero-sized workaround
authorMel Gorman <mgorman@techsingularity.net>
Mon, 5 Jul 2021 09:51:17 +0000 (10:51 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 10 Jul 2021 23:09:39 +0000 (16:09 -0700)
commitac03a5f08c4d460fdf96536f681b5f1221e5bd89
treed9a171d4c37e349dde27337dc81c6c69444c2bb3
parent43362c8672888792b761e34d557c71f5325ee8f7
mm/page_alloc: Revert pahole zero-sized workaround

Commit f44d12cf8ab2 ("mm/page_alloc: convert per-cpu list protection to
local_lock") folded in a workaround patch for pahole that was unable to
deal with zero-sized percpu structures.

A superior workaround is achieved with commit 0da17db61383 ("kbuild:
skip per-CPU BTF generation for pahole v1.18-v1.21").

This patch reverts the dummy field and the pahole version check.

Fixes: f44d12cf8ab2 ("mm/page_alloc: convert per-cpu list protection to local_lock")
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug
mm/page_alloc.c