lkml.org 
[lkml]   [2017]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] sched/fair: Fix wake_affine() for !NUMA_BALANCING
Date
Quoting Peter Zijlstra (2017-08-01 22:43:07)
> @@ -5356,20 +5295,115 @@ static int wake_wide(struct task_struct
> return 1;
> }
>
> +struct llc_stats {
> + unsigned long nr_running;
> + unsigned long load;
> + unsigned long capacity;
> + int has_capacity;
> +};
> +
> +static void get_llc_stats(struct llc_stats *stats, int cpu)
> +{
> + struct sched_domain_shared *sds = rcu_dereference(per_cpu(sd_llc_shared, cpu));
> +
> + if (!sds) {
> + memset(&stats, 0, sizeof(*stats));
^
Just in case, stray & before stats.
-Chris

\
 
 \ /
  Last update: 2017-08-25 17:47    [W:1.770 / U:1.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site