Go to file
Yu Kuai b86433721f blk-mq: fix potential deadlock while nr_requests grown
Allocate and free sched_tags while queue is freezed can deadlock[1],
this is a long term problem, hence allocate memory before freezing
queue and free memory after queue is unfreezed.

[1] https://lore.kernel.org/all/0659ea8d-a463-47c8-9180-43c719e106eb@linux.ibm.com/
Fixes: e3a2b3f931 ("blk-mq: allow changing of queue depth through sysfs")

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-09-10 05:25:56 -06:00
Documentation md/md-llbitmap: introduce new lockless bitmap 2025-09-06 17:27:51 +08:00
LICENSES
arch switching ->getgeo() from struct block_device to struct gendisk 2025-09-03 15:15:43 -06:00
block blk-mq: fix potential deadlock while nr_requests grown 2025-09-10 05:25:56 -06:00
certs
crypto
drivers ublk: consolidate nr_io_ready and nr_queues_ready 2025-09-10 05:24:53 -06:00
fs iomap: simplify direct io validity check 2025-09-09 10:27:01 -06:00
include block: factor out a helper bio_submit_split_bioset() 2025-09-10 05:23:45 -06:00
init
io_uring
ipc
kernel
lib iov_iter: remove iov_iter_is_aligned 2025-09-09 10:27:01 -06:00
mm
net
rust
samples
scripts
security
sound
tools
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.pylintrc
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.