| Date | Mon, 14 Oct 2013 13:51:38 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 03/14] sched: SCHED_DEADLINE structures & implementation. |
| |
On Mon, Oct 14, 2013 at 12:43:35PM +0200, Juri Lelli wrote: > +static void set_cpus_allowed_dl(struct task_struct *p, > + const struct cpumask *new_mask) > +{ > + int weight = cpumask_weight(new_mask); > + > + BUG_ON(!dl_task(p)); > + > + cpumask_copy(&p->cpus_allowed, new_mask); > + p->dl.nr_cpus_allowed = weight; > +}
This seems identical so the default in do_set_cpus_allowed(); can we leave this function out and use the default?
|