locking, task_struct: Reduce size on TRACE_IRQFLAGS and 64bit
Reorder task_struct field for TRACE_IRQFLAGS to remove padding on 64-bit. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <4B135F50.8070302@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
a49ed0bf42
commit
fa1452e808
@@ -1421,17 +1421,17 @@ struct task_struct {
|
|||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_TRACE_IRQFLAGS
|
#ifdef CONFIG_TRACE_IRQFLAGS
|
||||||
unsigned int irq_events;
|
unsigned int irq_events;
|
||||||
int hardirqs_enabled;
|
|
||||||
unsigned long hardirq_enable_ip;
|
unsigned long hardirq_enable_ip;
|
||||||
unsigned int hardirq_enable_event;
|
|
||||||
unsigned long hardirq_disable_ip;
|
unsigned long hardirq_disable_ip;
|
||||||
|
unsigned int hardirq_enable_event;
|
||||||
unsigned int hardirq_disable_event;
|
unsigned int hardirq_disable_event;
|
||||||
int softirqs_enabled;
|
int hardirqs_enabled;
|
||||||
unsigned long softirq_disable_ip;
|
|
||||||
unsigned int softirq_disable_event;
|
|
||||||
unsigned long softirq_enable_ip;
|
|
||||||
unsigned int softirq_enable_event;
|
|
||||||
int hardirq_context;
|
int hardirq_context;
|
||||||
|
unsigned long softirq_disable_ip;
|
||||||
|
unsigned long softirq_enable_ip;
|
||||||
|
unsigned int softirq_disable_event;
|
||||||
|
unsigned int softirq_enable_event;
|
||||||
|
int softirqs_enabled;
|
||||||
int softirq_context;
|
int softirq_context;
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_LOCKDEP
|
#ifdef CONFIG_LOCKDEP
|
||||||
|
Reference in New Issue
Block a user