Subject: linux-next: build failure after merge of the mm tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 26 Sep 2023 09:18:00 +1000

Hi all,

After merging the mm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from include/trace/trace_events.h:27,
                 from include/trace/define_trace.h:102,
                 from include/trace/events/oom.h:195,
                 from mm/oom_kill.c:53:
include/trace/events/mmflags.h:278:21: error: 'LRU_GEN_ANON' undeclared here (not in a function); did you mean 'LRU_GEN_NAMES'?
  278 |                 EM (LRU_GEN_ANON, "anon") \
      |                     ^~~~~~~~~~~~
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
   20 |                 .eval_value = a                         \
      |                               ^
include/trace/events/mmflags.h:278:17: note: in expansion of macro 'EM'
  278 |                 EM (LRU_GEN_ANON, "anon") \
      |                 ^~
include/trace/events/mmflags.h:295:1: note: in expansion of macro 'LRU_GEN_NAMES'
  295 | LRU_GEN_NAMES
      | ^~~~~~~~~~~~~
include/trace/events/mmflags.h:279:21: error: 'LRU_GEN_FILE' undeclared here (not in a function); did you mean 'LRU_GEN_NAMES'?
  279 |                 EMe(LRU_GEN_FILE, "file")
      |                     ^~~~~~~~~~~~
include/trace/stages/init.h:20:31: note: in definition of macro 'TRACE_DEFINE_ENUM'
   20 |                 .eval_value = a                         \
      |                               ^
include/trace/events/mmflags.h:279:17: note: in expansion of macro 'EMe'
  279 |                 EMe(LRU_GEN_FILE, "file")
      |                 ^~~
include/trace/events/mmflags.h:295:1: note: in expansion of macro 'LRU_GEN_NAMES'
  295 | LRU_GEN_NAMES
      | ^~~~~~~~~~~~~

Caused by commit

  11113e8e7b3f ("vmscan: add trace events for lru_gen")

I have reverted that commit (and its followup fix) for today.

-- 
Cheers,
Stephen Rothwell