summaryrefslogtreecommitdiffstats
path: root/lib/sbitmap.c
AgeCommit message (Expand)AuthorLines
2022-01-27blk-mq: Fix wrong wakeup batch configuration which will cause hangLaibin Qiu-2/+6
2022-01-13blk-mq: fix tag_get wait task can't be awakenedLaibin Qiu-3/+22
2021-10-25sbitmap: silence data race warningJens Axboe-1/+1
2021-10-18sbitmap: add helper to clear a batch of tagsJens Axboe-3/+41
2021-10-18sbitmap: add __sbitmap_queue_get_batch()Jens Axboe-0/+51
2021-07-08lib: fix spelling mistakesZhen Lei-1/+1
2021-03-04scsi: sbitmap: Add sbitmap_calculate_shift() helperMing Lei-13/+3
2021-03-04scsi: sbitmap: Export sbitmap_weightMing Lei-5/+6
2021-03-04scsi: sbitmap: Move allocation hint into sbitmapMing Lei-46/+66
2021-03-04scsi: sbitmap: Add helpers for updating allocation hintMing Lei-39/+54
2021-03-04scsi: sbitmap: Maintain allocation round_robin in sbitmapMing Lei-14/+14
2020-12-07sbitmap: simplify wrap checkPavel Begunkov-3/+5
2020-12-07sbitmap: replace CAS with atomic andPavel Begunkov-5/+3
2020-12-07sbitmap: remove swap_lockPavel Begunkov-11/+3
2020-12-07sbitmap: optimise sbitmap_deferred_clear()Pavel Begunkov-12/+12
2020-07-01sbitmap: Consider cleared bits in sbitmap_bitmap_show()John Garry-0/+3
2019-12-20sbitmap: only queue kyber's wait callback if not already activeDavid Jeffery-1/+1
2019-11-13sbitmap: Delete sbitmap_any_bit_clear()John Garry-17/+0
2019-07-01sbitmap: Replace cmpxchg with xchgPavel Begunkov-7/+3
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 328Thomas Gleixner-12/+1
2019-05-23sbitmap: fix improper use of smp_mb__before_atomic()Andrea Parri-1/+1
2019-03-25sbitmap: order READ/WRITE freed instance and setting clear bitMing Lei-0/+11
2019-01-15sbitmap: Protect swap_lock from hardirqMing Lei-2/+3
2019-01-15sbitmap: Protect swap_lock from softirqsSteven Rostedt (VMware)-10/+2
2018-12-20sbitmap: add helpers for add/del wait queue handlingJens Axboe-4/+26
2018-12-11sbitmap: flush deferred clears for resize and shallow getsJens Axboe-43/+51
2018-12-09sbitmap: silence bogus lockdep IRQ warningJens Axboe-0/+8
2018-11-30sbitmap: optimize wakeup checkJens Axboe-0/+28
2018-11-30sbitmap: ammortize cost of clearing bitsJens Axboe-8/+73
2018-11-29sbitmap: don't loop for find_next_zero_bit() for !round_robinJens Axboe-8/+13
2018-06-12treewide: kzalloc_node() -> kcalloc_node()Kees Cook-1/+1
2018-05-24blk-mq: avoid starving tag allocation after allocating process migratesMing Lei-14/+15
2018-05-14sbitmap: fix race in wait batch accountingJens Axboe-10/+25
2018-05-10sbitmap: warn if using smaller shallow depth than was setupOmar Sandoval-0/+2
2018-05-10sbitmap: fix missed wakeups caused by sbitmap_queue_get_shallow()Omar Sandoval-9/+40
2018-02-28sbitmap: use test_and_set_bit_lock()/clear_bit_unlock()Omar Sandoval-5/+5
2017-12-22blk-mq: improve heavily contended tag caseJens Axboe-1/+1
2017-04-14sbitmap: add sbitmap_get_shallow() operationOmar Sandoval-7/+68
2017-03-02kasan, sched/headers: Uninline kasan_enable/disable_current()Ingo Molnar-0/+1
2017-01-27sbitmap: add helpers for dumping to a seq_fileOmar Sandoval-0/+91
2017-01-18sbitmap: fix wakeup hang after sbq resizeOmar Sandoval-5/+30
2017-01-18sbitmap: use smp_mb__after_atomic() in sbq_wake_up()Omar Sandoval-3/+10
2016-09-19sbitmap: initialize weight to zeroColin Ian King-1/+1
2016-09-17sbitmap: don't update the allocation hint on clear after resizeOmar Sandoval-1/+1
2016-09-17sbitmap: re-initialize allocation hints after resizeOmar Sandoval-2/+7
2016-09-17sbitmap: randomize initial alloc_hint valuesOmar Sandoval-0/+6
2016-09-17sbitmap: push alloc policy into sbitmap_queueOmar Sandoval-6/+8
2016-09-17sbitmap: push per-cpu last_tag into sbitmap_queueOmar Sandoval-1/+34
2016-09-17sbitmap: allocate wait queues on a specific nodeOmar Sandoval-1/+1
2016-09-17blk-mq: abstract tag allocation out into sbitmap libraryOmar Sandoval-0/+301