Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1430705 > unrolled thread

[patch V3 13/22] timer: Reduce the CPU index space to 256k

Started byThomas Gleixner <tglx@linutronix.de>
First post2016-06-24 16:40 +0200
Last post2016-07-01 16:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [patch V3 13/22] timer: Reduce the CPU index space to 256k Thomas Gleixner <tglx@linutronix.de> - 2016-06-24 16:40 +0200
    Re: [patch V3 13/22] timer: Reduce the CPU index space to 256k Frederic Weisbecker <fweisbec@gmail.com> - 2016-07-01 16:50 +0200

#1430705 — [patch V3 13/22] timer: Reduce the CPU index space to 256k

FromThomas Gleixner <tglx@linutronix.de>
Date2016-06-24 16:40 +0200
Subject[patch V3 13/22] timer: Reduce the CPU index space to 256k
Message-ID<rNAr0-NX-13@gated-at.bofh.it>
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>
---
 include/linux/timer.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- a/include/linux/timer.h
+++ b/include/linux/timer.h
@@ -58,12 +58,12 @@ struct timer_list {
  * workqueue locking issues. It's not meant for executing random crap
  * with interrupts disabled. Abuse is monitored!
  */
-#define TIMER_CPUMASK		0x0007FFFF
-#define TIMER_MIGRATING		0x00080000
+#define TIMER_CPUMASK		0x0003FFFF
+#define TIMER_MIGRATING		0x00040000
 #define TIMER_BASEMASK		(TIMER_CPUMASK | TIMER_MIGRATING)
-#define TIMER_DEFERRABLE	0x00100000
-#define TIMER_PINNED		0x00200000
-#define TIMER_IRQSAFE		0x00400000
+#define TIMER_DEFERRABLE	0x00080000
+#define TIMER_PINNED		0x00100000
+#define TIMER_IRQSAFE		0x00200000
 
 #define __TIMER_INITIALIZER(_function, _expires, _data, _flags) { \
 		.entry = { .next = TIMER_ENTRY_STATIC },	\

[toc] | [next] | [standalone]


#1435389

FromFrederic Weisbecker <fweisbec@gmail.com>
Date2016-07-01 16:50 +0200
Message-ID<rQ7Vv-7Qe-11@gated-at.bofh.it>
In reply to#1430705
On Fri, Jun 24, 2016 at 02:32:13PM -0000, Thomas Gleixner wrote:
> 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>

For the easy part (Patches 1 to 13): Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>

Now I'm going to dive in the hard part :-)

Thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web