summaryrefslogtreecommitdiff
path: root/lib/sbitmap.c
AgeCommit message (Expand)Author
2024-01-15sbitmap: remove stale comment in sbq_calc_wake_batchKemeng Shi
2023-07-21sbitmap: fix batching wakeupDavid Jeffery
2023-01-29sbitmap: correct wake_batch recalculation to avoid potential IO hungKemeng Shi
2023-01-29sbitmap: add sbitmap_find_bit to remove repeat code in __sbitmap_get/__sbitma...Kemeng Shi
2023-01-29sbitmap: rewrite sbitmap_find_bit_in_index to reduce repeat codeKemeng Shi
2023-01-29sbitmap: remove redundant check in __sbitmap_queue_get_batchKemeng Shi
2023-01-29sbitmap: remove unnecessary calculation of alloc_hint in __sbitmap_get_shallowKemeng Shi
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld
2022-11-16sbitmap: Try each queue to wake up at least one waiterGabriel Krisman Bertazi
2022-11-16sbitmap: Advance the queue index before waking up a queueGabriel Krisman Bertazi
2022-11-11sbitmap: Use single per-bitmap counting to wake up queued tagsGabriel Krisman Bertazi
2022-10-11treewide: use prandom_u32_max() when possible, part 2Jason A. Donenfeld
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld
2022-09-29sbitmap: fix lockup while swappingHugh Dickins
2022-09-12sbitmap: fix batched wait_cnt accountingKeith Busch
2022-09-08sbitmap: Use atomic_long_try_cmpxchg in __sbitmap_queue_get_batchUros Bizjak
2022-09-08sbitmap: Avoid leaving waitqueue in invalid state in __sbq_wake_up()Jan Kara
2022-09-04Revert "sbitmap: fix batched wait_cnt accounting"Jens Axboe
2022-09-01sbitmap: fix batched wait_cnt accountingKeith Busch
2022-08-26sbitmap: remove unnecessary code in __sbitmap_queue_get_batchLiu Song
2022-08-23sbitmap: fix possible io hung due to lost wakeupYu Kuai
2022-06-25lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()wuchi
2022-03-21lib/sbitmap: allocate sb->map via kvzalloc_nodeMing Lei
2022-02-08sbitmap: Delete old sbitmap_queue_get_shallow()John Garry
2022-02-08lib/sbitmap: kill 'depth' from sbitmap_wordMing Lei
2022-01-27blk-mq: Fix wrong wakeup batch configuration which will cause hangLaibin Qiu
2022-01-13blk-mq: fix tag_get wait task can't be awakenedLaibin Qiu
2021-10-25sbitmap: silence data race warningJens Axboe
2021-10-18sbitmap: add helper to clear a batch of tagsJens Axboe
2021-10-18sbitmap: add __sbitmap_queue_get_batch()Jens Axboe
2021-07-08lib: fix spelling mistakesZhen Lei
2021-03-04scsi: sbitmap: Add sbitmap_calculate_shift() helperMing Lei
2021-03-04scsi: sbitmap: Export sbitmap_weightMing Lei
2021-03-04scsi: sbitmap: Move allocation hint into sbitmapMing Lei
2021-03-04scsi: sbitmap: Add helpers for updating allocation hintMing Lei
2021-03-04scsi: sbitmap: Maintain allocation round_robin in sbitmapMing Lei
2020-12-07sbitmap: simplify wrap checkPavel Begunkov
2020-12-07sbitmap: replace CAS with atomic andPavel Begunkov
2020-12-07sbitmap: remove swap_lockPavel Begunkov
2020-12-07sbitmap: optimise sbitmap_deferred_clear()Pavel Begunkov
2020-07-01sbitmap: Consider cleared bits in sbitmap_bitmap_show()John Garry
2019-12-20sbitmap: only queue kyber's wait callback if not already activeDavid Jeffery
2019-11-13sbitmap: Delete sbitmap_any_bit_clear()John Garry
2019-07-01sbitmap: Replace cmpxchg with xchgPavel Begunkov
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 328Thomas Gleixner
2019-05-23sbitmap: fix improper use of smp_mb__before_atomic()Andrea Parri
2019-03-25sbitmap: order READ/WRITE freed instance and setting clear bitMing Lei
2019-01-15sbitmap: Protect swap_lock from hardirqMing Lei
2019-01-15sbitmap: Protect swap_lock from softirqsSteven Rostedt (VMware)