lkml.org 
[lkml]   [2013]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/14] sched: SCHED_DEADLINE structures & implementation.
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


\
 
 \ /
  Last update: 2013-10-14 23:41    [W:0.167 / U:9.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site