Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

Arjan van de Ven
2005-08-14T09:41:34Z

On Sun, 2005-08-14 at 18:16 +0900, Hiro Yoshioka wrote:
> Hi,
>
> The following is a patch to reduce a cache pollution
> of __copy_from_user_ll().
>
> When I run simple iozone benchmark to find a performance bottleneck of
> the linux kernel, I found that __copy_from_user_ll() spent CPU cycle
> most and it did many cache misses.

however... you copy something from userspace... aren't you going to USE
it? The non-termoral versions actually throw the data out of the
cache... so while this part might be nice, you pay BIG elsewhere....