Konstantin Khorenko <[email protected]> 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: [email protected]
> 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 <[email protected]>
> Acked-by: Konstantin Khlebnikov <[email protected]>
>
> ---
>  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--

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to