summaryrefslogtreecommitdiff
path: root/linux/timer.c
AgeCommit message (Collapse)Author
2022-03-28Heap code fixKent Overstreet
When deleting an entry from a heap that was at entry h->used - 1, we'd end up calling heap_sift() on an entry outside the heap - the entry we just removed - which would end up re-adding it to the heap and deleting something we didn't want to delete. Oops... Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2019-11-07Fix refcount bug in blkdev and timer kthreads.Justin Husted
The shutdown code in d79d57e and b20e160 had a race condition during shutdown, due to not owning a reference on the associated task_struct while the associated threads shut themselves down. Patch over this by taking an appropriate reference. Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-11-03Stop the timer task at process exit time, to make valgrind happy.Justin Husted
Signed-off-by: Justin Husted <sigstop@gmail.com>
2018-05-17Update bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian ↵Kent Overstreet
machines
2017-03-19make linux shim timer code less fragileKent Overstreet
2017-01-20bcache in userspace; userspace fsckKent Overstreet