[PATCH] 2024 q1 qoth file.

2024-04-05 Thread Joshua Branson
* news/2024-q1.mdwn: new qoth file. SMP work, AArch port, etc. --- news/2024-q1.mdwn | 210 ++ 1 file changed, 210 insertions(+) create mode 100644 news/2024-q1.mdwn diff --git a/news/2024-q1.mdwn b/news/2024-q1.mdwn new file mode 100644 index

Re: [PATCH 1/3] vm: Fix use-after-free in vm_map_pageable_scan()

2024-04-05 Thread Samuel Thibault
Hello, Applied, thanks so much! Samuel Sergey Bugaev, le ven. 05 avril 2024 18:18:48 +0300, a ecrit: > When operating on the kernel map, vm_map_pageable_scan() does what > the code itself describes as "HACK HACK HACK HACK": it unlocks the map, > and calls vm_fault_wire() with the map unlocked. T

[PATCH 1/3] vm: Fix use-after-free in vm_map_pageable_scan()

2024-04-05 Thread Sergey Bugaev
When operating on the kernel map, vm_map_pageable_scan() does what the code itself describes as "HACK HACK HACK HACK": it unlocks the map, and calls vm_fault_wire() with the map unlocked. This hack is required to avoid a deadlock in case vm_fault or one of its callees (perhaps, a pager) needs to al

[PATCH 2/3] vm: Don't attempt to extend in-transition entries

2024-04-05 Thread Sergey Bugaev
The in-transition mechanism exists to make it possible to unlock a map while still making sure some VM entries won't disappear from under you. This is currently used by the VM copyin mechanics. Entries in this state are better left alone, and extending/coalescing is only an optimization, so it mak

[PATCH 3/3] vm: Mark entries as in-transition while wiring down

2024-04-05 Thread Sergey Bugaev
When operating on the kernel map, vm_map_pageable_scan() does what the code itself describes as "HACK HACK HACK HACK": it unlocks the map, and calls vm_fault_wire() with the map unlocked. This hack is required to avoid a deadlock in case vm_fault or one of its callees (perhaps, a pager) needs to al

Re: [PATCH v2 2/3] aarch64: Add support for aarch64-gnu (GNU/Hurd on AArch64)

2024-04-05 Thread Sergey Bugaev
Hello, On Tue, Apr 2, 2024 at 8:26 PM Richard Sandiford wrote: > I don't know if you're waiting on me, but just in case: this and patch 3 > still LGTM if Thomas is OK with them. Thanks. Thomas asked me to resubmit with Changelog entries added (but hasn't pointed out anything else), so this is wa