Re: [PATCH v5 8/8] mm: huge_memory: enable debugfs to split huge pages to any order.

Mark Brown
2024-03-01T14:24:22Z

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

On Fri, Mar 01, 2024 at 01:09:04PM +0000, Ryan Roberts wrote:
> On 01/03/2024 12:52, Zi Yan wrote:

> > I can do that. But is this a new requirement that self tests have to be finish
> > in CI/CD environment? Can you provide a guideline for it?

> I'm not sure what's written down, but certainly anyone should be able to run the
> selftests with as little knowledge as possible, and they should only fail if
> they detect a real problem. By convention a test should be skipped if the

It does get mentioned in talks and things but TBH I think it's just
generally a good practice thing.

> > Since I always assume
> > selftests are just ran by human who can set up environment.

> I believe kernelci have been running mm skeftests on x86 for a long time. We
> have started running them against arm64 on our CI for the last couple of months
> and it had found a number of real issues in the kernel in -next, so this is
> helping find and fix things early. So there is definitely benefit to keeping
> these tests clean and robust.

They're also being routinely run on at least some platforms by LKFT
(though from a quick check it seems not with the magic command line
options to set up secretmem and huge pages) and CKI, possibly also some
of the other CI systems I'm less aware of.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]