On Wed, Aug 11, 2010 at 12:18:44AM +0200, Tomasz Buchert wrote:OK, I triggered it with that. Interesting. I see what you mean. It still seems like it wouldn't actually fix the race -- just make it harder to trigger. I think you're saying this is what happens without the patch: Time "bug" goes through these states cgroup code checks for these states ----------------------------------------------------------------------------------- | freezing | is_frozen? Nope. | frozen | is_freezing? Nope. | <move> V But, without having carefully investigated the details, this could just as easily happen with your patch: Time "bug" goes through these states cgroup code checks for these states ----------------------------------------------------------------------------------- | is_freezing? Nope. | is_frozen? Nope. | freezing | <move> | frozen V or: Time "bug" goes through these states cgroup code checks for these states ----------------------------------------------------------------------------------- | is_freezing? Nope. | is_frozen? Nope. | freezing | frozen | <move> V Time "bug" goes through these states cgroup code checks for these states ----------------------------------------------------------------------------------- | is_freezing? Nope. | freezing | is_frozen? Nope. | <move> | frozen V or: Time "bug" goes through these states cgroup code checks for these states ----------------------------------------------------------------------------------- | is_freezing? Nope. | freezing | is_frozen? Nope. | frozen | <move> V (even with 1 cpu/core) Your patch only improves things in the sense that it works for the first example. We need to prevent the latter cases as well. Cheers, -Matt --
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set |
