[lkml]   [2003]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][2.5] Protect smp_call_function_data w/ spinlocks on Alpha
On Fri, Feb 14, 2003 at 12:16:12PM -0500, Zwane Mwaikambo wrote:
> Ok the reason being is that the lock not only protects the
> smp_call_function_data pointer but also acts as a lock for that critical
> section. Without it you'll constantly be overwriting the pointer halfway
> through IPI acceptance (or even worse whilst a remote CPU is assigning the
> data members).

Really. Show me the sequence there?

I happen to like the pointer_lock a lot, and think we should
make more use of it on systems known to have cmpxchg. It
saves on the number of cache lines that have to get bounced
between processors.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.048 / U:3.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site