Could you reinstate ticketlock cleanups in tip.git
A message that is not in the archive (sent off-list or not yet received): alpine.LFD.2.02.1109280209430.2711@ionos
Quoted 11 lines · Thomas Gleixner
Hi Thomas,
Could you reinstate the ticketlock cleanup series in tip.git (I think it was in x86/spinlocks) from
git://github.com/jsgf/linux-xen.gitupstream/ticketlock-cleanupThis branch is the final result of all the discussions and revisions and is ready for the next merge window. It's the one that's been in linux-next for a couple of weeks (at least), and won't cause any conflicts there.
Quoted 4 lines
Or if you prefer I can submit it myself for next merge window.
Thanks,
J
I'd prefer if this went via x86/spinlocks. Could you please send a proper pull request with diffstat, shortlog, etc?
Thanks,
Ingo
Quoted 13 lines · Ingo Molnar
Quoted 11 lines · Thomas Gleixner
Hi Thomas,
Could you reinstate the ticketlock cleanup series in tip.git (I think it was in x86/spinlocks) from
git://github.com/jsgf/linux-xen.gitupstream/ticketlock-cleanupThis branch is the final result of all the discussions and revisions and is ready for the next merge window. It's the one that's been in linux-next for a couple of weeks (at least), and won't cause any conflicts there.
Quoted 7 lines
Quoted 4 lines
Or if you prefer I can submit it myself for next merge window.
Thanks,
JI'd prefer if this went via x86/spinlocks. Could you please send a proper pull request with diffstat, shortlog, etc?
Sure, here you are:
The following changes since commit c6a389f123b9f68d605bb7e0f9b32ec1e3e14132:
Linux 3.1-rc4 (2011-08-28 21:16:01 -0700)
are available in the git repository at:
git://github.com/jsgf/linux-xen upstream/ticketlock-cleanup
(commit 4a7f340c6a75ec5fca23d9c80a59f3f28cc4a61e)
Jeremy Fitzhardinge (12):
x86, cmpxchg: <linux/alternative.h> has LOCK_PREFIX
x86, cmpxchg: Move 32-bit __cmpxchg_wrong_size to match 64 bit. x86, cmpxchg: Move 64-bit set64_bit() to match 32-bit
x86, cmpxchg: Unify cmpxchg into cmpxchg.h
x86: Add xadd helper macro
x86: Use xadd helper more widely
x86, ticketlock: Clean up types and accessors
x86, ticketlock: Convert spin loop to C
x86, ticketlock: Convert __ticket_spin_lock to use xadd() x86, ticketlock: Make __ticket_spin_trylock common
x86, cmpxchg: Use __compiletime_error() to make usage messages a bit nicer x86, ticketlock: remove obsolete comment
arch/x86/include/asm/atomic.h | 8 +- arch/x86/include/asm/atomic64_64.h | 6 +- arch/x86/include/asm/cmpxchg.h | 205 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/cmpxchg_32.h | 114 ------------------ arch/x86/include/asm/cmpxchg_64.h | 131 --------------------- arch/x86/include/asm/rwsem.h | 8 +- arch/x86/include/asm/spinlock.h | 114 +++++-------------- arch/x86/include/asm/spinlock_types.h | 22 +++- arch/x86/include/asm/uv/uv_bau.h | 6 +- 9 files changed, 257 insertions(+), 357 deletions(-)
Thanks,
J
Quoted 46 lines · Jeremy Fitzhardinge
Quoted 13 lines · Ingo Molnar
Quoted 11 lines · Thomas Gleixner
Hi Thomas,
Could you reinstate the ticketlock cleanup series in tip.git (I think it was in x86/spinlocks) from
git://github.com/jsgf/linux-xen.gitupstream/ticketlock-cleanupThis branch is the final result of all the discussions and revisions and is ready for the next merge window. It's the one that's been in linux-next for a couple of weeks (at least), and won't cause any conflicts there.
Quoted 7 lines
Quoted 4 lines
Or if you prefer I can submit it myself for next merge window.
Thanks,
JI'd prefer if this went via x86/spinlocks. Could you please send a proper pull request with diffstat, shortlog, etc?
Sure, here you are:
The following changes since commit
c6a389f123b9f68d605bb7e0f9b32ec1e3e14132:Linux 3.1-rc4 (2011-08-28 21:16:01 -0700)
are available in the git repository at:
git://github.com/jsgf/linux-xenupstream/ticketlock-cleanup
(commit4a7f340c6a75ec5fca23d9c80a59f3f28cc4a61e)Jeremy Fitzhardinge (12):
x86, cmpxchg: <linux/alternative.h> hasLOCK_PREFIX
x86, cmpxchg: Move 32-bit__cmpxchg_wrong_sizeto match 64 bit. x86, cmpxchg: Move 64-bitset64_bit()to match 32-bit
x86, cmpxchg: Unify cmpxchg intocmpxchg.h
x86: Add xadd helper macro
x86: Use xadd helper more widely
x86, ticketlock: Clean up types and accessors
x86, ticketlock: Convert spin loop to C
x86, ticketlock: Convert__ticket_spin_lockto usexadd()x86, ticketlock: Make__ticket_spin_trylockcommon
x86, cmpxchg: Use__compiletime_error()to make usage messages a bit nicer x86, ticketlock: remove obsolete comment
Quoted 10 lines
arch/x86/include/asm/atomic.h | 8 +- arch/x86/include/asm/atomic64_64.h | 6 +- arch/x86/include/asm/cmpxchg.h | 205 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/cmpxchg_32.h | 114 ------------------ arch/x86/include/asm/cmpxchg_64.h | 131 --------------------- arch/x86/include/asm/rwsem.h | 8 +- arch/x86/include/asm/spinlock.h | 114 +++++-------------- arch/x86/include/asm/spinlock_types.h | 22 +++- arch/x86/include/asm/uv/uv_bau.h | 6 +- 9 files changed, 257 insertions(+), 357 deletions(-)
Pulled, thanks Jeremy!
Ingo