Skip to content

Commit

Permalink
[IA64] Scaling fix for simultaneous unaligned accesses
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jack Steiner authored and Tony Luck committed Jan 24, 2006
1 parent dc64161 commit 79c83bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/ia64/kernel/unaligned.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 79c83bd

Please sign in to comment.