[tip:timers/core] itimers: Prepare for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: c7e6d704a0097e59667495cf52dcc4e1085e620b Gitweb: https://git.kernel.org/tip/c7e6d704a0097e59667495cf52dcc4e1085e620b Author: Anna-Maria Gleixner AuthorDate: Wed, 31 Jul 2019 00:33:51 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 20:51:24 +0200 itimers

[tip:timers/core] timerfd: Prepare for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: a125ecc16453a4fe0ba865c7df87b9c722991fdf Gitweb: https://git.kernel.org/tip/a125ecc16453a4fe0ba865c7df87b9c722991fdf Author: Anna-Maria Gleixner AuthorDate: Wed, 31 Jul 2019 00:33:50 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 20:51:23 +0200 timerfd

[tip:timers/core] alarmtimer: Prepare for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 51ae33092bb8320497ec75ddc5ab383d8fafd55c Gitweb: https://git.kernel.org/tip/51ae33092bb8320497ec75ddc5ab383d8fafd55c Author: Anna-Maria Gleixner AuthorDate: Wed, 31 Jul 2019 00:33:49 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 20:51:23 +0200 alarmtimer

[tip:timers/core] timers: Prepare support for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 030dcdd197d77374879bb5603d091eee7d8aba80 Gitweb: https://git.kernel.org/tip/030dcdd197d77374879bb5603d091eee7d8aba80 Author: Anna-Maria Gleixner AuthorDate: Fri, 26 Jul 2019 20:31:00 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 20:51:22 +0200 timers: Prepare

[tip:timers/core] hrtimer: Prepare support for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: f61eff83cec9cfab31fd30a2ca8856be379cdcd5 Gitweb: https://git.kernel.org/tip/f61eff83cec9cfab31fd30a2ca8856be379cdcd5 Author: Anna-Maria Gleixner AuthorDate: Fri, 26 Jul 2019 20:30:59 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 20:51:22 +0200 hrtimer

[tip:timers/core] posix-timers: Cleanup the flag/flags confusion

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: b0ccc6eb0d7e0b7d346b118ccc8b38bf18e39b7f Gitweb: https://git.kernel.org/tip/b0ccc6eb0d7e0b7d346b118ccc8b38bf18e39b7f Author: Anna-Maria Gleixner AuthorDate: Wed, 31 Jul 2019 00:33:52 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 17:46:42 +0200 posix-timers

[tip:timers/core] itimers: Prepare for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: cab46ec655eec1b5dbb0c17a25e19f67c539f00b Gitweb: https://git.kernel.org/tip/cab46ec655eec1b5dbb0c17a25e19f67c539f00b Author: Anna-Maria Gleixner AuthorDate: Wed, 31 Jul 2019 00:33:51 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 17:46:41 +0200 itimers

[tip:timers/core] timerfd: Prepare for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 4da1306fb920a267b5ea21ee15cd771c7bc09cc6 Gitweb: https://git.kernel.org/tip/4da1306fb920a267b5ea21ee15cd771c7bc09cc6 Author: Anna-Maria Gleixner AuthorDate: Wed, 31 Jul 2019 00:33:50 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 17:46:41 +0200 timerfd

[tip:timers/core] alarmtimer: Prepare for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 1f8e8bd8b74c8089a43bc5f1f24e4bf0f855d760 Gitweb: https://git.kernel.org/tip/1f8e8bd8b74c8089a43bc5f1f24e4bf0f855d760 Author: Anna-Maria Gleixner AuthorDate: Wed, 31 Jul 2019 00:33:49 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 17:46:41 +0200 alarmtimer

[tip:timers/core] timers: Prepare support for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 1c2df8ac9292ea1fe6c958c198bf6bc5c768acf5 Gitweb: https://git.kernel.org/tip/1c2df8ac9292ea1fe6c958c198bf6bc5c768acf5 Author: Anna-Maria Gleixner AuthorDate: Fri, 26 Jul 2019 20:31:00 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 17:43:20 +0200 timers: Prepare

[tip:timers/core] hrtimer: Prepare support for PREEMPT_RT

2019-08-01 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 37226a1807c5f41537190462362e3e2739e22f13 Gitweb: https://git.kernel.org/tip/37226a1807c5f41537190462362e3e2739e22f13 Author: Anna-Maria Gleixner AuthorDate: Fri, 26 Jul 2019 20:30:59 +0200 Committer: Thomas Gleixner CommitDate: Thu, 1 Aug 2019 17:43:19 +0200 hrtimer

[tip:timers/core] timers: Prepare support for PREEMPT_RT

2019-07-30 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 51503dcd6118d627a0c1b5829191d4fa6f16 Gitweb: https://git.kernel.org/tip/51503dcd6118d627a0c1b5829191d4fa6f16 Author: Anna-Maria Gleixner AuthorDate: Fri, 26 Jul 2019 20:31:00 +0200 Committer: Thomas Gleixner CommitDate: Tue, 30 Jul 2019 23:57:57 +0200 timers

[tip:timers/core] hrtimer: Prepare support for PREEMPT_RT

2019-07-30 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 10521d890c650472e494cf415f0fa6c29d4f Gitweb: https://git.kernel.org/tip/10521d890c650472e494cf415f0fa6c29d4f Author: Anna-Maria Gleixner AuthorDate: Fri, 26 Jul 2019 20:30:59 +0200 Committer: Thomas Gleixner CommitDate: Tue, 30 Jul 2019 23:57:57 +0200 hrtimer

Re: [patch 2/3] timers: do not raise softirq unconditionally (spinlockless version)

2019-06-11 Thread Anna-Maria Gleixner
On Fri, 31 May 2019, Anna-Maria Gleixner wrote: [...] > I will think about the problem and your solution a little bit more and > give you feedback hopefully on monday. I'm sorry for the delay. But now I'm able to give you a detailed feedback: The general problem is, that

Re: [patch 2/3] timers: do not raise softirq unconditionally (spinlockless version)

2019-05-31 Thread Anna-Maria Gleixner
On Thu, 30 May 2019, Marcelo Tosatti wrote: > On Wed, May 29, 2019 at 04:53:26PM +0200, Anna-Maria Gleixner wrote: > > On Mon, 15 Apr 2019, Marcelo Tosatti wrote: > > > > > --- linux-rt-devel.orig/kernel/time/timer.c 2019-04-15 > > > 14:21:02.7887043

Re: [patch 2/3] timers: do not raise softirq unconditionally (spinlockless version)

2019-05-29 Thread Anna-Maria Gleixner
On Mon, 15 Apr 2019, Marcelo Tosatti wrote: > Check base->pending_map locklessly and skip raising timer softirq > if empty. > > What allows the lockless (and potentially racy against mod_timer) > check is that mod_timer will raise another timer softirq after > modifying base->pending_map. The

Re: [patch 1/3] timers: raise timer softirq on __mod_timer/add_timer_on

2019-05-29 Thread Anna-Maria Gleixner
On Mon, 15 Apr 2019, Marcelo Tosatti wrote: [...] > The patch "timers: do not raise softirq unconditionally" from Thomas > attempts to address that by checking, in the sched tick, whether its > necessary to raise the timer softirq. Unfortunately, it attempts to grab > the tvec base spinlock which

Re: [patch 0/3] do not raise timer softirq unconditionally (spinlockless version)

2019-05-29 Thread Anna-Maria Gleixner
Hi, I had a look at the queue and have several questions about your implementation. First of all, I had some troubles to understand your commit messages. So I first had to read the code and then tried to understand the commit messages. It is easier, if it works the other way round. On Mon, 15 A

[PATCH v3] hrtimer: Consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2019-03-25 Thread Anna-Maria Gleixner
hrtimer_init_sleeper[_on_stack]() functions, call sites need to be updated as well. Link: http://lkml.kernel.org/r/20180703092541.2870-1-anna-ma...@linutronix.de [anna-maria: Updating the commit message] Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Anna-Maria Gleixner --- v2..v3: Update to

[tip:timers/core] timer/trace: Improve timer tracing

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: f28d3d5346e97e60c81f933ac89ccf015430e5cf Gitweb: https://git.kernel.org/tip/f28d3d5346e97e60c81f933ac89ccf015430e5cf Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:21 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:33 +0100 timer/trace

[tip:timers/core] timer: Move trace point to get proper index

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: dc1e7dc5ac6254ba0502323381a7ec847e408f1d Gitweb: https://git.kernel.org/tip/dc1e7dc5ac6254ba0502323381a7ec847e408f1d Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:19 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:32 +0100 timer: Move

[tip:timers/core] timer/trace: Replace deprecated vsprintf pointer extension %pf by %ps

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 6849cbb0f9a8dbc1ba56e9abc6955613103e01e3 Gitweb: https://git.kernel.org/tip/6849cbb0f9a8dbc1ba56e9abc6955613103e01e3 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:20 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:33 +0100 timer/trace

[tip:timers/core] tick/sched: Update tick_sched struct documentation

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: d6b87eaf10bd061914f6d277d7428b3285d8850e Gitweb: https://git.kernel.org/tip/d6b87eaf10bd061914f6d277d7428b3285d8850e Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:18 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:32 +0100 tick/sched

[PATCH 3/4] timer: Replace deprecated vsprintf pointer extension %pf by %ps

2019-03-21 Thread Anna-Maria Gleixner
characters. Signed-off-by: Anna-Maria Gleixner --- include/trace/events/timer.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h index a57e4ee989d6..da975d69c453 100644 --- a/include/trace/events/timer.h +++

[PATCH 0/4] timers: Fix and improve tracing and documentation

2019-03-21 Thread Anna-Maria Gleixner
Hi, the patch series was developed during investigating timer problems and timer improvements. It contains a struct documentation fix in tick-sched and a fixes as well as an improvement for timer tracing. Thanks, Anna-Maria Anna-Maria Gleixner (4): tick-sched: Update tick_sched

[PATCH 4/4] trace/timer: Improve timer tracing

2019-03-21 Thread Anna-Maria Gleixner
ithout additional trace points. Therefore add the base->clk value to the timer_expire_entry trace point, to be able to calculate the index the timer base is located at during collecting expired timers. Signed-off-by: Anna-Maria Gleixner --- include/trace/events/timer.h | 11 +++ ke

[PATCH 2/4] timer: Move trace point to get proper index

2019-03-21 Thread Anna-Maria Gleixner
object. Therefore split debug_activate() function and move trace point into timer enqueue after index calculation. debug_object_activate() call remains at the original place. Signed-off-by: Anna-Maria Gleixner --- kernel/time/timer.c | 13 - 1 file changed, 4 insertions(+), 9 deletions

[PATCH 1/4] tick-sched: Update tick_sched struct documentation

2019-03-21 Thread Anna-Maria Gleixner
Adapt the documentation order of struct members to effective order of struct members and add missing descriptions. Signed-off-by: Anna-Maria Gleixner --- kernel/time/tick-sched.h | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/kernel/time/tick-sched.h b/kernel

[PATCH] bitops/find: Fix function description argument ordering

2018-08-06 Thread Anna-Maria Gleixner
ments name in function declaration for better readability. Signed-off-by: Anna-Maria Gleixner --- include/asm-generic/bitops/find.h | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/include/asm-generic/bitops/find.h b/include/asm-generic/bitops/find.h

Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq

2018-08-01 Thread Anna-Maria Gleixner
the tick reprogramming will be ignored and we may exit > to userspace after local_bh_enable() with an enqueued timer that will > never fire. > > To fix this, simply keep reprogramming the tick if we are in a hardirq > interrupting softirq. We can still figure out a way later to rest

[tip:timers/urgent] nohz: Fix local_timer_softirq_pending()

2018-07-31 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 80d20d35af1edd632a5e7a3b9c0ab7ceff92769e Gitweb: https://git.kernel.org/tip/80d20d35af1edd632a5e7a3b9c0ab7ceff92769e Author: Anna-Maria Gleixner AuthorDate: Tue, 31 Jul 2018 18:13:58 +0200 Committer: Thomas Gleixner CommitDate: Tue, 31 Jul 2018 22:08:44 +0200 nohz: Fix

[PATCH] nohz: Fix local_timer_softirq_pending()

2018-07-31 Thread Anna-Maria Gleixner
quot;nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()") Signed-off-by: Anna-Maria Gleixner --- kernel/time/tick-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index da9455a6b42b..5b33e2f5c0e

Re: [PATCH v5 1/2] timers: Don't wake ktimersoftd on every tick

2018-07-13 Thread Anna-Maria Gleixner
Hi Haris, On Thu, 28 Jun 2018, Haris Okanovic wrote: > Collect expired timers in interrupt context to avoid overhead of waking > ktimersoftd on every scheduler tick. > > This is implemented by storing lists of expired timers in the timer_base > struct, which is updated by the interrupt routing o

[PATCH v2] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2018-07-03 Thread Anna-Maria Gleixner
hrtimer_init_sleeper[_on_stack]() functions, call sites need to be updated as well. Link: http://lkml.kernel.org/r/20170905135719.qsj4h5twhjkmk...@linutronix.de Signed-off-by: Sebastian Andrzej Siewior [anna-maria: Updating the commit message] Signed-off-by: Anna-Maria Gleixner --- v1..v2: Fix

[PATCH] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2018-07-02 Thread Anna-Maria Gleixner
hrtimer_init_sleeper[_on_stack]() functions, call sites need to be updated as well. Link: http://lkml.kernel.org/r/20170905135719.qsj4h5twhjkmk...@linutronix.de Signed-off-by: Sebastian Andrzej Siewior [anna-maria: Updating the commit message] Signed-off-by: Anna-Maria Gleixner --- block/blk-mq.c

sched/core warning triggers on rcu torture test

2018-06-26 Thread Anna-Maria Gleixner
Hi, during rcu torture tests (TREE04 and TREE07) I noticed, that a WARN_ON_ONCE() in sched core triggers on a recent 4.18-rc2 based kernel (6f0d349d922b ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net")) as well as on a 4.17.3. I'm running the tests on a machine with 144 cores:

[tip:core/urgent] signal: Remove no longer required irqsave/restore

2018-06-09 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 59dc6f3c6d81c0c4379025c4eb56919391d62b67 Gitweb: https://git.kernel.org/tip/59dc6f3c6d81c0c4379025c4eb56919391d62b67 Author: Anna-Maria Gleixner AuthorDate: Fri, 25 May 2018 11:05:07 +0200 Committer: Thomas Gleixner CommitDate: Sun, 10 Jun 2018 06:14:01 +0200 signal: Remove

[tip:core/urgent] rcu: Update documentation of rcu_read_unlock()

2018-06-09 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: ec84b27f9b3b569f9235413d1945a2006b97b0aa Gitweb: https://git.kernel.org/tip/ec84b27f9b3b569f9235413d1945a2006b97b0aa Author: Anna-Maria Gleixner AuthorDate: Fri, 25 May 2018 11:05:06 +0200 Committer: Thomas Gleixner CommitDate: Sun, 10 Jun 2018 06:14:01 +0200 rcu: Update

[tip:core/urgent] signal: Remove no longer required irqsave/restore

2018-06-07 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: e79e0f38083e607da5d7b493e7a0f78ba38d788e Gitweb: https://git.kernel.org/tip/e79e0f38083e607da5d7b493e7a0f78ba38d788e Author: Anna-Maria Gleixner AuthorDate: Fri, 4 May 2018 16:40:14 +0200 Committer: Thomas Gleixner CommitDate: Thu, 7 Jun 2018 22:18:55 +0200 signal: Remove

Re: [PATCH v6 0/4] enable early printing of hashed pointers

2018-06-06 Thread Anna-Maria Gleixner
On Tue, 5 Jun 2018, Anna-Maria Gleixner wrote: > On Thu, 31 May 2018, Steven Rostedt wrote: > > > On Mon, 28 May 2018 11:46:38 +1000 > > "Tobin C. Harding" wrote: > > > > > Steve, > > > > Hi Tobin, > > > > Sorry for the lat

Re: [PATCH v6 0/4] enable early printing of hashed pointers

2018-06-05 Thread Anna-Maria Gleixner
On Thu, 31 May 2018, Steven Rostedt wrote: > On Mon, 28 May 2018 11:46:38 +1000 > "Tobin C. Harding" wrote: > > > Steve, > > Hi Tobin, > > Sorry for the late reply, I'm currently at a conference and have had > little time to read email. > > > > > Could you please take a quick squiz at the fi

Re: [PATCH v2 1/2] rcu: Update documentation of rcu_read_unlock()

2018-05-28 Thread Anna-Maria Gleixner
On Fri, 25 May 2018, Paul E. McKenney wrote: > On Fri, May 25, 2018 at 11:05:06AM +0200, Anna-Maria Gleixner wrote: > > Since commit b4abf91047cf ("rtmutex: Make wait_lock irq safe") the > > explanation in rcu_read_unlock() documentation about irq unsafe rtmutex > &g

[PATCH] afs/server: Remove leftover variable

2018-05-25 Thread Anna-Maria Gleixner
Variable ret is set two times in afs_install_server() but never dereferenced. It is a leftover of a rework of afs_install_server() by commit d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation"). Signed-off-by: Anna-Maria Gleixner --- fs/afs/server.c

[PATCH v2 0/2] rtmutex wait_lock is irq safe

2018-05-25 Thread Anna-Maria Gleixner
gnal patch Thanks, Anna-Maria Anna-Maria Gleixner (2): rcu: Update documentation of rcu_read_unlock() signal: Remove no longer required irqsave/restore include/linux/rcupdate.h | 4 +--- kernel/signal.c | 24 +++- 2 files changed, 8 insertions(+), 20

[PATCH v2 2/2] signal: Remove no longer required irqsave/restore

2018-05-25 Thread Anna-Maria Gleixner
sable dance is not longer required. The change was tested on the base of b4abf91047cf ("rtmutex: Make wait_lock irq safe") with a four hour run of rcutorture scenario TREE03 with lockdep enabled as suggested by Paul McKenney. Signed-off-by: Anna-Maria Gleixner Acked-by: Paul E. McKenne

[PATCH v2 1/2] rcu: Update documentation of rcu_read_unlock()

2018-05-25 Thread Anna-Maria Gleixner
ned-off-by: Anna-Maria Gleixner --- include/linux/rcupdate.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 36360d07f25b..64644fda3b22 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -65

Re: [PATCH] kernel/signal: Remove no longer required irqsave/restore

2018-05-08 Thread Anna-Maria Gleixner
On Tue, 8 May 2018, Paul E. McKenney wrote: > On Tue, May 08, 2018 at 03:42:25PM +0200, Anna-Maria Gleixner wrote: > > On Sat, 5 May 2018, Thomas Gleixner wrote: > > > > > On Fri, 4 May 2018, Paul E. McKenney wrote: > > > > On Fri, May 04, 2018 at 11:38

Re: [PATCH] kernel/signal: Remove no longer required irqsave/restore

2018-05-08 Thread Anna-Maria Gleixner
On Sat, 5 May 2018, Thomas Gleixner wrote: > On Fri, 4 May 2018, Paul E. McKenney wrote: > > On Fri, May 04, 2018 at 11:38:37PM -0500, Eric W. Biederman wrote: > > > > (Me, I would run rcutorture scenario TREE03 for an extended time period > > > > on b4abf91047cf with your patch applied. > > > >

Hashed pointer issues

2018-04-30 Thread Anna-Maria Gleixner
Hi, I stumbled over an issue with hashed pointers and tracing. I'm using trace points for examination and on error the trace buffers are dumped. The error occurs when entropy has not been set up, so the pointers are not hashed and only (ptrval) is printed instead. The pointers are required to di

[tip:timers/core] hrtimer: Implement SOFT/HARD clock base selection

2018-01-16 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 42f42da41b54c191ae6a775e84a86c100d66c5e8 Gitweb: https://git.kernel.org/tip/42f42da41b54c191ae6a775e84a86c100d66c5e8 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:58 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 09:51:22 +0100 hrtimer: Implement

[tip:timers/core] hrtimer: Implement support for softirq based hrtimers

2018-01-16 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 5da70160462e80b0ab8a6960cdd0cdd476907523 Gitweb: https://git.kernel.org/tip/5da70160462e80b0ab8a6960cdd0cdd476907523 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:57 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 09:51:22 +0100 hrtimer: Implement

[tip:timers/core] hrtimer: Prepare handling of hard and softirq based hrtimers

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: c458b1d102036eaa2c70e03000c959bd491c2037 Gitweb: https://git.kernel.org/tip/c458b1d102036eaa2c70e03000c959bd491c2037 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:56 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 03:01:20 +0100 hrtimer: Prepare

[tip:timers/core] hrtimer: Add clock bases and hrtimer mode for softirq context

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 98ecadd4305d8677ba77162152485798d47dcc85 Gitweb: https://git.kernel.org/tip/98ecadd4305d8677ba77162152485798d47dcc85 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:55 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 03:00:50 +0100 hrtimer: Add clock

[tip:timers/core] hrtimer: Use irqsave/irqrestore around __run_hrtimer()

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: dd934aa8ad1fbaab3d916125c7fe42fff75aa7ff Gitweb: https://git.kernel.org/tip/dd934aa8ad1fbaab3d916125c7fe42fff75aa7ff Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:54 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 03:00:47 +0100 hrtimer: Use

[tip:timers/core] hrtimer: Factor out __hrtimer_start_range_ns()

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 138a6b7ae4dedde5513678f57b275eee19c41b6a Gitweb: https://git.kernel.org/tip/138a6b7ae4dedde5513678f57b275eee19c41b6a Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:52 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:53:59 +0100 hrtimer: Factor

[tip:timers/core] hrtimer: Factor out __hrtimer_next_event_base()

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: ad38f596d8e4babc19be8b21a7a49debffb4a7f5 Gitweb: https://git.kernel.org/tip/ad38f596d8e4babc19be8b21a7a49debffb4a7f5 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:53 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 03:00:43 +0100 hrtimer: Factor

[tip:timers/core] hrtimer: Remove the 'base' parameter from hrtimer_reprogram()

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 3ec7a3ee9f15f6dcac1591902d85b94c2a4b520d Gitweb: https://git.kernel.org/tip/3ec7a3ee9f15f6dcac1591902d85b94c2a4b520d Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:51 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:53:59 +0100 hrtimer: Remove

[tip:timers/core] hrtimer: Make remote enqueue decision less restrictive

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 2ac2dccce9d16a7b1a8fddf69a955d249375bce4 Gitweb: https://git.kernel.org/tip/2ac2dccce9d16a7b1a8fddf69a955d249375bce4 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:50 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:53:58 +0100 hrtimer: Make

[tip:timers/core] hrtimer: Unify remote enqueue handling

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 14c803419de6acba08e143d51813ac5e0f3443b8 Gitweb: https://git.kernel.org/tip/14c803419de6acba08e143d51813ac5e0f3443b8 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:49 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:53:58 +0100 hrtimer: Unify

[tip:timers/core] hrtimer: Unify hrtimer removal handling

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 61bb4bcb79c7afcd0bf0d20aef4704977172fd60 Gitweb: https://git.kernel.org/tip/61bb4bcb79c7afcd0bf0d20aef4704977172fd60 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:48 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:53:58 +0100 hrtimer: Unify

[tip:timers/core] hrtimer: Make hrtimer_force_reprogramm() unconditionally available

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: ebba2c723f38a766546b2eaf828c522576c791d4 Gitweb: https://git.kernel.org/tip/ebba2c723f38a766546b2eaf828c522576c791d4 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:47 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:53:28 +0100 hrtimer: Make

[tip:timers/core] hrtimer: Make hrtimer_reprogramm() unconditional

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 11a9fe069e341ac53bddb8fe1a85ea986cff1a42 Gitweb: https://git.kernel.org/tip/11a9fe069e341ac53bddb8fe1a85ea986cff1a42 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:46 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:47 +0100 hrtimer: Make

[tip:timers/core] hrtimer: Make hrtimer_cpu_base.next_timer handling unconditional

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: eb27926ba05233dc4f2052cc9d4f19359ec3cd2c Gitweb: https://git.kernel.org/tip/eb27926ba05233dc4f2052cc9d4f19359ec3cd2c Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:45 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:47 +0100 hrtimer: Make

[tip:timers/core] hrtimer: Make the remote enqueue check unconditional

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 07a9a7eae86abb796468b225586086d7c4cb59fc Gitweb: https://git.kernel.org/tip/07a9a7eae86abb796468b225586086d7c4cb59fc Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:44 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:47 +0100 hrtimer: Make the

[tip:timers/core] hrtimer: Use accesor functions instead of direct access

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 851cff8caf4d638d001aac6e57a3511abd94f100 Gitweb: https://git.kernel.org/tip/851cff8caf4d638d001aac6e57a3511abd94f100 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:43 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:47 +0100 hrtimer: Use

[tip:timers/core] hrtimer: Make the hrtimer_cpu_base::hres_active field unconditional, to simplify the code

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 28bfd18bf3daa5db8bb3422ea7138c8b7d2444ac Gitweb: https://git.kernel.org/tip/28bfd18bf3daa5db8bb3422ea7138c8b7d2444ac Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:42 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:47 +0100 hrtimer: Make the

[tip:timers/core] hrtimer: Make room in 'struct hrtimer_cpu_base'

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: da21c5a58a7f30db69e04e06dfb6777ccbb1113c Gitweb: https://git.kernel.org/tip/da21c5a58a7f30db69e04e06dfb6777ccbb1113c Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:41 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:46 +0100 hrtimer: Make room

[tip:timers/core] hrtimer: Store running timer in hrtimer_clock_base

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 3f0b9e8eec7262648ab9c8321bf931624ee5c10a Gitweb: https://git.kernel.org/tip/3f0b9e8eec7262648ab9c8321bf931624ee5c10a Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:40 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:46 +0100 hrtimer: Store

[tip:timers/core] hrtimer: Switch 'for' loop to _ffs() evaluation

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: c272ca58c3ec5631f4ab507489d9477f74efe645 Gitweb: https://git.kernel.org/tip/c272ca58c3ec5631f4ab507489d9477f74efe645 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:39 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:46 +0100 hrtimer: Switch

[tip:timers/core] tracing/hrtimer: Print the hrtimer mode in the 'hrtimer_start' tracepoint

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 63e2ed3659752a4850e0ef3a07f809988fcd74a4 Gitweb: https://git.kernel.org/tip/63e2ed3659752a4850e0ef3a07f809988fcd74a4 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:38 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:46 +0100 tracing/hrtimer

[tip:timers/core] tracing/hrtimer: Fix tracing bugs by taking all clock bases and modes into account

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 91633eed73a3ac37aaece5c8c1f93a18bae616a9 Gitweb: https://git.kernel.org/tip/91633eed73a3ac37aaece5c8c1f93a18bae616a9 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:37 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:45 +0100 tracing/hrtimer

[tip:timers/core] hrtimer: Clean up 'enum hrtimer_mode'

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 19b51cb5ff6ab7957bcbbec4ff812b83208f7e99 Gitweb: https://git.kernel.org/tip/19b51cb5ff6ab7957bcbbec4ff812b83208f7e99 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:36 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:45 +0100 hrtimer: Clean up

[tip:timers/core] hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 48d0c9becc7f3c66874c100c126459a9da0fdced Gitweb: https://git.kernel.org/tip/48d0c9becc7f3c66874c100c126459a9da0fdced Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:35 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:45 +0100 hrtimer: Ensure

[tip:timers/core] hrtimer: Fix hrtimer_start[_range_ns]() function descriptions

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 6de6250c759781daeadca784d0cc34ae73f3b502 Gitweb: https://git.kernel.org/tip/6de6250c759781daeadca784d0cc34ae73f3b502 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:34 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:45 +0100 hrtimer: Fix

[tip:timers/core] hrtimer: Clean up the 'int clock' parameter of schedule_hrtimeout_range_clock()

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 90136f80d0cc0f714e5a389c4dfa9b4670ee Gitweb: https://git.kernel.org/tip/90136f80d0cc0f714e5a389c4dfa9b4670ee Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:33 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:44 +0100 hrtimer: Clean up

[tip:timers/core] hrtimer: Fix kerneldoc syntax for 'struct hrtimer_cpu_base'

2018-01-15 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 1fbc78b3c980364d4fc15db83eca4a8e7ad289da Gitweb: https://git.kernel.org/tip/1fbc78b3c980364d4fc15db83eca4a8e7ad289da Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Dec 2017 11:41:32 +0100 Committer: Ingo Molnar CommitDate: Tue, 16 Jan 2018 02:35:44 +0100 hrtimer: Fix

[tip:timers/urgent] timers: Use deferrable base independent of base::nohz_active

2017-12-29 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: ced6d5c11d3e7b342f1a80f908e6756ebd4b8ddd Gitweb: https://git.kernel.org/tip/ced6d5c11d3e7b342f1a80f908e6756ebd4b8ddd Author: Anna-Maria Gleixner AuthorDate: Fri, 22 Dec 2017 15:51:12 +0100 Committer: Thomas Gleixner CommitDate: Fri, 29 Dec 2017 23:13:09 +0100 timers: Use

[PATCH v4 03/36] hrtimer: Fix kerneldoc for struct hrtimer_cpu_base

2017-12-21 Thread Anna-Maria Gleixner
The sequence '/**' marks the start of a struct description. Add the missing second asterisk. While at it adapt the ordering of the struct members to the struct definition and document the purpose of expires_next more precisely. Signed-off-by: Anna-Maria Gleixner --- include/linux/hrt

[PATCH v4 05/36] hrtimer: Fix hrtimer function description

2017-12-21 Thread Anna-Maria Gleixner
The hrtimer_start[_range_ns]() starts a timer reliable on this CPU only when HRTIMER_MODE_PINNED is set. Furthermore the HRTIMER_MODE_PINNED mode is not considered, when a hrtimer is initialized. Signed-off-by: Anna-Maria Gleixner --- include/linux/hrtimer.h | 6 +++--- kernel/time/hrtimer.c

[PATCH v4 00/36] hrtimer: Provide softirq context hrtimers

2017-12-21 Thread Anna-Maria Gleixner
There are quite some places in the kernel which use a combination of hrtimers and tasklets to make use of the precise expiry of hrtimers, which schedule a tasklet to bring the actual function into softirq context. This was introduced when the previous hrtimer softirq code was removed. That code wa

[PATCH v4 10/36] hrtimer: Switch for loop to _ffs() evaluation

2017-12-21 Thread Anna-Maria Gleixner
-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 0e000b58f0d3..43e4f6607f9d 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c

[PATCH v4 06/36] hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)

2017-12-21 Thread Anna-Maria Gleixner
imers") Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index ae7b29c4e03e..9945ea6b0e5c 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -1095,

[PATCH v4 07/36] hrtimer: Cleanup hrtimer_mode enum

2017-12-21 Thread Anna-Maria Gleixner
It's not obvious that the HRTIMER_MODE variants are bit combinations because all modes are hard coded constants. Change it so the bit meanings are clear and use the symbols for creating modes which combine bits. While at it get rid of the ugly tail comments. Signed-off-by: Anna-Maria Gle

[PATCH v4 09/36] tracing/hrtimer: Print hrtimer mode in hrtimer_start tracepoint

2017-12-21 Thread Anna-Maria Gleixner
The hrtimer_start tracepoint lacks the mode information. The mode is important because consecutive starts can switch from ABS to REL or from PINNED to non PINNED. Add the mode information. Signed-off-by: Anna-Maria Gleixner --- include/trace/events/timer.h | 13 - kernel/time

[PATCH v4 02/36] hrtimer: Correct blantanly wrong comment

2017-12-21 Thread Anna-Maria Gleixner
currently running timer. This pointer is evaluated in the code which potentially switches the timer base and makes sure it's kept on the CPU on which the callback is running. Reported-by: Anna-Maria Gleixner Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- kernel

[PATCH v4 08/36] tracing/hrtimer: Take all clock bases and modes into account

2017-12-21 Thread Anna-Maria Gleixner
. But for the sake of completeness print all given modes. Signed-off-by: Anna-Maria Gleixner --- include/trace/events/timer.h | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h index 16e305e69f34

[PATCH v4 12/36] hrtimer: Make room in struct hrtimer_cpu_base

2017-12-21 Thread Anna-Maria Gleixner
unsigned int. Make them unsigned short to create room for the new struct member. No functional change. Signed-off-by: Anna-Maria Gleixner --- include/linux/hrtimer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index

[PATCH v4 26/36] hrtimer: Add clock bases and hrtimer mode for soft irq context

2017-12-21 Thread Anna-Maria Gleixner
the decoding of hrtimer_mode in tracepoints. Signed-off-by: Anna-Maria Gleixner --- include/linux/hrtimer.h | 14 ++ include/trace/events/timer.h | 6 +- kernel/time/hrtimer.c| 20 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a

[PATCH v4 11/36] hrtimer: Store running timer in hrtimer_clock_base

2017-12-21 Thread Anna-Maria Gleixner
eally different from the current behaviour. On 64bit kernels the 64byte alignment stays and the behaviour is unchanged. This was determined by analyzing the resulting layout and looking at the number of cache lines involved for the frequently used clocks. Signed-off-by: Anna-Maria Gleixner ---

[PATCH v4 24/36] hrtimer: Split __hrtimer_get_next_event()

2017-12-21 Thread Anna-Maria Gleixner
Preparatory patch for softirq based hrtimers to avoid code duplication. No functional change. Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c

[PATCH v4 25/36] hrtimer: Use irqsave/irqrestore around __run_hrtimer()

2017-12-21 Thread Anna-Maria Gleixner
state when called from softirq context. Suggested-by: Peter Zijlstra Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 914e91a59a51

[PATCH v4 22/36] hrtimer: Remove base argument from hrtimer_reprogram()

2017-12-21 Thread Anna-Maria Gleixner
duplication and will lose the direct access to the clock base pointer. Instead of handing in timer and timer->base as an argument remove the base argument from hrtimer_reprogram() and retrieve the clock base internally. Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 6 +++---

[PATCH v4 19/36] hrtimer: Unify handling of hrtimer remove

2017-12-21 Thread Anna-Maria Gleixner
is CPU and the comparison was with an outdated expires_next value. To prevent this scenario, make hrtimer_force_reprogram() unconditional except the effective reprogramming part, which gets eliminated by the compiler in the CONFIG_HIGH_RES_TIMERS=n case. Signed-off-by: Anna-Maria Gleixner --- k

[PATCH v4 18/36] hrtimer: Make hrtimer_force_reprogramm() unconditionally available

2017-12-21 Thread Anna-Maria Gleixner
compiler. Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 58 +-- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 86a1d705d052..a54f91aa973d 100644 --- a/kernel/time

[PATCH v4 20/36] hrtimer: Unify handling of remote enqueue

2017-12-21 Thread Anna-Maria Gleixner
h is the only user now. Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 18 ++ kernel/time/tick-internal.h | 6 -- kernel/time/timer.c | 9 - 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/kernel/time/hrtimer.c b/ker

[PATCH v4 16/36] hrtimer: Make hrtimer_cpu_base.next_timer handling unconditional

2017-12-21 Thread Anna-Maria Gleixner
tional change. Signed-off-by: Anna-Maria Gleixner --- include/linux/hrtimer.h | 4 ++-- kernel/time/hrtimer.c | 12 ++-- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index bb7270e8bc37..2d3e1d678a4d 100644 --- a/include/li

[PATCH v4 15/36] hrtimer: Make the remote enqueue check unconditional

2017-12-21 Thread Anna-Maria Gleixner
the #ifdef zoo in this code. Signed-off-by: Anna-Maria Gleixner --- include/linux/hrtimer.h | 6 +++--- kernel/time/hrtimer.c | 26 ++ 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 22627b3a33fe

[PATCH v4 21/36] hrtimer: Make remote enqueue decision less restrictive

2017-12-21 Thread Anna-Maria Gleixner
e, i.e. behind the first expiring timer. So its safe to allow enqueuing timers with the same expiry time as the first expiring timer on a remote CPU base. Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/hrtim

[PATCH v4 14/36] hrtimer: Use accesor functions instead of direct access

2017-12-21 Thread Anna-Maria Gleixner
__hrtimer_hres_active() is now available unconditionally. Replace the direct access to hrtimer_cpu_base.hres_active. No functional change. Signed-off-by: Anna-Maria Gleixner --- kernel/time/hrtimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/time/hrtimer.c

[PATCH v4 17/36] hrtimer: Make hrtimer_reprogramm() unconditional

2017-12-21 Thread Anna-Maria Gleixner
. Making it unconditional increases the text size for the CONFIG_HIGH_RES_TIMERS=n case, but avoids replication of that code for the upcoming softirq based hrtimers support. Signed-off-by: Anna-Maria Gleixner --- include/linux/hrtimer.h | 6 +-- kernel/time/hrtimer.c | 129

  1   2   3   4   5   >