On Wed, Aug 03, 2016 at 12:02:54PM +0200, Peter Zijlstra wrote:
> /*
> * XXX comment on why this is needed goes here...
> */
> static inline void prefetch_curr_exec_start(struct task_struct *p)
> {
> #ifdef CONFIG_FAIR_GROUP_SCHED
> struct sched_entity *curr = (&p->se)->cfs_rq->curr;
#else
struct sched_entity *curr = task_rq(p)->cfs_rq->curr;
#endifWould be the 'right' thing for !cgroup stuffs > > prefetch(curr); > prefetch(&curr->exec_start); > }

