Re: perf_disable()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Robert Richter
Date: Friday, June 11, 2010 - 9:52 am

On 11.06.10 12:29:44, Peter Zijlstra wrote:

Yes, it was originally used to disable nmis for some critical sections
in the non-arch code. I do not remember where this was exactly needed,
but my feeling is also this can be optimized and maybe reimplemented
as non-locking code.

We also should avoid the enable_all/disable_all() functions in the x86
implementation as it is expensive on some pmus (namely AMD). It looks
like these functions can be removed then too, or at least made model
specific only.

-Robert

-- 
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@amd.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
perf_disable(), Peter Zijlstra, (Fri Jun 11, 9:29 am)
Re: perf_disable(), Robert Richter, (Fri Jun 11, 9:52 am)
Re: perf_disable(), Frederic Weisbecker, (Fri Jun 11, 10:17 am)
Re: perf_disable(), Peter Zijlstra, (Fri Jun 11, 1:29 pm)
Re: perf_disable(), Frederic Weisbecker, (Fri Jun 11, 2:01 pm)
Re: perf_disable(), Frederic Weisbecker, (Fri Jun 11, 2:04 pm)
Re: perf_disable(), Peter Zijlstra, (Fri Jun 11, 2:25 pm)
Re: perf_disable(), Will Deacon, (Mon Jun 14, 2:23 am)