never restarted. I have created a patch to fix the
race condition. Please review
Balasubramani Vivekanandan (1):
tick: broadcast-hrtimer: Fix a race in bc_set_next
kernel/time/tick-broadcast-hrtimer.c | 58 ++--
kernel/time/tick-broadcast.c | 2 +
2 files c
TIME_MAX.
Signed-off-by: Balasubramani Vivekanandan
---
kernel/time/tick-broadcast-hrtimer.c | 58 ++--
kernel/time/tick-broadcast.c | 2 +
2 files changed, 48 insertions(+), 12 deletions(-)
diff --git a/kernel/time/tick-broadcast-hrtimer.c
b/kernel/time/tick-b
> Find a completely untested patch below
Thanks for the patch. I tested your patch and it is working fine. I do
not notice the rcu stall warnings anymore. I have just updated the
formatting of brackets. Please check and apply
t_from_fork+0x10/0x1c
Signed-off-by: Balasubramani Vivekanandan
Signed-off-by: Thomas Gleixner
---
kernel/time/tick-broadcast-hrtimer.c | 52
1 file changed, 23 insertions(+), 29 deletions(-)
diff --git a/kernel/time/tick-broadcast-hrtimer.c
b/kernel/time/tick-br
+ Peter Zijlstra, linux-renesas-soc
Sorry, I missed to fix few checkpatch warnings. Corrected it now
t_from_fork+0x10/0x1c
Signed-off-by: Balasubramani Vivekanandan
Signed-off-by: Thomas Gleixner
---
kernel/time/tick-broadcast-hrtimer.c | 53 +---
1 file changed, 24 insertions(+), 29 deletions(-)
diff --git a/kernel/time/tick-broadcast-hrtimer.c
b/kernel/time/tick-br
> I which way is this backtrace giving any useful information about the problem?
The intention of me including the callstack was to help anyone notice
this commit while searching using the prints from the callstack. I have
removed it if it is creating noise.
> Interesting. You claim authorship
r are synchronized using tick_broadcast_lock. So there is no need
for the existing try to cancel logic. All this can be removed which will
eliminate the race condition as well.
Originally-by: Thomas Gleixner
Signed-off-by: Balasubramani Vivekanandan
---
kernel/time/tick-broadcast-hrtimer.c | 58
The following commit has been merged into the timers/core branch of tip:
Commit-ID: b9023b91dd020ad7e093baa5122b6968c48cc9e0
Gitweb:
https://git.kernel.org/tip/b9023b91dd020ad7e093baa5122b6968c48cc9e0
Author:Balasubramani Vivekanandan
AuthorDate:Thu, 26 Sep 2019 15:51:01
10 matches
Mail list logo