[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707302205.15790.elmig@debianpt.org>
Date: Mon, 30 Jul 2007 22:05:15 +0100
From: Miguel Figueiredo <elmig@...ianpt.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: ck@....kolivas.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [ck] Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)
Em Segunda, 30 de Julho de 2007 19:38, Ingo Molnar escreveu:
> * Miguel Figueiredo <elmig@...ianpt.org> wrote:
> > in mainline (2.6.22):
> > /**
> > * sys_sched_yield - yield the current processor to other threads.
> > *
> > * This function yields the current CPU by moving the calling thread
> > * to the expired array. If there are no other threads running on this
> > * CPU then this function will return.
> > */
> >
[...]
> this is what CFS does:
>
> static void yield_task_fair(struct rq *rq, struct task_struct *p)
> {
> struct cfs_rq *cfs_rq = task_cfs_rq(p);
> u64 now = __rq_clock(rq);
>
> /*
> * Dequeue and enqueue the task to update its
> * position within the tree:
> */
> dequeue_entity(cfs_rq, &p->se, 0, now);
> enqueue_entity(cfs_rq, &p->se, 0, now);
> }
>
> Ingo
So the difference from mainline (2.6.22) is that now you removed
requeue_task(), is that it?
--
Com os melhores cumprimentos/Best regards,
Miguel Figueiredo
http://www.DebianPT.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists