[LTP] [PATCH] kallsyms: skip user-space mapped addresses

Li Wang liwan@redhat.com
Wed Jul 10 09:18:02 CEST 2024


On Tue, Jul 9, 2024 at 8:41 PM Jan Stancek <jstancek@redhat.com> wrote:

> On Tue, Jul 9, 2024 at 2:35 PM Li Wang <liwan@redhat.com> wrote:
> >
> >
> >
> > On Tue, Jul 9, 2024 at 8:18 PM Jan Stancek <jstancek@redhat.com> wrote:
> >>
> >> RHEL9 s390x with KPTI enabled has been observed to sporadically
> >> use same address ranges for user-space libraries as the ones
> >> occupied by kallsyms while in kernel-space.
> >
> >
> > Thanks for the proposal fix, do you think we need to add
> > a check to see if KPTI is explicitly enabled before doing that
> > is_address_mapped?
> > (or, check the configuration for CONFIG_PAGE_TABLE_ISOLATION)
>
> It shouldn't be needed. It's a small optimization, but the test run looks
> fast enough (at least on s390x I tried).
>

Make sense.

Reviewed-by: Li Wang <liwang@redhat.com>


More information about the ltp mailing list