Hang with fair cgroup scheduler (reproducer is attached.)

Dmitry Adamushko dmitry.adamushko at gmail.com
Sat Dec 15 16:00:07 PST 2007


Dhaval,

so following the analysis in the previous mail... here is a test
patch. Could you please give it a try?

TIA,

(enclosed non white-space broken version)

---
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7360,7 +7360,7 @@ void sched_move_task(struct task_struct *tsk)

        update_rq_clock(rq);

-       running =3D task_running(rq, tsk);
+       running =3D (rq->curr =3D=3D tsk);
        on_rq =3D tsk->se.on_rq;

        if (on_rq) {
---

-- =

Best regards,
Dmitry Adamushko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-set_task_cfs_rq.patch
Type: text/x-patch
Size: 433 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/containers/attachments/20=
071216/ba2114d4/01-set_task_cfs_rq.bin


More information about the Containers mailing list