Linux kernel source tree
Go to file
Pavel Begunkov 6bbd3411ff io_uring/zcrx: don't leak pages on account failure
Someone needs to release pinned pages in io_import_umem() if accounting
fails. Assign them to the area but return an error, the following
io_zcrx_free_area() will clean them up.

Fixes: 262ab20518 ("io_uring/zcrx: account area memory")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e19f283a912f200c0d427e376cb789fc3f3d69bc.1753091564.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-07-21 06:47:45 -06:00
arch
block
certs
crypto
Documentation
drivers
fs btrfs/ioctl: store btrfs_uring_encoded_data in io_btrfs_cmd 2025-07-18 12:34:56 -06:00
include io_uring/cmd: remove struct io_uring_cmd_data 2025-07-18 12:34:56 -06:00
init io_uring: fix breakage in EXPERT menu 2025-07-20 12:32:54 -06:00
io_uring io_uring/zcrx: don't leak pages on account failure 2025-07-21 06:47:45 -06:00
ipc
kernel
lib
LICENSES
mm
net Merge branch 'timestamp-for-jens' of https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next into for-6.17/io_uring 2025-06-23 08:59:38 -06:00
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 io_uring/mock: add basic infra for test mock files 2025-07-02 08:10:26 -06:00
Makefile
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.