From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 5 Nov 2005 22:17:28 -0800 From: Paul Jackson Subject: Re: Does shmem_getpage==>shmem_alloc_page==>alloc_page_vma hold mmap_sem? Message-Id: <20051105221728.3fa25f69.pj@sgi.com> In-Reply-To: References: <20051105212133.714da0d2.pj@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Hugh Dickins Cc: ak@suse.de, akpm@osdl.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: Hugh wrote: > It's safe but horrid. Ok - thanks for the explanation. Now I don't feel so bad about some of my cpuset locking hacks. (Yes, Andrew, I'm still looking at my latest hack, the down_write_trylock() call in cpuset.c refresh_mems.) -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401 -- 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