[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170419073435.3zlkg33rfskuxty2@hirez.programming.kicks-ass.net>
Date: Wed, 19 Apr 2017 09:34:35 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
John Stultz <john.stultz@...aro.org>,
Eric Dumazet <edumazet@...gle.com>,
Anna-Maria Gleixner <anna-maria@...utronix.de>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
linux-pm@...r.kernel.org, Arjan van de Ven <arjan@...radead.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Rik van Riel <riel@...hat.com>
Subject: Re: [patch V2 08/10] timer: Implement the hierarchical pull model
On Tue, Apr 18, 2017 at 01:11:10PM +0200, Thomas Gleixner wrote:
> +struct tmigr_group {
> + raw_spinlock_t lock;
> + unsigned int active;
> + unsigned int migrator;
> + struct timerqueue_head events;
> + struct tmigr_event groupevt;
> + struct tmigr_group *parent;
> + cpumask_var_t cpus;
> + struct list_head list;
> + unsigned int level;
> + unsigned int numa_node;
> + unsigned int num_childs;
> +};
If you place the cpumask at the end, as a 0 sized array, you can avoid a
second allocation.
Powered by blists - more mailing lists