[PATCH v5 12/12] x86/xen: use lazy_mmu_state when context-switching
Jürgen Groß
jgross at suse.com
Wed Nov 26 00:39:56 AEDT 2025
On 24.11.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 <kevin.brodsky at arm.com>
Reviewed-by: Juergen Gross <jgross at suse.com>
Juergen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB0DE9DD628BF132F.asc
Type: application/pgp-keys
Size: 3683 bytes
Desc: OpenPGP public key
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20251125/9fb740ae/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20251125/9fb740ae/attachment.sig>
More information about the Linuxppc-dev
mailing list