Re: [RFC][PATCH 2/6] mm: stack based kmap_atomic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-08-24 at 16:35 +0900, KAMEZAWA Hiroyuki wrote:
> On Tue, 24 Aug 2010 16:24:27 +0900
> KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> 
> > And Is it documented that kmap_atomic shouln't be used under NMI or something
> > special interrupts ?
> > 
> Sorry, I missed something..Maybe not trouble.

In particular, we actually do use kmap_atomic from NMI context ;-)

It only relies on preempt_disable(), which for now is implied by
pagefault_disable(), if at some point those get split kmap_atomic will
need to do both (currently only PREEMPT_RT splits it, but then that has
a totally different kmap implementation too).

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]