summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2016-11-27 19:17:28 -0800
committerOlav Haugan <ohaugan@codeaurora.org>2016-11-28 11:00:29 -0800
commite5c095a2c715f7dd1ac71194db5cb5bc2e98ab19 (patch)
tree8339427847034aa97d4f48fd5b4551995c0b66e9 /fs/jbd2/commit.c
parent841264c5051b8cbd44b2e1b12db94f8cbcd0c43a (diff)
sched/core: Do not free task while holding rq lock
Clearing the hmp request can cause a task to be freed. When a task is freed the free call might wake up a kworker which will cause a spinlock lockup (rq lock). Fix this by avoiding calling put_task_struct when holding the rq lock. In addition move call to clear_hmp_request out of stopper thread context since it is not necessary to do this on the cpu being isolated. Change-Id: Ie577db4701a88849560df385869ff7cf73695a05 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions