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

From: Arjan van de Ven
Date: Sat Jun 24 2006 - 15:32:29 EST


On Sat, 2006-06-24 at 12:21 -0700, Linus Torvalds wrote:
>
> On Sat, 24 Jun 2006, Arjan van de Ven wrote:
> >
> > while this patch will reduce the number of cycles spent in the kernel,
> > it's just pushing the cache miss to userspace (by virtue of doing a
> > cache flush effectively)... is this really the right thing? The total
> > memory bandwidth will actually increase with this patch if you're
> > unlucky (eg if userspace decides to write to this memory eventually)....
>
> No. It's for copying _from_ user space, ie a "write()" system call.

eh DOH

never mind



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