Re: [PATCH] avoid unnecessary cache flushes

From: David Mosberger (davidm@hpl.hp.com)
Date: Mon Sep 03 2001 - 16:00:39 EST


>>>>> On Mon, 3 Sep 2001 13:41:25 -0700, Richard Henderson <rth@twiddle.net> said:

  Richard> You can get a missed flush from

  Richard> bit == 0 flush cache

  Richard> modify page bit = 0

  Richard> bit = 1

  Richard> unless this is protected from some outer lock of which I am
  Richard> not aware.

  Richard> I do see your point about the early set though.

I didn't think there was any path where the kernel would on its own
update code after the fact, but I could be missing something. Note,
that if it's the user's doing, the user is responsible for ensuring
coherence.

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



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:21 EST