Axel Rasmussen
964ab0040f
userfaultfd/shmem: advertise shmem minor fault support
...
Now that the feature is fully implemented (the faulting path hooks exist
so userspace is notified, and the ioctl to resolve such faults is
available), advertise this as a supported feature.
Link: https://lkml.kernel.org/r/20210503180737.2487560-6-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com >
Acked-by: Hugh Dickins <hughd@google.com >
Acked-by: Peter Xu <peterx@redhat.com >
Cc: Alexander Viro <viro@zeniv.linux.org.uk >
Cc: Andrea Arcangeli <aarcange@redhat.com >
Cc: Brian Geffon <bgeffon@google.com >
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com >
Cc: Jerome Glisse <jglisse@redhat.com >
Cc: Joe Perches <joe@perches.com >
Cc: Kirill A. Shutemov <kirill@shutemov.name >
Cc: Lokesh Gidra <lokeshgidra@google.com >
Cc: Mike Kravetz <mike.kravetz@oracle.com >
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com >
Cc: Mina Almasry <almasrymina@google.com >
Cc: Oliver Upton <oupton@google.com >
Cc: Shaohua Li <shli@fb.com >
Cc: Shuah Khan <shuah@kernel.org >
Cc: Stephen Rothwell <sfr@canb.auug.org.au >
Cc: Wang Qing <wangqing@vivo.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2021-06-30 20:47:27 -07:00
Axel Rasmussen
b8da5cd4e5
userfaultfd: update documentation to describe minor fault handling
...
Reword / reorganize things a little bit into "lists", so new features /
modes / ioctls can sort of just be appended.
Describe how UFFDIO_REGISTER_MODE_MINOR and UFFDIO_CONTINUE can be used to
intercept and resolve minor faults. Make it clear that COPY and ZEROPAGE
are used for MISSING faults, whereas CONTINUE is used for MINOR faults.
Link: https://lkml.kernel.org/r/20210301222728.176417-6-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com >
Reviewed-by: Peter Xu <peterx@redhat.com >
Cc: Adam Ruprecht <ruprecht@google.com >
Cc: Alexander Viro <viro@zeniv.linux.org.uk >
Cc: Alexey Dobriyan <adobriyan@gmail.com >
Cc: Andrea Arcangeli <aarcange@redhat.com >
Cc: Anshuman Khandual <anshuman.khandual@arm.com >
Cc: Cannon Matthews <cannonmatthews@google.com >
Cc: Catalin Marinas <catalin.marinas@arm.com >
Cc: Chinwen Chang <chinwen.chang@mediatek.com >
Cc: David Rientjes <rientjes@google.com >
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com >
Cc: Huang Ying <ying.huang@intel.com >
Cc: Ingo Molnar <mingo@redhat.com >
Cc: Jann Horn <jannh@google.com >
Cc: Jerome Glisse <jglisse@redhat.com >
Cc: Kirill A. Shutemov <kirill@shutemov.name >
Cc: Lokesh Gidra <lokeshgidra@google.com >
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org >
Cc: Michael Ellerman <mpe@ellerman.id.au >
Cc: "Michal Koutn" <mkoutny@suse.com >
Cc: Michel Lespinasse <walken@google.com >
Cc: Mike Kravetz <mike.kravetz@oracle.com >
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com >
Cc: Mina Almasry <almasrymina@google.com >
Cc: Nicholas Piggin <npiggin@gmail.com >
Cc: Oliver Upton <oupton@google.com >
Cc: Shaohua Li <shli@fb.com >
Cc: Shawn Anastasio <shawn@anastas.io >
Cc: Steven Price <steven.price@arm.com >
Cc: Steven Rostedt <rostedt@goodmis.org >
Cc: Vlastimil Babka <vbabka@suse.cz >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2021-05-05 11:27:23 -07:00
Andrew Klychkov
751d5b2741
Documentation: fix multiple typos found in the admin-guide subdirectory
...
Fix thirty five typos in dm-integrity.rst, dm-raid.rst, dm-zoned.rst,
verity.rst, writecache.rst, tsx_async_abort.rst, md.rst, bttv.rst,
dvb_references.rst, frontend-cardlist.rst, gspca-cardlist.rst, ipu3.rst,
remote-controller.rst, mm/index.rst, numaperf.rst, userfaultfd.rst,
module-signing.rst, imx-ddr.rst, intel-speed-select.rst,
intel_pstate.rst, ramoops.rst, abi.rst, kernel.rst, vm.rst
Signed-off-by: Andrew Klychkov <andrew.a.klychkov@gmail.com >
Link: https://lore.kernel.org/r/20201204072848.GA49895@spblnx124.lan
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2020-12-08 10:27:56 -07:00
Michel Lespinasse
c1e8d7c6a7
mmap locking API: convert mmap_sem comments
...
Convert comments that reference mmap_sem to reference mmap_lock instead.
[akpm@linux-foundation.org: fix up linux-next leftovers]
[akpm@linux-foundation.org: s/lockaphore/lock/, per Vlastimil]
[akpm@linux-foundation.org: more linux-next fixups, per Michel]
Signed-off-by: Michel Lespinasse <walken@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: Davidlohr Bueso <dbueso@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Laurent Dufour <ldufour@linux.ibm.com>
Cc: Liam Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ying Han <yinghan@google.com>
Link: http://lkml.kernel.org/r/20200520052908.204642-13-walken@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2020-06-09 09:39:14 -07:00
Mauro Carvalho Chehab
4a3fe6541c
docs: mm: userfaultfd.rst: use a cross-reference for a section
...
Instead of using "foo", let's use `foo`_, with is a ReST way of
saying that foo is a section of the document. With that, after
building the docs, an hyperlink is generated.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/f46b45f1aaec233217f2e0b0438bbd8cc16fe17b.1586881715.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2020-04-20 15:45:23 -06:00
Mauro Carvalho Chehab
14a7e51ff1
docs: mm: userfaultfd.rst: use `foo` for literals
...
Several parts of this document define literals: ioctl names,
function calls, directory patches, etc. Mark those as literal
blocks, in order to improve its readability (both at text mode
and after parsed by Sphinx.
This fixes those two warnings:
Documentation/admin-guide/mm/userfaultfd.rst:139: WARNING: Inline emphasis start-string without end-string.
Documentation/admin-guide/mm/userfaultfd.rst:139: WARNING: Inline emphasis start-string without end-string.
produced during documentation build.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
Link: https://lore.kernel.org/r/2ae061761baf8fe00cdf8a7e6dae293756849a05.1586881715.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2020-04-20 15:45:23 -06:00
Martin Cracauer
57e5d4f278
userfaultfd: wp: UFFDIO_REGISTER_MODE_WP documentation update
...
Add documentation about the write protection support.
[peterx@redhat.com: rewrite in rst format; fixups here and there]
Signed-off-by: Martin Cracauer <cracauer@cons.org>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Bobby Powers <bobbypowers@gmail.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Denis Plotnikov <dplotnikov@virtuozzo.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: "Kirill A . Shutemov" <kirill@shutemov.name>
Cc: Marty McFadden <mcfadden8@llnl.gov>
Cc: Maya Gokhale <gokhale2@llnl.gov>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shaohua Li <shli@fb.com>
Link: http://lkml.kernel.org/r/20200220163112.11409-17-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2020-04-07 10:43:39 -07:00
Mike Rapoport
1ad1335dc5
docs/admin-guide/mm: start moving here files from Documentation/vm
...
Several documents in Documentation/vm fit quite well into the "admin/user
guide" category. The documents that don't overload the reader with lots of
implementation details and provide coherent description of certain feature
can be moved to Documentation/admin-guide/mm.
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com >
Signed-off-by: Jonathan Corbet <corbet@lwn.net >
2018-04-27 17:02:48 -06:00