Re: [PATCH 1/2] um: mark rodata read-only and implement _nofault accesses

2025-04-05 Thread Nathan Chancellor
Hi Benjamin and Johannes, On Mon, Feb 10, 2025 at 05:09:25PM +0100, Benjamin Berg wrote: > From: Johannes Berg > > Mark read-only data actually read-only (simple mprotect), and > to be able to test it also implement _nofault accesses. This > works by setting up a new "segv_continue" pointer in c

Re: [PATCH RFC v2 04/29] mm: asi: Add infrastructure for boot-time enablement

2025-04-05 Thread Brendan Jackman
On Wed Mar 19, 2025 at 6:47 PM UTC, Yosry Ahmed wrote: > On Wed, Mar 19, 2025 at 06:29:35PM +0100, Borislav Petkov wrote: > > On Fri, Jan 10, 2025 at 06:40:30PM +, Brendan Jackman wrote: > > > Add a boot time parameter to control the newly added X86_FEATURE_ASI. > > > "asi=on" or "asi=off" can

pull-request: uml 6.15-rc1 [resend]

2025-04-05 Thread Johannes Berg
Hi Linus, again, And of course only I can get it wrong and mess up the most basic list address. Sorry. This is just resend with the correct address for linux-kernel this time, for the archive. So I'm filling in for Richard (CC'ed) since he's been busy and I've been mostly working on getting thing

Re: [PATCH v2 1/1] mm: pgtable: fix pte_swp_exclusive

2025-04-05 Thread John Paul Adrian Glaubitz
Hi Magnus, On Tue, 2025-02-18 at 18:55 +0100, Magnus Lindholm wrote: > Make pte_swp_exclusive return bool instead of int. This will better reflect > how pte_swp_exclusive is actually used in the code. This fixes swap/swapoff > problems on Alpha due pte_swp_exclusive not returning correct values wh

Re: [PATCH v2 1/1] mm: pgtable: fix pte_swp_exclusive

2025-04-05 Thread Sam James
Sam James writes: > Lovely cleanup and a great suggestion from Al. > > Reviewed-by: Sam James > > I'd suggest adding a: > Suggested-by: Al Viro Al, were you planning on taking this through your tree? > > thanks, > sam

Re: [PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-04-05 Thread Tiwei Bie
On 2025/3/20 16:32, Johannes Berg wrote: > On Wed, 2025-03-19 at 21:55 +0800, Tiwei Bie wrote: >> Directly creating helper threads with VM_CLONE using clone can >> compromise the thread safety of errno. Since all these helper >> threads have been converted to use os_run_helper_thread(), let's >> pr

Re: [PATCH] docs: Remove literal markup from Documentation/ paths

2025-04-05 Thread Jonathan Cameron
On Fri, 04 Apr 2025 11:42:54 -0600 Jonathan Corbet wrote: > Jonathan Cameron writes: > > > On Fri, 04 Apr 2025 11:37:28 -0400 > > NĂ­colas F. R. A. Prado wrote: > > > >> Given that the automarkup Sphinx plugin cross-references > >> "Documentation/*.rst" strings in the text to the correspondin