diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2016-07-04 05:50:29 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2016-07-07 04:35:08 -0400 |
| commit | b0d6e2dcb284f1f4dcb4b92760f49eeaf5fc0bc7 (patch) | |
| tree | 3e235577a8f9e4b20b7d04ac6c2766702768db10 /include/linux/timer.h | |
| parent | 494af3ed7848de08640d98ee5aff57a45c137c3c (diff) | |
timers: Reduce the CPU index space to 256k
We want to store the array index in the flags space. 256k CPUs should be
enough for a while.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Chris Mason <clm@fb.com>
Cc: George Spelvin <linux@sciencehorizons.net>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160704094342.030144293@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/timer.h')
| -rw-r--r-- | include/linux/timer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h index a8f6c70eb414..989f33d16ebf 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h | |||
| @@ -58,12 +58,12 @@ struct timer_list { | |||
| 58 | * workqueue locking issues. It's not meant for executing random crap | 58 | * workqueue locking issues. It's not meant for executing random crap |
| 59 | * with interrupts disabled. Abuse is monitored! | 59 | * with interrupts disabled. Abuse is monitored! |
| 60 | */ | 60 | */ |
| 61 | #define TIMER_CPUMASK 0x0007FFFF | 61 | #define TIMER_CPUMASK 0x0003FFFF |
| 62 | #define TIMER_MIGRATING 0x00080000 | 62 | #define TIMER_MIGRATING 0x00040000 |
| 63 | #define TIMER_BASEMASK (TIMER_CPUMASK | TIMER_MIGRATING) | 63 | #define TIMER_BASEMASK (TIMER_CPUMASK | TIMER_MIGRATING) |
| 64 | #define TIMER_DEFERRABLE 0x00100000 | 64 | #define TIMER_DEFERRABLE 0x00080000 |
| 65 | #define TIMER_PINNED 0x00200000 | 65 | #define TIMER_PINNED 0x00100000 |
| 66 | #define TIMER_IRQSAFE 0x00400000 | 66 | #define TIMER_IRQSAFE 0x00200000 |
| 67 | 67 | ||
| 68 | #define __TIMER_INITIALIZER(_function, _expires, _data, _flags) { \ | 68 | #define __TIMER_INITIALIZER(_function, _expires, _data, _flags) { \ |
| 69 | .entry = { .next = TIMER_ENTRY_STATIC }, \ | 69 | .entry = { .next = TIMER_ENTRY_STATIC }, \ |
