Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1404154
| From | Davidlohr Bueso <dave@stgolabs.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t |
| Date | 2016-05-20 08:30 +0200 |
| Message-ID | <rAM6B-1Zw-19@gated-at.bofh.it> (permalink) |
| References | <rzBmV-5OI-3@gated-at.bofh.it> <rzBPY-6dy-25@gated-at.bofh.it> <rzLcB-3QQ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 17 May 2016, Peter Zijlstra wrote: >Subject: locking,rwsem: Remove rwsem_atomic_add() and rwsem_atomic_update() >From: Jason Low <jason.low2@hpe.com> >Date: Mon, 16 May 2016 17:38:02 -0700 > >The rwsem-xadd count has been converted to an atomic variable and the >rwsem code now directly uses atomic_long_add() and >atomic_long_add_return(), so we can remove the arch implementations of >rwsem_atomic_add() and rwsem_atomic_update(). > >Cc: Waiman Long <Waiman.Long@hpe.com> >Cc: Heiko Carstens <heiko.carstens@de.ibm.com> >Cc: Jason Low <jason.low2@hp.com> >Cc: Richard Henderson <rth@twiddle.net> >Cc: Ingo Molnar <mingo@redhat.com> >Cc: Fenghua Yu <fenghua.yu@intel.com> >Cc: Andrew Morton <akpm@linux-foundation.org> >Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> >Cc: Linus Torvalds <torvalds@linux-foundation.org> >Cc: Tim Chen <tim.c.chen@linux.intel.com> >Cc: Christoph Lameter <cl@linux.com> >Cc: Thomas Gleixner <tglx@linutronix.de> >Cc: Arnd Bergmann <arnd@arndb.de> >Cc: Terry Rudd <terry.rudd@hpe.com> >Cc: Peter Hurley <peter@hurleysoftware.com> >Cc: Davidlohr Bueso <dave@stgolabs.net> Acked-by: Davidlohr Bueso <dave@stgolabs.net> >Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> >Cc: Tony Luck <tony.luck@intel.com> >Cc: Matt Turner <mattst88@gmail.com> >Signed-off-by: Jason Low <jason.low2@hpe.com> >Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> >--- > arch/alpha/include/asm/rwsem.h | 42 ----------------------------------------- > arch/ia64/include/asm/rwsem.h | 7 ------ > arch/s390/include/asm/rwsem.h | 37 ------------------------------------ > arch/x86/include/asm/rwsem.h | 18 ----------------- > include/asm-generic/rwsem.h | 16 --------------- > 5 files changed, 120 deletions(-) Nice. This, along with Michal's work getting rid of a lot of superfluous implementations, have gotten rid of plenty of rwsem code in arch/* Thanks, Davidlohr
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t Jason Low <jason.low2@hpe.com> - 2016-05-17 02:50 +0200
[RFC][PATCH 6/7] locking,s390: Remove s390 rwsem add and rwsem update Jason Low <jason.low2@hpe.com> - 2016-05-17 02:50 +0200
[RFC][PATCH 7/7] locking,asm-generic: Remove generic rwsem add and rwsem update definitions Jason Low <jason.low2@hpe.com> - 2016-05-17 02:50 +0200
[RFC][PATCH 5/7] locking,ia64: Remove ia64 rwsem add and rwsem update Jason Low <jason.low2@hpe.com> - 2016-05-17 02:50 +0200
[RFC][PATCH 1/7] locking/rwsem: Optimize write lock by reducing operations in slowpath Jason Low <jason.low2@hpe.com> - 2016-05-17 02:50 +0200
[RFC][PATCH 3/7] locking,x86: Remove x86 rwsem add and rwsem update Jason Low <jason.low2@hpe.com> - 2016-05-17 02:50 +0200
[RFC][PATCH 2/7] locking/rwsem: Convert sem->count to atomic_long_t Jason Low <jason.low2@hpe.com> - 2016-05-17 02:50 +0200
Re: [RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t Linus Torvalds <torvalds@linux-foundation.org> - 2016-05-17 03:20 +0200
Re: [RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t Peter Zijlstra <peterz@infradead.org> - 2016-05-17 13:20 +0200
Re: [RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t Jason Low <jason.low2@hpe.com> - 2016-05-17 19:10 +0200
Re: [RFC][PATCH 0/7] locking/rwsem: Convert rwsem count to atomic_long_t Davidlohr Bueso <dave@stgolabs.net> - 2016-05-20 08:30 +0200
csiph-web