Re: Locking comment on shrink_caches()

David S. Miller (davem@redhat.com)
Thu, 27 Sep 2001 12:41:34 -0700 (PDT)


From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Thu, 27 Sep 2001 13:10:49 +0100 (BST)

See prefetching - the CPU prefetching will hide some of the effect and
the spin_lock_prefetch() macro does wonders for the rest.

Well, if prefetching can do it faster than avoiding the transaction
altogether, I'm game :-)

Franks a lot,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/