summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2016-11-01 17:30:36 -0700
committerOlav Haugan <ohaugan@codeaurora.org>2016-11-07 17:51:25 -0800
commit411a978bce803f17a0aa757b9491969e0ca60b79 (patch)
tree9f013a23982886239eab832de1200a3699fef27c /fs/jbd2/commit.c
parent85d7e134cc5d95dfd3a1a5ee5a1d1435633288cd (diff)
sched: Fix race condition with active balance
There is a race condition between checking for whether an active load balance request has been set and clearing the request. A cpu might have an active load balance request set and queued but not executed yet. Before the load balance request is executed the request flag might be cleared by cpu isolation. Then subsequently the load balancer or tick might try to do another active load balance. This can cause the same active load balance work to be queued twice causing report of list corruption. Fix this by moving the clearing of the request to the stopper thread and ensuring that load balance will not try to queue a request on an already isolated cpu. Change-Id: I5c900d2ee161fa692d66e3e66012398869715662 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions