RE: [PATCH] Linux VM workaround for Knights Landing A/D leak
From: Anaczkowski, Lukasz
Date: Tue Jun 14 2016 - 12:54:39 EST
From: Nadav Amit [mailto:nadav.amit@xxxxxxxxx]
Sent: Tuesday, June 14, 2016 6:48 PM
> Lukasz Anaczkowski <lukasz.anaczkowski@xxxxxxxxx> wrote:
>> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>> +void fix_pte_leak(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
>> +{
> Here there should be a call to smp_mb__after_atomic() to synchronize with
> switch_mm. I submitted a similar patch, which is still pending (hint).
Thanks, Nadav!
I'll add this and re-submit the patch.
Cheers,
Lukasz