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)
commit6bce244390a8bad89536ae0ea5c03c59ae155a12
treed9a171d4c37e349dde27337dc81c6c69444c2bb3
parent1e16624d7b4376797ede36e3c955375cf0f23298
mm/page_alloc: Revert pahole zero-sized workaround

Commit dbbee9d5cd83 ("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 a0b8200d06ad ("kbuild:
skip per-CPU BTF generation for pahole v1.18-v1.21").

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

Fixes: dbbee9d5cd83 ("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