Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-30 Thread Oleg Nesterov
On 11/29, Andrew Morton wrote: > > On Tue, 27 Nov 2012 22:59:52 -0500 (EST) > Mikulas Patocka wrote: > > > percpu-rwsem: use synchronize_sched_expedited > > > > Use synchronize_sched_expedited() instead of synchronize_sched() > > to improve mount speed. > > > > This patch improves mount time from

Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-30 Thread Paul E. McKenney
On Thu, Nov 29, 2012 at 10:00:53PM -0500, Mikulas Patocka wrote: > On Thu, 29 Nov 2012, Andrew Morton wrote: > > On Tue, 27 Nov 2012 22:59:52 -0500 (EST) > > Mikulas Patocka wrote: > > > > > percpu-rwsem: use synchronize_sched_expedited > > > > > > Use synchronize_sched_expedited() instead of sy

Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-29 Thread Mikulas Patocka
On Thu, 29 Nov 2012, Andrew Morton wrote: > On Tue, 27 Nov 2012 22:59:52 -0500 (EST) > Mikulas Patocka wrote: > > > percpu-rwsem: use synchronize_sched_expedited > > > > Use synchronize_sched_expedited() instead of synchronize_sched() > > to improve mount speed. > > > > This patch improves m

Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-29 Thread Andrew Morton
On Tue, 27 Nov 2012 22:59:52 -0500 (EST) Mikulas Patocka wrote: > percpu-rwsem: use synchronize_sched_expedited > > Use synchronize_sched_expedited() instead of synchronize_sched() > to improve mount speed. > > This patch improves mount time from 0.500s to 0.013s. > > Note: if realtime people

Re: [PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-28 Thread Jeff Chua
On Wed, Nov 28, 2012 at 11:59 AM, Mikulas Patocka wrote: > > > On Tue, 27 Nov 2012, Jeff Chua wrote: > >> On Tue, Nov 27, 2012 at 3:38 PM, Jens Axboe wrote: >> > On 2012-11-27 06:57, Jeff Chua wrote: >> >> On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua >> >> wrote: >> >>> On Sun, Nov 25, 2012 at 5:

[PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-27 Thread Mikulas Patocka
On Tue, 27 Nov 2012, Jeff Chua wrote: > On Tue, Nov 27, 2012 at 3:38 PM, Jens Axboe wrote: > > On 2012-11-27 06:57, Jeff Chua wrote: > >> On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua > >> wrote: > >>> On Sun, Nov 25, 2012 at 5:09 AM, Mikulas Patocka > >>> wrote: > So it's better to slow