Re: [PATCH] add a clear_pages function to clear pages of higherorder

From: David S. Miller
Date: Thu Mar 24 2005 - 14:13:23 EST


On Thu, 24 Mar 2005 10:41:06 -0800 (PST)
Christoph Lameter <clameter@xxxxxxxxxxxx> wrote:

> So it would be useful to have
>
> clear_page -> Temporal. Only zaps one page
>
> and
>
> clear_pages -> Zaps arbitrary order of page non-temporal
>
>
> Rework the clear_pages patch to do just that? Maybe rename clear_pages
> clear_pages_nt?
>
> prep_zero_page would use a temporal clear for an order 0 page but a
> nontemporal clear for higher order pages.

That sounds about right to me.

Hmmm, I'm inspired to experiment with this on sparc64 a bit.
:-)
-
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/