On Mon, Nov 18, 2024 at 1:49 AM Christoph Hellwig wrote:
>
> On Sat, Nov 16, 2024 at 05:59:18PM +, 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
On Sun, Nov 17, 2024 at 10:49:06PM -0800, Christoph Hellwig wrote:
> On Sat, Nov 16, 2024 at 05:59:18PM +, 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 p
On Sat, Nov 16, 2024 at 05:59:18PM +, 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);
Page Detective will use it to walk the kernel page table. Make this
function accessible from modules, and also while here make
walk_page_range() accessible from modules, so Page Detective could
use it to walk user page tables.
Signed-off-by: Pasha Tatashin
---
include/linux/pagewalk.h | 2 ++
m