Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[RFC\]\[PATCH\s+v2\s+19\/31\]\s+timers\:\s+net\:\s+Use\s+del_timer_shutdown\(\)\s+before\s+freeing\s+timer\s*$/: 18 ]

Total 18 documents matching your query.

1. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Fri, 4 Nov 2022 09:14:45 -0700
I'll run a test on the other series without change first. We'll see what happens. If necessary I'll add [parts of] this patch and re-test, but before doing that I would like to get a sense for the st
/html/lvs-devel/2022-11/msg00007.html (13,915 bytes)

2. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Fri, 4 Nov 2022 01:51:39 -0400
I guess. OK. Guenter, I posted a new series, but did not include this change. If you want to test that other series, I would suggest to at least add the first part of this patch, otherwise it will tr
/html/lvs-devel/2022-11/msg00006.html (13,338 bytes)

3. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Eric Dumazet <edumazet@xxxxxxxxxx>
Date: Thu, 3 Nov 2022 17:00:20 -0700
inet_csk_clear_xmit_timers() can be called multiple times during TCP socket lifetime. (See tcp_disconnect(), which can be followed by another connect() ... and loop) Maybe add a second parameter, or
/html/lvs-devel/2022-11/msg00003.html (15,392 bytes)

4. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 3 Nov 2022 17:51:23 -0400
Would something like this be OK? [ Note, talking with Thomas Gleixner, we agreed that we are changing the name to: time_shutdown_sync() and timer_shutdown() (no wait version). I'll be posting new pat
/html/lvs-devel/2022-11/msg00002.html (13,643 bytes)

5. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Paolo Abeni <pabeni@xxxxxxxxxx>
Date: Sun, 30 Oct 2022 18:22:03 +0100
For the records, there are other cases, e.g. after sk_stop_timer() in clear_3rdack_retransmission() (mptcp code) the timer can be-rearmed without re-initializing. I *think* there are more of such use
/html/lvs-devel/2022-10/msg00041.html (15,327 bytes)

6. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Jakub Kicinski <kuba@xxxxxxxxxx>
Date: Fri, 28 Oct 2022 15:46:17 -0700
Sorry too many bugs at once :) FWIW Paolo was saying privately earlier today that he spotted some cases of reuse, he gave an example of ccid2_hc_tx_packet_recv() So we can't convert all cases of sk_s
/html/lvs-devel/2022-10/msg00039.html (15,144 bytes)

7. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Fri, 28 Oct 2022 18:31:49 -0400
Could someone from networking confirm (or deny) that the timer being removed in sk_stop_timer() will no longer be used even if del_timer() returns false? net/core/sock.c: void sk_stop_timer(struct so
/html/lvs-devel/2022-10/msg00038.html (14,685 bytes)

8. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Fri, 28 Oct 2022 08:16:27 -0700
What about del_timer_try_shutdown(), that if it removes the timer, it sets the function to NULL (making it equivalent to a successful shutdown), otherwise it does nothing. Allowing the the timer to
/html/lvs-devel/2022-10/msg00037.html (18,974 bytes)

9. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Thu, 27 Oct 2022 16:13:55 -0700
Applied, and started testing. Please let me know if I am missing some other patch(es) to apply. Thanks, Guenter
/html/lvs-devel/2022-10/msg00036.html (16,129 bytes)

10. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 27 Oct 2022 18:35:11 -0400
I think we have our answer from Guenter's report: Linux version 6.1.0-rc2-00138-gced58c742836 (groeck@jupiter) (aarch64-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.39) #1 SMP PREEMPT Thu Oct 27 1
/html/lvs-devel/2022-10/msg00035.html (16,755 bytes)

11. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 27 Oct 2022 17:15:55 -0400
The naming of the functions will depend on this. If the async version always shuts down the timer, then we should have the interface be: del_timer_shutdown() <- async del_timer_shutdown_sync <- sync
/html/lvs-devel/2022-10/msg00034.html (13,177 bytes)

12. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 27 Oct 2022 17:07:55 -0400
Guenter, Can you apply this patch on top of the series, and see if it makes the warning go away? diff --git a/include/linux/timer.h b/include/linux/timer.h index d4d90149d015..e3c5f4bdd526 100644 --
/html/lvs-devel/2022-10/msg00033.html (15,210 bytes)

13. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 27 Oct 2022 17:07:20 -0400
Well, I think this current use case will break if we prevent the timer from being rearmed or run again if it's not found. But as you said, the networking folks need to confirm or deny it. The fact th
/html/lvs-devel/2022-10/msg00032.html (15,331 bytes)

14. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Oct 2022 13:48:54 -0700
Sounds sane to me and should work, but as mentioned, I think the networking people need to say "yeah" too. And maybe that function can also disallow any future re-arming even for the case where the t
/html/lvs-devel/2022-10/msg00031.html (14,076 bytes)

15. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 27 Oct 2022 16:34:53 -0400
OK, so the above is assuming that the timer is always active, and del_timer() returns if it successfully removed it (where it can call sock_put()), but if del_timer() returns 0, that means the timer
/html/lvs-devel/2022-10/msg00030.html (13,378 bytes)

16. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Oct 2022 13:15:23 -0700
So the reason the networking code does this is that it can't just do the old 'sync()' thing, the timers are deleted in contexts where that isn't valid. Which is also afaik why the networking code doe
/html/lvs-devel/2022-10/msg00029.html (12,982 bytes)

17. Re: [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 27 Oct 2022 15:55:13 -0400
I think this is indeed an issue, and I'm replying to the net patch as it has the necessary folks Cc'd. The ipv4 tcp code has: void tcp_init_xmit_timers(struct sock *sk) { inet_csk_init_xmit_timers(sk
/html/lvs-devel/2022-10/msg00028.html (15,014 bytes)

18. [RFC][PATCH v2 19/31] timers: net: Use del_timer_shutdown() before freeing timer (score: 1)
Author: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Thu, 27 Oct 2022 11:05:44 -0400
Before a timer is freed, del_timer_shutdown() must be called. Link: https://lore.kernel.org/all/20220407161745.7d6754b3@xxxxxxxxxxxxxxxxxx/ Cc: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx> Cc: Tony
/html/lvs-devel/2022-10/msg00026.html (30,414 bytes)


This search system is powered by Namazu