summaryrefslogtreecommitdiff
path: root/lib/sbitmap.c
AgeCommit message (Expand)AuthorFilesLines
2022-10-11treewide: use prandom_u32_max() when possible, part 2Jason A. Donenfeld1-1/+1
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-09-29sbitmap: fix lockup while swappingHugh Dickins1-1/+1
2022-09-12sbitmap: fix batched wait_cnt accountingKeith Busch1-14/+23
2022-09-08sbitmap: Use atomic_long_try_cmpxchg in __sbitmap_queue_get_batchUros Bizjak1-5/+5
2022-09-08sbitmap: Avoid leaving waitqueue in invalid state in __sbq_wake_up()Jan Kara1-3/+15
2022-09-04Revert "sbitmap: fix batched wait_cnt accounting"Jens Axboe1-17/+14
2022-09-01sbitmap: fix batched wait_cnt accountingKeith Busch1-14/+17
2022-08-26sbitmap: remove unnecessary code in __sbitmap_queue_get_batchLiu Song1-3/+2
2022-08-23sbitmap: fix possible io hung due to lost wakeupYu Kuai1-22/+33
2022-06-25lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()wuchi1-1/+4
2022-03-21lib/sbitmap: allocate sb->map via kvzalloc_nodeMing Lei1-1/+1
2022-02-08sbitmap: Delete old sbitmap_queue_get_shallow()John Garry1-3/+3
2022-02-08lib/sbitmap: kill 'depth' from sbitmap_wordMing Lei1-20/+14
2022-01-27blk-mq: Fix wrong wakeup batch configuration which will cause hangLaibin Qiu1-2/+6
2022-01-13blk-mq: fix tag_get wait task can't be awakenedLaibin Qiu1-3/+22
2021-10-25sbitmap: silence data race warningJens Axboe1-1/+1
2021-10-18sbitmap: add helper to clear a batch of tagsJens Axboe1-3/+41
2021-10-18sbitmap: add __sbitmap_queue_get_batch()Jens Axboe1-0/+51
2021-07-08lib: fix spelling mistakesZhen Lei1-1/+1
2021-03-04scsi: sbitmap: Add sbitmap_calculate_shift() helperMing Lei1-13/+3
2021-03-04scsi: sbitmap: Export sbitmap_weightMing Lei1-5/+6
2021-03-04scsi: sbitmap: Move allocation hint into sbitmapMing Lei1-46/+66
2021-03-04scsi: sbitmap: Add helpers for updating allocation hintMing Lei1-39/+54
2021-03-04scsi: sbitmap: Maintain allocation round_robin in sbitmapMing Lei1-14/+14
2020-12-07sbitmap: simplify wrap checkPavel Begunkov1-3/+5
2020-12-07sbitmap: replace CAS with atomic andPavel Begunkov1-5/+3
2020-12-07sbitmap: remove swap_lockPavel Begunkov1-11/+3
2020-12-07sbitmap: optimise sbitmap_deferred_clear()Pavel Begunkov1-12/+12
2020-07-01sbitmap: Consider cleared bits in sbitmap_bitmap_show()John Garry1-0/+3
2019-12-20sbitmap: only queue kyber's wait callback if not already activeDavid Jeffery1-1/+1
2019-11-13sbitmap: Delete sbitmap_any_bit_clear()John Garry1-17/+0
2019-07-01sbitmap: Replace cmpxchg with xchgPavel Begunkov1-7/+3
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 328Thomas Gleixner1-12/+1
2019-05-23sbitmap: fix improper use of smp_mb__before_atomic()Andrea Parri1-1/+1
2019-03-25sbitmap: order READ/WRITE freed instance and setting clear bitMing Lei1-0/+11
2019-01-15sbitmap: Protect swap_lock from hardirqMing Lei1-2/+3
2019-01-15sbitmap: Protect swap_lock from softirqsSteven Rostedt (VMware)1-10/+2
2018-12-20sbitmap: add helpers for add/del wait queue handlingJens Axboe1-4/+26
2018-12-11sbitmap: flush deferred clears for resize and shallow getsJens Axboe1-43/+51
2018-12-09sbitmap: silence bogus lockdep IRQ warningJens Axboe1-0/+8
2018-11-30sbitmap: optimize wakeup checkJens Axboe1-0/+28
2018-11-30sbitmap: ammortize cost of clearing bitsJens Axboe1-8/+73
2018-11-29sbitmap: don't loop for find_next_zero_bit() for !round_robinJens Axboe1-8/+13
2018-06-12treewide: kzalloc_node() -> kcalloc_node()Kees Cook1-1/+1
2018-05-24blk-mq: avoid starving tag allocation after allocating process migratesMing Lei1-14/+15
2018-05-14sbitmap: fix race in wait batch accountingJens Axboe1-10/+25
2018-05-10sbitmap: warn if using smaller shallow depth than was setupOmar Sandoval1-0/+2
2018-05-10sbitmap: fix missed wakeups caused by sbitmap_queue_get_shallow()Omar Sandoval1-9/+40
2018-02-28sbitmap: use test_and_set_bit_lock()/clear_bit_unlock()Omar Sandoval1-5/+5