No description
Find a file
Christoph Hellwig 888933f8fd aio: simplify cancellation
With the current aio code there is no need for the magic KIOCB_CANCELLED
value, as a cancelation just kicks the driver to queue the completion
ASAP, with all actual completion handling done in another thread. Given
that both the completion path and cancelation take the context lock there
is no need for magic cmpxchg loops either.  If we remove iocbs from the
active list after calling ->ki_cancel (but with ctx_lock still held), we
can also rely on the invariant thay anything found on the list has a
->ki_cancel callback and can be cancelled, further simplifing the code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-05-26 09:16:44 +02:00
arch aio: implement io_pgetevents 2018-05-02 19:57:24 +02:00
block
certs
crypto
Documentation fs: introduce new ->get_poll_head and ->poll_mask methods 2018-05-26 09:16:44 +02:00
drivers fs: add new vfs_poll and file_can_poll helpers 2018-05-26 09:16:44 +02:00
firmware
fs aio: simplify cancellation 2018-05-26 09:16:44 +02:00
include aio: simplify KIOCB_KEY handling 2018-05-26 09:16:44 +02:00
init
ipc
kernel aio: implement io_pgetevents 2018-05-02 19:57:24 +02:00
lib Merge branch 'fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into aio-base 2018-05-26 09:16:25 +02:00
LICENSES
mm fs: add new vfs_poll and file_can_poll helpers 2018-05-26 09:16:44 +02:00
net fs: add new vfs_poll and file_can_poll helpers 2018-05-26 09:16:44 +02:00
samples
scripts
security Merge branch 'fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into aio-base 2018-05-26 09:16:25 +02:00
sound
tools Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-04-29 09:36:22 -07:00
usr
virt fs: add new vfs_poll and file_can_poll helpers 2018-05-26 09:16:44 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux v4.17-rc3 2018-04-29 14:17:42 -07: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.
See Documentation/00-INDEX for a list of what is contained in each file.

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.