Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY

From: Peter Zijlstra
Date: Thu Nov 27 2008 - 07:33:01 EST


On Thu, 2008-11-27 at 14:21 +0200, TÃrÃ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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/