]> git.baikalelectronics.ru Git - kernel.git/commit
percpu-rwsem: use synchronize_sched_expedited
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 28 Nov 2012 03:59:52 +0000 (22:59 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 Nov 2012 15:33:50 +0000 (07:33 -0800)
commit5e817d3be54b00e76ab0e1ccf9faa6cd375aa234
tree1b5c9507f5622fbf1affe4fc4e07ed0b60c3413e
parent5ff4b2d8d4eaa0a5884bdc57ee9720fe6ffa8d4d
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 for Jeff's
test-case.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reported-and-tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/percpu-rwsem.h