Thread (40 messages) 40 messages, 6 authors, 2025-12-05

Re: [PATCH v5 12/12] x86/xen: use lazy_mmu_state when context-switching

From: "David Hildenbrand (Red Hat)" <david@kernel.org>
Date: 2025-11-24 14:18:15
Also in: linux-arm-kernel, linux-mm, lkml, sparclinux, xen-devel

On 11/24/25 14:22, Kevin Brodsky wrote:
We currently set a TIF flag when scheduling out a task that is in
lazy MMU mode, in order to restore it when the task is scheduled
again.

The generic lazy_mmu layer now tracks whether a task is in lazy MMU
mode in task_struct::lazy_mmu_state. We can therefore check that
state when switching to the new task, instead of using a separate
TIF flag.

Signed-off-by: Kevin Brodsky <redacted>
---
Nothing jumped at me, hoping for another pair of eyes from the XEN folks

Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>

-- 
Cheers

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help