[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YsKKnSk/kgf2uMg6@kernel.org>
Date: Mon, 4 Jul 2022 09:37:17 +0300
From: Mike Rapoport <rppt@...nel.org>
To: WANG Xuerui <kernel@...0n.name>
Cc: Matthew Wilcox <willy@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
Dinh Nguyen <dinguyen@...nel.org>, Guo Ren <guoren@...nel.org>,
Helge Deller <deller@....de>,
Huacai Chen <chenhuacai@...nel.org>,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
Max Filippov <jcmvbkbc@...il.com>,
Mike Rapoport <rppt@...ux.ibm.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
linux-arch@...r.kernel.org, linux-csky@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mips@...r.kernel.org,
linux-mm@...ck.org, linux-parisc@...r.kernel.org,
linux-xtensa@...ux-xtensa.org, loongarch@...ts.linux.dev
Subject: Re: [PATCH 12/14] loongarch: drop definition of PGD_ORDER
On Mon, Jul 04, 2022 at 11:57:28AM +0800, WANG Xuerui wrote:
>
> On 2022/7/4 04:50, Matthew Wilcox wrote:
> > On Sun, Jul 03, 2022 at 05:12:01PM +0300, Mike Rapoport wrote:
> > > +++ b/arch/loongarch/kernel/asm-offsets.c
> > > @@ -190,7 +190,6 @@ void output_mm_defines(void)
> > > #endif
> > > DEFINE(_PTE_T_LOG2, PTE_T_LOG2);
> > > BLANK();
> > > - DEFINE(_PGD_ORDER, PGD_ORDER);
> > > BLANK();
> > > DEFINE(_PMD_SHIFT, PMD_SHIFT);
> > > DEFINE(_PGDIR_SHIFT, PGDIR_SHIFT);
> > Should probably also drop one of these BLANK() lines too?
> >
> Agreed; IMO the blank lines can and should be removed because the
> surrounding lines are also mm definitions.
They are mm definitions, but still they are separated by blanks to have
nice grouping in the generated asm-offsets.h.
I suspect that there are more unused definitions in asm-offsets.c, worth
taking a look.
--
Sincerely yours,
Mike.
Powered by blists - more mailing lists