Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[PATCH\s+v4a\s+00\/38\]\s+timers\:\s+Use\s+timer_shutdown\*\(\)\s+before\s+freeing\s+timers\s*$/: 15 ]

Total 15 documents matching your query.

1. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 17:47:56 -0400
What I do to compare is: patch -p1 < cocci1.patch git commit -a git show | patch -p1 -R patch -p1 < cocci2.patch git diff Then I see how things changed. This is how I was able to show you the tweaks
/html/lvs-devel/2022-11/msg00031.html (14,850 bytes)

2. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 17:45:42 -0400
I added an expression, and it appears to work: At least for this case. @@ expression E; identifier ptr, timer, rfield, slab; @@ ( - del_timer(&ptr->timer); + timer_shutdown(&ptr->timer); - del_timer_
/html/lvs-devel/2022-11/msg00030.html (15,724 bytes)

3. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Nov 2022 14:13:14 -0700
I actually tried that. You don't want "when exists", you'd want "when forall", but that seems to be the default. And trying "when != ptr->timer" actually does the right thing in that it gets rid of t
/html/lvs-devel/2022-11/msg00029.html (15,906 bytes)

4. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: "Jason A. Donenfeld" <Jason@xxxxxxxxx>
Date: Sat, 5 Nov 2022 22:03:18 +0100
Something that might help here is changing the `...` into `... when exists` or into `... when != ptr` or similar. See this section of the manual: https://coccinelle.gitlabpages.inria.fr/website/docs/
/html/lvs-devel/2022-11/msg00028.html (15,636 bytes)

5. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Sat, 5 Nov 2022 12:31:29 -0700
For the series, as far as my testbed goes: Build results: total: 152 pass: 152 fail: 0 Qemu test results: total: 500 pass: 500 fail: 0 No runtime crashes or warnings observed. Tested-by: Guenter Roec
/html/lvs-devel/2022-11/msg00027.html (14,606 bytes)

6. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Nov 2022 11:28:33 -0700
Please. No. What part of "I don't want extra crud" was I unclear on? I'm not interested in converting everything. That's clearly a 6.,2 issue, possibly even longer considering how complicated the net
/html/lvs-devel/2022-11/msg00026.html (16,017 bytes)

7. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 14:05:50 -0400
I still hate the above. -- Steve
/html/lvs-devel/2022-11/msg00025.html (14,562 bytes)

8. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 14:03:56 -0400
Below is the result of the above patch, but I did do the following modifications because of the one case where it it exited the function after the del_timer(). And the other case was that it doesn't
/html/lvs-devel/2022-11/msg00024.html (64,386 bytes)

9. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 13:53:38 -0400
I just ran the script and the above code turned to: diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index 4f7eaa17fb27..2695bbde52db 100644 -- a/drivers/i
/html/lvs-devel/2022-11/msg00023.html (14,006 bytes)

10. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 12:53:33 -0400
Julia, Perhaps you can help me here. I have the following script to find places that call del_timer*() that need to be converted to timer_shutdown*() if later on in the same function the timer is bei
/html/lvs-devel/2022-11/msg00022.html (22,100 bytes)

11. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 12:36:42 -0400
So I'll have to break up patch 5 to not update the del_singleshot_timer_sync() to a timer_shutdown_sync(), because that breaks this code. Hmm, since that is a functional change, it probably should wa
/html/lvs-devel/2022-11/msg00021.html (20,060 bytes)

12. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Nov 2022 08:59:36 -0700
So this is the kind of thing that I would *not* want to get eartly. I really would want to get just the infrastructure in to let people start doing conversions. And then the "mindlessly obvious patch
/html/lvs-devel/2022-11/msg00020.html (16,335 bytes)

13. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 5 Nov 2022 10:47:30 -0400
Well, actually it is. In patch 5/38: -#define del_singleshot_timer_sync(t) del_timer_sync(t) +#define del_singleshot_timer_sync(t) timer_shutdown_sync(t) This was the reason for patch 1. It was the o
/html/lvs-devel/2022-11/msg00019.html (12,941 bytes)

14. Re: [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Sat, 5 Nov 2022 07:18:17 -0700
Just in case you didn't notice: Looking through the resulting code, I think some of the remaining calls to del_singleshot_timer_sync() can be converted as well. The calls in drivers/staging/wlan-ng/p
/html/lvs-devel/2022-11/msg00018.html (14,087 bytes)

15. [PATCH v4a 00/38] timers: Use timer_shutdown*() before freeing timers (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Sat, 05 Nov 2022 02:00:24 -0400
Back in April, I posted an RFC patch set to help mitigate a common issue where a timer gets armed just before it is freed, and when the timer goes off, it crashes in the timer code without any eviden
/html/lvs-devel/2022-11/msg00016.html (22,984 bytes)


This search system is powered by Namazu