[PATCH V1 0/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-18 Thread Balasubramani Vivekanandan
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

[PATCH V1 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-18 Thread Balasubramani Vivekanandan
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

[PATCH V2 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-25 Thread Balasubramani Vivekanandan
> 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

[PATCH V2 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-25 Thread Balasubramani Vivekanandan
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

Re: [PATCH V2 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-25 Thread Balasubramani Vivekanandan
+ Peter Zijlstra, linux-renesas-soc

[PATCH V2 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-25 Thread Balasubramani Vivekanandan
Sorry, I missed to fix few checkpatch warnings. Corrected it now

[PATCH V2 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-25 Thread Balasubramani Vivekanandan
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

[PATCH V3 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-26 Thread Balasubramani Vivekanandan
> 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

[PATCH V3 1/1] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-26 Thread Balasubramani Vivekanandan
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

[tip: timers/core] tick: broadcast-hrtimer: Fix a race in bc_set_next

2019-09-27 Thread tip-bot2 for Balasubramani Vivekanandan
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