login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
May
»
22
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enable preemption
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Daniel Walker
Subject:
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enable preemption
Date: Tuesday, May 22, 2007 - 4:25 pm
On Tue, 2007-05-22 at 16:01 -0700, Kevin Hilman wrote:
quoted text
> Add a preempt_enable() to flush_tlb_kernel_page() since -rt4 patch > adds a preempt_disable but no preempt_enable(). > > Signed-off-by: Kevin Hilman <khilman@mvista.com> > > > --- > include/asm-arm/tlbflush.h | 1 + > 1 file changed, 1 insertion(+) > > Index: linux-2.6.21/include/asm-arm/tlbflush.h > =================================================================== > --- linux-2.6.21.orig/include/asm-arm/tlbflush.h > +++ linux-2.6.21/include/asm-arm/tlbflush.h > @@ -378,6 +378,7 @@ static inline void local_flush_tlb_kerne > asm("mcr p15, 0, %0, c8, c6, 1" : : "r" (kaddr) : "cc"); > if (tlb_flag(TLB_V6_I_PAGE)) > asm("mcr p15, 0, %0, c8, c5, 1" : : "r" (kaddr) : "cc");
Aren't these mcr operations atomic? Daniel -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH -rt] ARM TLB flush fix: don't forget to re-enable p ...
, Kevin Hilman
, (Tue May 22, 4:01 pm)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Daniel Walker
, (Tue May 22, 4:25 pm)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Kevin Hilman
, (Tue May 22, 4:41 pm)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Daniel Walker
, (Tue May 22, 4:48 pm)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Thomas Gleixner
, (Tue May 22, 8:39 pm)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Russell King
, (Wed May 23, 2:22 am)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Kevin Hilman
, (Wed May 23, 9:13 am)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Russell King
, (Wed May 23, 9:25 am)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Daniel Walker
, (Wed May 23, 9:30 am)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Kevin Hilman
, (Wed May 23, 10:31 am)
Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enab ...
, Kevin Hilman
, (Wed May 23, 5:41 pm)
Navigation
Mailing list archives
Recent posts