Re: [PATCH] selftests/x86: add "ffff8" -- kernel memory scanner

From: Alexey Dobriyan
Date: Sat Oct 29 2022 - 05:45:33 EST


On Sat, Oct 29, 2022 at 09:14:44AM +0700, Bagas Sanjaya wrote:
> On Fri, Oct 28, 2022 at 10:33:49PM +0300, Alexey Dobriyan wrote:
> >
> > I've tested it with kernel patch which installs rogue page and it was found.
> >
> > $ ./a.out -h
> > usage: ./a.out [-f] [-r] [-n N] [-s S]
> > -f: sequential scan
> > -r: random scan (default)
> > -n: use N threads (default: $(nproc))
> > -s: lowest address shift (default: 47)
> > -t: time to run (default: 256 seconds)
> >
> > Intended usages are:
> >
> > $ ./a.out -f # full scan on all cores
> > or
> > $ ./a.out -r -t ... # time limited random scan for QA test
> >
>
> The executable name is a.out, really?

This is copypasta from my internal git.

It will be named ffff8_64 by the build system.