Re: [IA64] Reduce __clear_bit_unlock overhead

From: Christoph Lameter <>
Date: 2007-10-20 03:44:53
On Fri, 19 Oct 2007, Zoltan Menyhart wrote:

> Can you please tell me what is the advantage of ".nta " on the store?
> I far as I can see in the I2 Microarch. Guide, Table 3-2 Processor
> Cache Hints, ".nta " on stores means:
> - L2 NRU bit is not updated
> - No slot is allocated in L3

The advantage is that the cacheline is pushed out faster to real memory 
which may save cacheline eviction if the lock has to be acquired by 
another processor.

> In order to be able to take advantage of an "st.nta", you have to
> use "ld.nta" in __clear_bit_unlock(), and at the bit lock
> acquisition, too.

Hmmm.. Yes this would make the function more complex to read. Maybe its 
not worth having the nta there.
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Sat Oct 20 03:45:07 2007

This archive was generated by hypermail 2.1.8 : 2007-10-20 03:45:22 EST