All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] - Scaling fix for simulatneous unaligned accesses
@ 2006-01-24 22:32 Jack Steiner
  0 siblings, 0 replies; only message in thread
From: Jack Steiner @ 2006-01-24 22:32 UTC (permalink / raw)
  To: linux-ia64

Eliminate a hot shared cacheline that occurs if multiple cpus are
taking unaligned exceptions.

	Signed-off-by: Jack Steiner <steiner@sgi.com>


Index: linux/arch/ia64/kernel/unaligned.c
=================================--- linux.orig/arch/ia64/kernel/unaligned.c	2006-01-23 14:02:18.582928211 -0600
+++ linux/arch/ia64/kernel/unaligned.c	2006-01-24 16:02:26.266232267 -0600
@@ -1283,8 +1283,9 @@ within_logging_rate_limit (void)
 
 	if (jiffies - last_time > 5*HZ)
 		count = 0;
-	if (++count < 5) {
+	if (count < 5) {
 		last_time = jiffies;
+		count++;
 		return 1;
 	}
 	return 0;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-24 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 22:32 [PATCH] - Scaling fix for simulatneous unaligned accesses Jack Steiner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.