diff options
author | 2009-12-15 10:08:45 +0100 | |
---|---|---|
committer | 2009-12-15 10:08:45 +0100 | |
commit | 66ae291978177d5c012015f12b8fbc76dc7d0965 (patch) | |
tree | 1351d66beea2b0b2300a7491ca8d9ffb83578e34 /fs/stack.c | |
parent | Fix a CFQ crash in "for-2.6.33" branch of block tree (diff) | |
download | wireguard-linux-66ae291978177d5c012015f12b8fbc76dc7d0965.tar.xz wireguard-linux-66ae291978177d5c012015f12b8fbc76dc7d0965.zip |
cfq: set workload as expired if it doesn't have any slice left
When a group is resumed, if it doesn't have workload slice left,
we should set workload_expires as expired. Otherwise, we might
start from where we left in previous group by error.
Thanks the idea from Corrado.
Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions