Re: [tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-06 Thread Peter Zijlstra
On Thu, Jul 06, 2017 at 09:28:58AM +0200, Ingo Molnar wrote: > It's more straightforward to just do the canonical sem->count >= 0 test that > we do > elsewhere in the rwsem-spinlock code. > > PeterZ, what's your preference? Leave it as is.. it doesn't matter (the 0 case shouldn't happen) and

Re: [tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-06 Thread Peter Zijlstra
On Thu, Jul 06, 2017 at 09:28:58AM +0200, Ingo Molnar wrote: > It's more straightforward to just do the canonical sem->count >= 0 test that > we do > elsewhere in the rwsem-spinlock code. > > PeterZ, what's your preference? Leave it as is.. it doesn't matter (the 0 case shouldn't happen) and

Re: [tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-06 Thread Ingo Molnar
* Niklas Cassel wrote: > On 07/05/2017 04:27 PM, tip-bot for Kirill Tkhai wrote: > > Commit-ID: a0c4acd2c220376b4e9690e75782d0c0afdaab9f > > Gitweb: > > http://git.kernel.org/tip/a0c4acd2c220376b4e9690e75782d0c0afdaab9f > > Author: Kirill Tkhai

Re: [tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-06 Thread Ingo Molnar
* Niklas Cassel wrote: > On 07/05/2017 04:27 PM, tip-bot for Kirill Tkhai wrote: > > Commit-ID: a0c4acd2c220376b4e9690e75782d0c0afdaab9f > > Gitweb: > > http://git.kernel.org/tip/a0c4acd2c220376b4e9690e75782d0c0afdaab9f > > Author: Kirill Tkhai > > AuthorDate: Fri, 16 Jun 2017

Re: [tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-05 Thread Niklas Cassel
On 07/05/2017 04:27 PM, tip-bot for Kirill Tkhai wrote: > Commit-ID: a0c4acd2c220376b4e9690e75782d0c0afdaab9f > Gitweb: http://git.kernel.org/tip/a0c4acd2c220376b4e9690e75782d0c0afdaab9f > Author: Kirill Tkhai > AuthorDate: Fri, 16 Jun 2017 16:44:34 +0300 >

Re: [tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-05 Thread Niklas Cassel
On 07/05/2017 04:27 PM, tip-bot for Kirill Tkhai wrote: > Commit-ID: a0c4acd2c220376b4e9690e75782d0c0afdaab9f > Gitweb: http://git.kernel.org/tip/a0c4acd2c220376b4e9690e75782d0c0afdaab9f > Author: Kirill Tkhai > AuthorDate: Fri, 16 Jun 2017 16:44:34 +0300 > Committer: Ingo Molnar >

[tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-05 Thread tip-bot for Kirill Tkhai
Commit-ID: a0c4acd2c220376b4e9690e75782d0c0afdaab9f Gitweb: http://git.kernel.org/tip/a0c4acd2c220376b4e9690e75782d0c0afdaab9f Author: Kirill Tkhai AuthorDate: Fri, 16 Jun 2017 16:44:34 +0300 Committer: Ingo Molnar CommitDate: Wed, 5 Jul 2017

[tip:locking/urgent] locking/rwsem-spinlock: Fix EINTR branch in __down_write_common()

2017-07-05 Thread tip-bot for Kirill Tkhai
Commit-ID: a0c4acd2c220376b4e9690e75782d0c0afdaab9f Gitweb: http://git.kernel.org/tip/a0c4acd2c220376b4e9690e75782d0c0afdaab9f Author: Kirill Tkhai AuthorDate: Fri, 16 Jun 2017 16:44:34 +0300 Committer: Ingo Molnar CommitDate: Wed, 5 Jul 2017 12:26:29 +0200 locking/rwsem-spinlock: Fix