Re: [PATCH v1 1/2] mseal: fix mmap(FIXED) error code.

2024-08-30 Thread Andrew Morton
On Thu, 29 Aug 2024 13:09:41 +0100 Lorenzo Stoakes wrote: > Relevant section from MAINTAINERS: > > MEMORY MAPPING I always thought it meant "memory management" ;)

Re: [PATCH v3 4/5] selftests/mseal: add more tests for mmap

2024-08-30 Thread Jeff Xu
On Fri, Aug 30, 2024 at 12:23 PM Lorenzo Stoakes wrote: > > On Fri, Aug 30, 2024 at 07:43:12PM GMT, Lorenzo Stoakes wrote: > > On Fri, Aug 30, 2024 at 06:02:36PM GMT, jef...@chromium.org wrote: > > > From: Jeff Xu > > > > > > Add sealing test to cover mmap for > > > Expand/shrink across sealed vm

[PATCH] isofs: Annotate struct SL_component with __counted_by()

2024-08-30 Thread Thorsten Blum
Add the __counted_by compiler attribute to the flexible array member text to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE. Signed-off-by: Thorsten Blum --- fs/isofs/rock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/isofs/rock.h b/fs

Re: [PATCH v3 0/4] mm: clarify nofail memory allocation

2024-08-30 Thread Vlastimil Babka
On 8/30/24 09:24, Michal Hocko wrote: > On Fri 30-08-24 10:31:14, Barry Song wrote: >> > > > Patch 4/4: We will move the order > 1 check from the current fast path >> > > > to the slow path and extend >> > > > the check of gfp_direct_reclaim flag also in the slow >> > > > path. >>

Re: [PATCH v3 0/4] mm: clarify nofail memory allocation

2024-08-30 Thread Michal Hocko
On Fri 30-08-24 10:31:14, Barry Song wrote: > > > > Patch 4/4: We will move the order > 1 check from the current fast path > > > > to the slow path and extend > > > > the check of gfp_direct_reclaim flag also in the slow > > > > path. > > > > > > OK, let's have that go in now as w