Re: [PATCH v2 08/13] mm: page_alloc: split out DEBUG_PAGEALLOC

From: Andrew Morton
Date: Wed May 17 2023 - 22:10:44 EST


On Thu, 18 May 2023 09:35:29 +0800 Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> wrote:

> > We're irritatingly inconsistent about whether there's an underscore.
> >
> > akpm:/usr/src/25> grep page_alloc mm/*c|wc -l
> > 49
> > akpm:/usr/src/25> grep pagealloc mm/*c|wc -l
> > 28
>
> All the 28 pagealloc naming is from DEBUG_PAGEALLOC feature, they chould
> be changed to page_alloc except the cmdline, but it will lead to long
> function name and don't gain too much advantage, so keep unchange?

Sure, it's probably not the worst thing in there. I was just having
a moan.