On 10/14/2013 01:51 PM, Peter Zijlstra wrote:
> 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?
> 

Another thing that is changed completely in next patch. Anyway, I removed it
from here too.

Thanks,

- Juri
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to