aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2013-10-11 17:41:11 +0200
committerFrederic Weisbecker <[email protected]>2013-12-09 16:53:51 +0100
commit3d7a1427e4ce545e949e9bccb75d0ca8d941d93c (patch)
tree6406beef9e8f60f7fb920c9100bdf2d60639289f /fs/jbd/commit.c
parent50875788a1d4a3f662a27ed13cd05282d835939a (diff)
posix-timers: Use sighand lock instead of tasklist_lock on timer deletion
Timer deletion doesn't need the tasklist lock. We need to protect against: * concurrent access to the lists p->cputime_expires and p->sighand->cputime_expires * task reaping that may also delete the timer list entry * timer firing We already hold the timer lock which protects us against concurrent timer firing. The rest only need the targets sighand to be locked. So hold it and drop the use of tasklist_lock there. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Kosaki Motohiro <[email protected]> Cc: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions