Re: [PATCH] selftests: memfd_secret: don't build memfd_secret test on unsupported arches

2024-08-11 Thread Mike Rapoport
72034.31572-7-r...@kernel.org/ > Cc: sta...@vger.kernel.org > Fixes: 76fe17ef588a ("secretmem: test: add basic selftest for > memfd_secret(2)") > Signed-off-by: Muhammad Usama Anjum Acked-by: Mike Rapoport (Microsoft) > --- > tools/testing/selftests/mm/Makefile | 2 ++ >

Re: [PATCH v1 0/5] arm64/mm: uffd write-protect and soft-dirty tracking

2024-04-19 Thread Mike Rapoport
On Fri, Apr 19, 2024 at 11:45:14AM +0200, David Hildenbrand wrote: > On 19.04.24 10:33, Shivansh Vij wrote: > > > On 19/04/2024 08:43, Ryan Roberts wrote: > > > > Hi All, > > > > > > > > This series adds uffd write-protect and soft-dirty tracking support for > > > > arm64. I > > > > consider the

Re: [PATCH RFT v3 1/5] mm: Introduce ARCH_HAS_USER_SHADOW_STACK

2024-02-04 Thread Mike Rapoport
gt; depends on !STACK_GROWSUP > > +config ARCH_HAS_USER_SHADOW_STACK > + bool > + help > + The architecture has hardware support for userspace shadow call > + stacks (eg, x86 CET, arm64 GCS or RISC-V Zicfiss). The whitespace looks suspicious, I think there should be a leading tab. Otherwise Reviewed-by: Mike Rapoport (IBM) > + > source "mm/damon/Kconfig" > > endmenu > > -- > 2.30.2 > -- Sincerely yours, Mike.

Re: [PATCH] selftests: secretmem: Floor the memory size to the multiple of page_size

2023-12-15 Thread Mike Rapoport
On Thu, Dec 14, 2023 at 03:19:30PM +0500, Muhammad Usama Anjum wrote: > The "locked-in-memory size" limit per process can be non-multiple of > page_size. The mmap() fails if we try to allocate locked-in-memory > with same size as the allowed limit if it isn't multiple of the > page_size because mma