Thread (10 messages) 10 messages, 5 authors, 2015-08-01

Re: [tip:x86/mm] x86/mm/mtrr: Clean up mtrr_type_lookup()

From: Borislav Petkov <bp@alien8.de>
Date: 2015-07-31 14:45:20
Also in: lkml

On Fri, Jul 31, 2015 at 03:18:02PM +0200, Peter Zijlstra wrote:
Using these functions with preemption enabled is racy against MTRR
updates. And if that race is ok, at the very least explain that it is
indeed racy and why this is not a problem.
Right, so Luis has been working on burying direct MTRR access so
after that work is done, we'll be using only PAT for changing memory
attributes. Look at arch_phys_wc_add() and all those fbdev users of
mtrr_add() which get converted to that thing...

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help