Re: [git pull] SLUB updates for 2.6.25

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: <willy@...>, Andrew Morton <akpm@...>, <torvalds@...>, <linux-kernel@...>, <linux-mm@...>
Date: Monday, February 4, 2008 - 8:42 pm

On Tuesday 05 February 2008 11:32, Christoph Lameter wrote:

This operation is not totally unusual. I could use it for my optimised
page lock patches for example (although I need an operation that clears
a flag and has release semantics, but similar class of "thing").



And this is a store-for-unlock (eg. with release semantics).
Nothing too special about that either I guess. (it is almost the word
equivalent of clear_bit_unlock).



The load you are trying to avoid in the lock really isn't that
expensive. The cacheline is in L1. Even after a store, many CPUs
have store forwarding so it is probably not going to matter at all
on those.

Anyway, not saying the operations are useless, but they should be
made available to core kernel and implemented per-arch. (if they are
found to be useful)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git pull] SLUB updates for 2.6.25, Christoph Lameter, (Mon Feb 4, 4:08 pm)
Re: [git pull] SLUB updates for 2.6.25, Andrew Morton, (Mon Feb 4, 6:28 pm)
Re: [git pull] SLUB updates for 2.6.25, Andrew Morton, (Mon Feb 4, 6:30 pm)
Re: [git pull] SLUB updates for 2.6.25, Nick Piggin, (Mon Feb 4, 7:10 pm)
Re: [git pull] SLUB updates for 2.6.25, Christoph Lameter, (Mon Feb 4, 7:47 pm)
Re: [git pull] SLUB updates for 2.6.25, Nick Piggin, (Mon Feb 4, 8:05 pm)
Re: [git pull] SLUB updates for 2.6.25, Christoph Lameter, (Mon Feb 4, 8:32 pm)
Re: [git pull] SLUB updates for 2.6.25, Nick Piggin, (Mon Feb 4, 8:42 pm)
Re: [git pull] SLUB updates for 2.6.25, Christoph Lameter, (Mon Feb 4, 9:15 pm)
Re: [git pull] SLUB updates for 2.6.25, Christoph Lameter, (Mon Feb 4, 8:22 pm)
Re: [git pull] SLUB updates for 2.6.25, Christoph Lameter, (Mon Feb 4, 7:04 pm)