Re: [PATCH] Align VM locks

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Aug 16 2001 - 18:35:52 EST


On Thu, Aug 16, 2001 at 04:27:11PM -0400, Ben LaHaise wrote:
> Here's the patch I sent a few days ago that provides a couple of generic
> kmap_atomic entries for exactly this purpose and uses them for page cache
> access. Not only does it avoid unneeded shootdowns, but it means that
> spurious schedules won't happen under extreme loads.

if you want to take this route you don't need to define KM_USER*, just
rename KM_BOUNCE_WRITE to KM_KERNEL and use it always.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:19 EST