projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc64161
)
[IA64] Scaling fix for simultaneous unaligned accesses
author
Jack Steiner
<steiner@sgi.com>
Tue, 24 Jan 2006 22:32:11 +0000
(16:32 -0600)
committer
Tony Luck
<tony.luck@intel.com>
Tue, 24 Jan 2006 22:39:50 +0000
(14:39 -0800)
Eliminate a hot shared cacheline that occurs if multiple cpus are
taking unaligned exceptions.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unaligned.c
patch
|
blob
|
history
diff --git
a/arch/ia64/kernel/unaligned.c
b/arch/ia64/kernel/unaligned.c
index 43b45b65ee5a9da2c446d712b67ba152f1e4fce0..f9e0ae936d1a9e278ea56bb9af1d35ae8159df26 100644
(file)
--- a/
arch/ia64/kernel/unaligned.c
+++ b/
arch/ia64/kernel/unaligned.c
@@
-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;