Re: [patch 00/15] CFS Bandwidth Control V5

From: Xiao Guangrong
Date: Thu Mar 31 2011 - 03:56:47 EST


On 03/23/2011 11:03 AM, Paul Turner wrote:
> Hi all,
>
> Please find attached the latest version of bandwidth control for the normal
> scheduling class. This revision has undergone fairly extensive changes since
> the previous version based largely on the observation that many of the edge
> conditions requiring special casing around update_curr() were a result of
> introducing side-effects into that operation. By introducing an interstitial
> state, where we recognize that the runqueue is over bandwidth, but not marking
> it throttled until we can actually remove it from the CPU we avoid the
> previous possible interactions with throttled entities which eliminates some
> head-scratching corner cases.
>

Hi Paul,

I have wrote some codes to test this patchset. While run attached test case,
the test program is blocked, it seams the children tasks can not be killed,
after one or two hours, the watchdog is expired and triggers box crashed.

Attachment: bwc.tar.bz2
Description: application/bzip