No description
Find a file
Jens Axboe daee327e4c eventfd: provide a eventfd_signal_mask() helper
[ Upstream commit 03e02acda8 ]

This is identical to eventfd_signal(), but it allows the caller to pass
in a mask to be used for the poll wakeup key. The use case is avoiding
repeated multishot triggers if we have a dependency between eventfd and
io_uring.

If we setup an eventfd context and register that as the io_uring eventfd,
and at the same time queue a multishot poll request for the eventfd
context, then any CQE posted will repeatedly trigger the multishot request
until it terminates when the CQ ring overflows.

In preparation for io_uring detecting this circular dependency, add the
mentioned helper so that io_uring can pass in EPOLL_URING as part of the
poll wakeup key.

Cc: stable@vger.kernel.org # 6.0
[axboe: fold in !CONFIG_EVENTFD fix from Zhang Qilong]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:58:41 +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: don't gate task_work run on TIF_NOTIFY_SIGNAL 2023-04-19 17:58:41 +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.