From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY From: Peter Zijlstra In-Reply-To: <492E90BC.1090208@gmail.com> References: <604427e00811212247k1fe6b63u9efe8cfe37bddfb5@mail.gmail.com> <20081123091843.GK30453@elte.hu> <604427e00811251042t1eebded6k9916212b7c0c2ea0@mail.gmail.com> <20081126123246.GB23649@wotan.suse.de> <492DAA24.8040100@google.com> <20081127085554.GD28285@wotan.suse.de> <492E6849.6090205@google.com> <492E8708.4060601@gmail.com> <20081127120330.GM28285@wotan.suse.de> <492E90BC.1090208@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 27 Nov 2008 13:32:36 +0100 Message-Id: <1227789156.4454.1519.camel@twins> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org Return-Path: To: =?ISO-8859-1?Q?T=F6r=F6k?= Edwin Cc: Nick Piggin , Mike Waychison , Ying Han , Ingo Molnar , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm , David Rientjes , Rohit Seth , Hugh Dickins , "H. Peter Anvin" List-ID: On Thu, 2008-11-27 at 14:21 +0200, TA?rA?k Edwin wrote: > How about distributing tasks to a set of worked threads, is the > overhead of using IPC instead of mutexes/cond variables acceptable? Inter process pthread mutexes should be very fast in the latest kernels as they'll avoid the mmap_sem by use of get_user_pages_fast(). Not sure if pthread condition variables also work inter-process. -- 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