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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 9 Jun 2011 09:18:54 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Robert Richter <robert.richter@....com>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	LKML <linux-kernel@...r.kernel.org>,
	oprofile-list <oprofile-list@...ts.sourceforge.net>,
	Suravee Suthikulpanit <suravee.suthikulpanit@....com>,
	stable@...nel.org
Subject: Re: [PATCH] oprofile, x86: Fix race in nmi handler while starting


* Robert Richter <robert.richter@....com> wrote:

> In some rare cases, nmis are generated immediately after the nmi 
> handler of the cpu was started. This causes the counter not to be 
> enabled. Before enabling the nmi handlers we need to set variable 
> ctr_running first and make sure its value is written to memory.
> 
> Also, the patch makes all existing barriers a memory barrier 
> instead of a compiler barrier only.

Could we *PLEASE* just do the obvious and turn oprofile into a perf 
user on x86 too, like ARM already does? Two years down the line and 
there's zero progress in that area. We want to obsolete the Oprofile 
PMU bits on x86, the infrastructure duplication causes non-trivial 
problems like this one.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ