[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVdx2V1uhv_152Sw3_z2xE0spiaWp1d6Ko8-rYmAxUBAg@mail.gmail.com>
Date: Mon, 25 Apr 2022 09:07:12 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: "song@...nel.org" <song@...nel.org>
Cc: "linux-mm@...ck.org" <linux-mm@...ck.org>,
Rik van Riel <riel@...com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"rick.p.edgecombe@...el.com" <rick.p.edgecombe@...el.com>,
"hch@....de" <hch@....de>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"daniel@...earbox.net" <daniel@...earbox.net>,
"hch@...radead.org" <hch@...radead.org>,
"mcgrof@...nel.org" <mcgrof@...nel.org>,
"ast@...nel.org" <ast@...nel.org>,
Kernel Team <Kernel-team@...com>,
"imbrenda@...ux.ibm.com" <imbrenda@...ux.ibm.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH v4 bpf 2/4] page_alloc: use vmalloc_huge for large system hash
Hi Song,
On Fri, 2022-04-15 at 09:44 -0700, Song Liu wrote:
> > Use vmalloc_huge() in alloc_large_system_hash() so that large system
> > hash
> > (>= PMD_SIZE) could benefit from huge pages. Note that vmalloc_huge
> > only
> > allocates huge pages for systems with HAVE_ARCH_HUGE_VMALLOC.
> >
> > Reviewed-by: Christoph Hellwig <hch@....de>
> > Signed-off-by: Song Liu <song@...nel.org>
>
> Reviewed-by: Rik van Riel <riel@...riel.com>
Thanks for your patch, which is now commit f2edd118d02dd114
("page_alloc: use vmalloc_huge for large system hash") upstream
(and which hasn't been in linux-next before).
As reported by noreply@...erman.id.au, this is breaking e.g.
m68k/m5272c3_defconfig with:
page_alloc.c:(.init.text+0x13de): undefined reference to `vmalloc_huge'
vmalloc_huge() is provided by mm/vmalloc.c, which is not
compiled if CONFIG_MMU=n.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists