> From include/linux/prefetch.h:
> 
> "spin_lock_prefetch(x) - prefectches the spinlock *x for taking"
> 
> So this would reduce icache footprint and possibly memory
> traffic on UP where taking a spinlock is a noop.

Ah you want to disable it on UP? 
Ok that makes more sense. Why didn't you just say that? :)

Anyways, even on UP it might be useful on all these mutex or whatever
lock is envogue these days preemptive kernels.

-Andi

Reply via email to