Re: Pagecache zeroing: zero_user_segment, zero_user_segments andzero_user

From: Nick Piggin
Date: Wed May 16 2007 - 02:20:06 EST


Christoph Lameter wrote:
On Wed, 16 May 2007, Nick Piggin wrote:


Well sure, if that's all Christoph is worried about, then it isn't
really valid because in generic code we have to follow the architecture
abstraction API -- there is no "non highmem platform" in generic code :)


But there is a default KM_USER0 that is used in many functions.

F.e.

filemap_copy_from_user *_iovec xip_truncate_page clear_user_highpage clear_highpage copy_user_highpage copy_highpage

So explicitly mentioning KM_USER0 in every function call is not a requirement.

You probably have an argument there... but that's not to do with
highmem platforms or not.

--
SUSE Labs, Novell Inc.
-
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/