No description
Find a file
Dylan Yudaken 1da1b6a33b io_uring: do not recalculate ppos unnecessarily
commit b4aec40015 upstream.

There is a slight optimisation to be had by calculating the correct pos
pointer inside io_kiocb_update_pos and then using that later.

It seems code size drops by a bit:
000000000000a1b0 0000000000000400 t io_read
000000000000a5b0 0000000000000319 t io_write

vs
000000000000a1b0 00000000000003f6 t io_read
000000000000a5b0 0000000000000310 t io_write

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:58:42 +08:00
arch perf/x86/rapl: Treat Tigerlake like Icelake 2023-04-19 17:58:40 +08:00
block block: handle bio_split_to_limits() NULL return 2023-04-19 17:58:39 +08:00
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist 2023-04-19 17:50:34 +08:00
crypto crypto: tcrypt - Fix multibuffer skcipher speed test mem leak 2023-04-19 17:57:39 +08:00
Documentation KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID 2023-04-19 17:58:38 +08:00
drivers drm/amd: Delay removal of the firmware framebuffer 2023-04-19 17:58:41 +08:00
fs eventfd: provide a eventfd_signal_mask() helper 2023-04-19 17:58:41 +08:00
include eventfd: provide a eventfd_signal_mask() helper 2023-04-19 17:58:41 +08:00
init init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash 2023-04-19 17:56:40 +08:00
io_uring io_uring: do not recalculate ppos unnecessarily 2023-04-19 17:58:42 +08:00
ipc ipc/sem: Fix dangling sem_array access in semtimedop race 2023-04-19 17:56:54 +08:00
kernel sched/core: Fix use-after-free bug in dup_user_cpus_ptr() 2023-04-19 17:58:35 +08:00
lib overflow: Implement size_t saturating arithmetic helpers 2023-04-19 17:57:48 +08:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm hugetlb: unshare some PMDs when splitting VMAs 2023-04-19 17:58:41 +08:00
net wifi: mac80211: sdata can be NULL during AMPDU start 2023-04-19 17:58:40 +08:00
samples samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe() 2023-04-19 17:57:46 +08:00
scripts scripts/faddr2line: Fix regression in name resolution on ppc64le 2023-04-19 17:56:46 +08:00
security device_cgroup: Roll back to original exceptions after copy failure 2023-04-19 17:58:18 +08:00
sound ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform 2023-04-19 17:58:41 +08:00
tools tools/virtio: initialize spinlocks in vring_test.c 2023-04-19 17:58:39 +08:00
usr usr/include/Makefile: add linux/nfc.h to the compile-test coverage 2023-04-19 17:44:58 +08:00
virt kvm: Add support for arch compat vm ioctls 2023-04-19 17:55:40 +08:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore .gitignore: ignore only top-level modules.builtin 2021-05-02 00:43:35 +09:00
.mailmap mailmap: add Andrej Shadura 2021-10-18 20:22:03 -10:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Move Daniel Drake to credits 2021-09-21 08:34:58 +03:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS futex: Move to kernel/futex/ 2023-04-19 17:57:16 +08:00
Makefile Linux 5.15.89 2023-04-19 17:58:39 +08:00
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 Restructured Text 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.