deleting timer that re-registers itself

Hyeonggon Yoo 42.hyeyoo at gmail.com
Tue May 4 12:47:25 EDT 2021


I think there can be a situation like:

         processA:                  processB:
0ns:  if (!exiting)
1ns:                                    exiting = 1;
2ns:                                    del_timer
3ns:  mod_timer

so spinlock seems better for this.



More information about the Kernelnewbies mailing list