On 09/26/2011 01:35 PM, [email protected] wrote: > The list-based implementation crashes or it seems loop forever with > this test (I guess due to some memory corruption).
Yes, the list somehow becomes corrupted. Even when restarting the iteration it is better to use llist_for_each_entry_safe and del timer before calling the callback. Somehow a NULL element ends in the list (with llist_del it would still be poisoned), i will take a deeper look (just out of curiosity) holger
