From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933423AbbFVMYj (ORCPT ); Mon, 22 Jun 2015 08:24:39 -0400 Received: from casper.infradead.org ([85.118.1.10]:48206 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754364AbbFVMYb (ORCPT ); Mon, 22 Jun 2015 08:24:31 -0400 Message-Id: <20150622122256.266988227@infradead.org> User-Agent: quilt/0.61-1 Date: Mon, 22 Jun 2015 14:16:30 +0200 From: Peter Zijlstra To: oleg@redhat.com, paulmck@linux.vnet.ibm.com Cc: tj@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, der.herr@hofr.at, peterz@infradead.org, dave@stgolabs.net, riel@redhat.com, viro@ZenIV.linux.org.uk, torvalds@linux-foundation.org Subject: [RFC][PATCH 07/13] sched: Reorder task_struct References: <20150622121623.291363374@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline; filename=peterz-sched-reorder.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fill some 4 byte holes by slightly re-ordering some variables. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/sched.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1363,17 +1363,16 @@ struct task_struct { atomic_t usage; unsigned int flags; /* per process flags, defined below */ unsigned int ptrace; + int on_rq; #ifdef CONFIG_SMP struct llist_node wake_entry; int on_cpu; + int wake_cpu; struct task_struct *last_wakee; unsigned long wakee_flips; unsigned long wakee_flip_decay_ts; - - int wake_cpu; #endif - int on_rq; int prio, static_prio, normal_prio; unsigned int rt_priority; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/