[PATCH v1 0/1] update mseal.rst

2024-09-27 Thread jeffxu
From: Jeff Xu Pedro Falcato's optimization [1] for checking sealed VMAs, which replaces the can_modify_mm() function with an in-loop check, necessitates an update to the mseal.rst documentation to reflect this change. Furthermore, the document has received offline comments regarding the code sam

[PATCH v1 1/1] mseal: update mseal.rst

2024-09-27 Thread jeffxu
From: Jeff Xu Update doc after in-loop change: mprotect/madvise can have partially updated and munmap is atomic. Fix indentation and clarify some sections to improve readability. Signed-off-by: Jeff Xu --- Documentation/userspace-api/mseal.rst | 290 -- 1 file changed,

Re: [PATCH v1 1/1] mseal: update mseal.rst

2024-09-27 Thread Jeff Xu
On Fri, Sep 27, 2024 at 12:58 PM Andrew Morton wrote: > > On Fri, 27 Sep 2024 18:52:09 + jef...@chromium.org wrote: > > > From: Jeff Xu > > > > Update doc after in-loop change: mprotect/madvise can have > > partially updated and munmap is atomic. > > Fixes:what? > > I think 4a2dd02b0916 ("mm/

Re: [PATCH v1 1/1] mseal: update mseal.rst

2024-09-27 Thread Andrew Morton
On Fri, 27 Sep 2024 18:52:09 + jef...@chromium.org wrote: > From: Jeff Xu > > Update doc after in-loop change: mprotect/madvise can have > partially updated and munmap is atomic. Fixes:what? I think 4a2dd02b0916 ("mm/mprotect: replace can_modify_mm with can_modify_vma")?

Re: [PATCH -next v3 01/10] coccinelle: Add rules to find str_true_false() replacements

2024-09-27 Thread Hongbo Li
On 2024/9/23 18:24, Julia Lawall wrote: Thanks for testing it. I will see if there is some other way to improve the performance. May be every rules in the same file are executed sequentially cost a lot? Thanks, Hongbo Sent from my iPhone On 23 Sep 2024, at 09:01, Hongbo Li wrote: 

Re: [djiang:cxl/fwctl 13/25] drivers/cxl/cxlmem.h:798:44: error: 'counted_by' argument must be a simple declaration reference

2024-09-27 Thread Dave Jiang
3c6a9695d3b >> commit: 5a0496c19151d83cd0d926f8a1488eeaab27509b [13/25] cxl: Add Get >> Supported Features command for kernel usage >> config: arm-randconfig-004-20240927 >> (https://download.01.org/0day-ci/archive/20240927/202409270908.njpl38kw-...@intel.com/config) >> compiler: clang vers

Re: [PATCH v1 1/1] mseal: update mseal.rst

2024-09-27 Thread Pedro Falcato
On Fri, Sep 27, 2024 at 06:52:09PM GMT, jef...@chromium.org wrote: > From: Jeff Xu > > Update doc after in-loop change: mprotect/madvise can have > partially updated and munmap is atomic. > > Fix indentation and clarify some sections to improve readability. > > Signed-off-by: Jeff Xu > --- >

Re: [PATCH v2] ksmbd: Annotate struct copychunk_ioctl_req with __counted_by_le()

2024-09-27 Thread Namjae Jeon
On Wed, Sep 25, 2024 at 6:10 PM Thorsten Blum wrote: > > Add the __counted_by_le compiler attribute to the flexible array member > Chunks to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and > CONFIG_FORTIFY_SOURCE. > > Change the data type of the flexible array member Chunks from __u8[]

Re: [djiang:cxl/fwctl 13/25] drivers/cxl/cxlmem.h:798:44: error: 'counted_by' argument must be a simple declaration reference

2024-09-27 Thread Nathan Chancellor
> Supported Features command for kernel usage > config: arm-randconfig-004-20240927 > (https://download.01.org/0day-ci/archive/20240927/202409270908.njpl38kw-...@intel.com/config) > compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project > 7773243d9916f98ba0ffce0c3a960e4a

Re: [PATCH v1 1/1] mseal: update mseal.rst

2024-09-27 Thread Jeff Xu
Hi Pedro, On Fri, Sep 27, 2024 at 3:59 PM Pedro Falcato wrote: > > On Fri, Sep 27, 2024 at 06:52:09PM GMT, jef...@chromium.org wrote: > > From: Jeff Xu > > > > Update doc after in-loop change: mprotect/madvise can have > > partially updated and munmap is atomic. > > > > Fix indentation and clari