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 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?


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