[Devel] vziolimits: lost patch?
Dmitry Monakhov
dmonakhov at openvz.org
Wed May 6 06:25:02 PDT 2015
Konstantin Khorenko <khorenko at odin.com> writes:
> Dima, please take a look:
>
> there was 1 more vziolimit patch (attached),
> is it lost or not needed now?
Patch is correct, but it belongs to thorottle patch set.
>
> Thank you.
>
> --
> Best regards,
>
> Konstantin Khorenko,
> Virtuozzo Linux Kernel Team
> Author: Vladimir Davydov
> Email: vdavydov at parallels.com
> Subject: sched: do not account iothrottled tasks in loadavg
> Date: Mon, 22 Oct 2012 14:27:25 +0400
>
>
> Changes from v1:
> * do not account tasks throttled while doing reclaim too
>
> Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
> Acked-by: Konstantin Khlebnikov <khlebnikov at openvz.org>
>
> ---
> kernel/ve/vziolimit.c | 3 ++-
>
>
> diff --git a/kernel/ve/vziolimit.c b/kernel/ve/vziolimit.c
> index 5df5846..69797a9 100644
> --- a/kernel/ve/vziolimit.c
> +++ b/kernel/ve/vziolimit.c
> @@ -116,7 +116,8 @@ static void iolimit_wait(struct iolimit *iolimit, unsigned long timeout)
> DEFINE_WAIT(wait);
>
> do {
> - prepare_to_wait(&iolimit->wq, &wait, TASK_KILLABLE);
> + prepare_to_wait(&iolimit->wq, &wait,
> + TASK_KILLABLE | TASK_IOTHROTTLED);
> timeout = schedule_timeout(timeout);
> if (fatal_signal_pending(current))
> break;
>
> --------------1.7.1--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20150506/ab71d49d/attachment-0001.sig>
More information about the Devel
mailing list