[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+CK2bDp9A+ZzEwm60vDW8m_3U7u3FM0iUdM1N59VjdwM4_j5g@mail.gmail.com>
Date: Mon, 18 Nov 2024 15:42:12 -0500
From: Pasha Tatashin <pasha.tatashin@...een.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-doc@...r.kernel.org, linux-fsdevel@...r.kernel.org,
cgroups@...r.kernel.org, linux-kselftest@...r.kernel.org,
akpm@...ux-foundation.org, corbet@....net, derek.kiernan@....com,
dragan.cvetic@....com, arnd@...db.de, gregkh@...uxfoundation.org,
viro@...iv.linux.org.uk, brauner@...nel.org, jack@...e.cz, tj@...nel.org,
hannes@...xchg.org, mhocko@...nel.org, roman.gushchin@...ux.dev,
shakeel.butt@...ux.dev, muchun.song@...ux.dev, Liam.Howlett@...cle.com,
lorenzo.stoakes@...cle.com, vbabka@...e.cz, jannh@...gle.com,
shuah@...nel.org, vegard.nossum@...cle.com, vattunuru@...vell.com,
schalla@...vell.com, david@...hat.com, willy@...radead.org, osalvador@...e.de,
usama.anjum@...labora.com, andrii@...nel.org, ryan.roberts@....com,
peterx@...hat.com, oleg@...hat.com, tandersen@...flix.com,
rientjes@...gle.com, gthelen@...gle.com
Subject: Re: [RFCv1 2/6] pagewalk: Add a page table walker for init_mm page table
On Mon, Nov 18, 2024 at 1:49 AM Christoph Hellwig <hch@...radead.org> wrote:
>
> On Sat, Nov 16, 2024 at 05:59:18PM +0000, Pasha Tatashin wrote:
> > } while (start = next, start < end);
> > return err;
> > }
> > +EXPORT_SYMBOL_GPL(walk_page_range);
>
> Umm, no. We really should not expose all these page table detail
> to modules.
>
> > +EXPORT_SYMBOL_GPL(walk_page_range_kernel);
>
> Even more so here.
I will remove these exports in the next version, as I am going to
convert Page Detective to be part of core mm instead of misc device.
Thanks,
Pasha
Powered by blists - more mailing lists