Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1407407

Re: [PATCH v2] sched: fix first task of a task group is attached twice

From Yuyang Du <yuyang.du@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] sched: fix first task of a task group is attached twice
Date 2016-05-26 08:40 +0200
Message-ID <rCX7A-2Tw-9@gated-at.bofh.it> (permalink)
References <rCkfT-3Ft-9@gated-at.bofh.it> <rCIBz-2uj-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 25, 2016 at 05:01:11PM +0200, Vincent Guittot wrote:
> The cfs_rq->avg.last_update_time is initialize to 0 with the main effect
> that the 1st sched_entity that will be attached, will keep its
> last_update_time set to 0 and will attached once again during the
> enqueue.
> Initialize cfs_rq->avg.last_update_time to 1 instead.
 
Actually, the first time (attach_task_cfs_rq()) is called even way
before init_entity_runnable_average(), no?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-24 15:10 +0200
  [PATCH v2] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-25 17:10 +0200
    Re: [PATCH v2] sched: fix first task of a task group is attached  twice Yuyang Du <yuyang.du@intel.com> - 2016-05-26 08:40 +0200
      Re: [PATCH v2] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-26 10:30 +0200
        Re: [PATCH v2] sched: fix first task of a task group is attached  twice Yuyang Du <yuyang.du@intel.com> - 2016-05-26 10:40 +0200
          Re: [PATCH v2] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-26 11:00 +0200
    Re: [PATCH v2] sched: fix first task of a task group is attached  twice Dietmar Eggemann <dietmar.eggemann@arm.com> - 2016-05-27 17:50 +0200
      Re: [PATCH v2] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-27 19:20 +0200
        Re: [PATCH v2] sched: fix first task of a task group is attached  twice Dietmar Eggemann <dietmar.eggemann@arm.com> - 2016-05-27 22:40 +0200
          Re: [PATCH v2] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-30 09:10 +0200
            [PATCH v3] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-30 18:00 +0200
              Re: [PATCH v3] sched: fix first task of a task group is attached  twice Yuyang Du <yuyang.du@intel.com> - 2016-05-31 05:50 +0200
                Re: [PATCH v3] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-31 09:30 +0200
                Re: [PATCH v3] sched: fix first task of a task group is attached  twice Yuyang Du <yuyang.du@intel.com> - 2016-05-31 10:50 +0200
          Re: [PATCH v2] sched: fix first task of a task group is attached twice Vincent Guittot <vincent.guittot@linaro.org> - 2016-05-30 18:00 +0200

csiph-web