From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx156.postini.com [74.125.245.156]) by kanga.kvack.org (Postfix) with SMTP id 94A346B005D for ; Tue, 21 Aug 2012 08:35:15 -0400 (EDT) Date: Tue, 21 Aug 2012 13:34:51 +0100 From: Russell King - ARM Linux Subject: Re: [PATCHv6 2/2] ARM: dma-mapping: remove custom consistent dma region Message-ID: <20120821123451.GV18957@n2100.arm.linux.org.uk> References: <1343636899-19508-1-git-send-email-m.szyprowski@samsung.com> <1343636899-19508-3-git-send-email-m.szyprowski@samsung.com> <20120821142235.97984abc9ad98d01015a3338@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120821142235.97984abc9ad98d01015a3338@nvidia.com> Sender: owner-linux-mm@kvack.org List-ID: To: Hiroshi Doyu Cc: Marek Szyprowski , "linux-arm-kernel@lists.infradead.org" , "linaro-mm-sig@lists.linaro.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Kyungmin Park , Arnd Bergmann , Chunsang Jeong , Krishna Reddy , Konrad Rzeszutek Wilk , Subash Patel , Minchan Kim On Tue, Aug 21, 2012 at 02:22:35PM +0300, Hiroshi Doyu wrote: > The following "__get_vm_area_node()" can take gfp_mask, it means that > this function is expected to be called from atomic context, but why > it's _NOT_ allowed _ONLY_ from interrupt context? One reason is it takes read/write locks without using the IRQ safe versions for starters (vmap_area_lock and vmlist_lock). I don't see any other reasons in that bit of code though. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org