Re: [PATCH] x86: Use clflush() instead of wbinvd() whenever possiblewhen changing mapping

From: Thomas Hellström
Date: Sun Aug 02 2009 - 12:21:58 EST


Pavel Machek skrev:
On Fri 2009-07-24 09:53:01, Thomas Hellstrom wrote:
The current code uses wbinvd() when the area to flush is > 4MB. Although this
may be faster than using clflush() the effect of wbinvd() on irq
latencies

You are slowing the kernel down, and you did not write down the
reasons. bad.

I may slow the kernel down or speed it up depending on your hardware configuration. The reasons should be quite obvious if you read the discussion following the patch.

/Thomas

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