Re: Pagecache zeroing: zero_user_segment, zero_user_segments andzero_user

From: Nick Piggin
Date: Wed May 16 2007 - 01:51:27 EST


Andrew Morton wrote:
On Wed, 16 May 2007 14:52:05 +1000 Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

On the other hand non highmem platforms are burdened with always repeating
the same KM_USER0 in every function call. Isnt it enough to know that standard functions use KM_USER0 for their operations?

Couldn't that be filtered out inline?


It is - there is no runtime overhead for non-highmem machines.

The problem nowadays is all the developers who don't need, have, compile
for or test on highmem machines.

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 :)

--
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/