]> 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)
commit467a645f0eea2b871a5ae774ef30a5e79b697b55
treed9a171d4c37e349dde27337dc81c6c69444c2bb3
parentb76fe8c563a970014ee62b12045feb701b741a30
mm/page_alloc: Revert pahole zero-sized workaround

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

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

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