Re: [PATCH v2 0/8] Add rcu_sync infrastructure to avoid _expedited() in percpu-rwsem

2015-08-26 Thread Paul E. McKenney
On Wed, Aug 26, 2015 at 02:52:15PM +0200, Oleg Nesterov wrote: > On 08/26, Oleg Nesterov wrote: > > > > On 08/25, Paul E. McKenney wrote: > > > > > > On Mon, Aug 24, 2015 at 05:34:31PM +0200, Oleg Nesterov wrote: > > > > > > > > I booted the kernel with the additional patch below, and nothing bad h

Re: [PATCH v2 0/8] Add rcu_sync infrastructure to avoid _expedited() in percpu-rwsem

2015-08-26 Thread Oleg Nesterov
On 08/26, Oleg Nesterov wrote: > > On 08/25, Paul E. McKenney wrote: > > > > On Mon, Aug 24, 2015 at 05:34:31PM +0200, Oleg Nesterov wrote: > > > > > > I booted the kernel with the additional patch below, and nothing bad has > > > happened, it continues to print > > > > > > Writes: Total: 2 Max

Re: [PATCH v2 0/8] Add rcu_sync infrastructure to avoid _expedited() in percpu-rwsem

2015-08-26 Thread Oleg Nesterov
On 08/25, Paul E. McKenney wrote: > > On Mon, Aug 24, 2015 at 05:34:31PM +0200, Oleg Nesterov wrote: > > > > I booted the kernel with the additional patch below, and nothing bad has > > happened, it continues to print > > > > Writes: Total: 2 Max/Min: 0/0 Fail: 0 > > Reads : Total: 2

Re: [PATCH v2 0/8] Add rcu_sync infrastructure to avoid _expedited() in percpu-rwsem

2015-08-25 Thread Paul E. McKenney
On Mon, Aug 24, 2015 at 05:34:31PM +0200, Oleg Nesterov wrote: > On 08/22, Paul E. McKenney wrote: > > > > Queued for testing, thank you, Oleg! > > Thanks Paul! I cannot really test it, but thus far it has at least not broken anything else. > > Right now, this is mostly relying on 0day and -next

Re: [PATCH v2 0/8] Add rcu_sync infrastructure to avoid _expedited() in percpu-rwsem

2015-08-24 Thread Oleg Nesterov
On 08/22, Paul E. McKenney wrote: > > Queued for testing, thank you, Oleg! Thanks Paul! > Right now, this is mostly relying on 0day and -next testing. Any thoughts > for a useful torture test for this? Right now I do not have any idea how to write the meaningful test for rcu_sync... Perhaps som

Re: [PATCH v2 0/8] Add rcu_sync infrastructure to avoid _expedited() in percpu-rwsem

2015-08-22 Thread Paul E. McKenney
On Fri, Aug 21, 2015 at 07:42:30PM +0200, Oleg Nesterov wrote: > Hello, > > Now that sb->s_writers was changed to use percpu_rw_semaphore let me > send v2. > > Changes: > > - whitespace fix in 1/8. > > - remove EXPORT_SYMBOL() in 3/8, currently rcu_sync has no > modular user

[PATCH v2 0/8] Add rcu_sync infrastructure to avoid _expedited() in percpu-rwsem

2015-08-21 Thread Oleg Nesterov
Hello, Now that sb->s_writers was changed to use percpu_rw_semaphore let me send v2. Changes: - whitespace fix in 1/8. - remove EXPORT_SYMBOL() in 3/8, currently rcu_sync has no modular users. - 5/8 is new. This ugly hack pairs with another one: "shi