Re: Calculating kernel logical address ..

From: Manfred Spraul (manfred@colorfullife.com)
Date: Mon Sep 09 2002 - 16:19:25 EST


Andrew Morton wrote:
> Nobody seems to have come forth to implement a thought-out scatter/gather,
> map-user-pages library infrastructure so I'd be a bit reluctant to
> break stuff without offering a replacement.
>

We'd need one.

get_user_pages() is broken if a kernel module access the virtual address
of the page and the cpu caches are not coherent:
Most of the flush functions need the vma pointer, but it's impossible to
guarantee that it still exists when the get_user_pages() user calls
page_cache_release().

--
	Manfred

- 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 : Sun Sep 15 2002 - 22:00:18 EST