lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e25bd94d-b219-414a-ba65-f2003df32597@intel.com>
Date: Fri, 8 Nov 2024 12:46:14 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Rik van Riel <riel@...riel.com>, Dave Hansen <dave.hansen@...ux.intel.com>
Cc: Andy Lutomirski <luto@...nel.org>, Peter Zijlstra <peterz@...radead.org>,
 Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
 Borislav Petkov <bp@...en8.de>, x86@...nel.org,
 "H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
 kernel-team@...a.com
Subject: Re: [PATCH] x86,tlb: update mm_cpumask lazily

On 11/8/24 11:31, Rik van Riel wrote:
>  		/* Can only happen on remote CPUs */
> -		if (f->mm && f->mm != loaded_mm)
> +		if (f->mm && f->mm != loaded_mm) {
> +			cpumask_clear_cpu(raw_smp_processor_id(), mm_cpumask(f->mm));
>  			return;
> +		}

We could also stick a new flush event type in here that says it received
an IPI for a non-loaded mm to see how common those are.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ