Re: [PATCH v3 07/11] sched: Define and initialize a flag to identify valid PASID in the task
From: Thomas Gleixner
Date: Fri Feb 04 2022 - 18:58:39 EST
On Fri, Jan 28 2022 at 12:29, Fenghua Yu wrote:
> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
>
> Add a new single bit field to the task structure to track whether this task
> has initialized the IA32_PASID MSR to the mm's PASID.
>
> Initialize the field to zero when creating a new task with fork/clone.
>
> Signed-off-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Co-developed-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> Signed-off-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>
Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>