[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260108021238.46605-1-lianux.mm@gmail.com>
Date: Thu, 8 Jan 2026 10:12:37 +0800
From: wang lian <lianux.mm@...il.com>
To: kevin.brodsky@....com
Cc: Usama.Anjum@....com,
akpm@...ux-foundation.org,
broonie@...nel.org,
david@...nel.org,
linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org,
linux-mm@...ck.org,
lorenzo.stoakes@...cle.com,
ryan.roberts@....com,
shuah@...nel.org,
wang lian <lianux.mm@...il.com>
Subject: Re: [PATCH v2 7/8] selftests/mm: fix exit code in pagemap_ioctl
> Make sure pagemap_ioctl exits with an appropriate value:
>
> * If the tests are run, call ksft_finished() to report the right
> status instead of reporting PASS unconditionally.
>
> * Report SKIP if userfaultfd isn't available (in line with other
> tests)
>
> * Report FAIL if we failed to open /proc/self/pagemap, as this file
> has been added a long time ago and doesn't depend on any CONFIG
> option (returning -EINVAL from main() is meaningless)
>
> Cc: Usama Anjum <Usama.Anjum@....com>
> Reviewed-by: Ryan Roberts <ryan.roberts@....com>
> Reviewed-by: Mark Brown <broonie@...nel.org>
> Acked-by: David Hildenbrand (Red Hat) <david@...nel.org>
> Signed-off-by: Kevin Brodsky <kevin.brodsky@....com>
Reviewed-by: wang lian <lianux.mm@...il.com>
--
Best Regards,
wang lian
Powered by blists - more mailing lists