docs: rename Documentation/vm to Documentation/mm
so it will be consistent with code mm directory and with Documentation/admin-guide/mm and won't be confused with virtual machines. Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Suggested-by: Matthew Wilcox <willy@infradead.org> Tested-by: Ira Weiny <ira.weiny@intel.com> Acked-by: Jonathan Corbet <corbet@lwn.net> Acked-by: Wu XiangCheng <bobwxc@email.cn>
This commit is contained in:
parent
46a3b11253
commit
ee65728e10
107 changed files with 89 additions and 93 deletions
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* Authors: Jérôme Glisse <jglisse@redhat.com>
|
||||
*
|
||||
* See Documentation/vm/hmm.rst for reasons and overview of what HMM is.
|
||||
* See Documentation/mm/hmm.rst for reasons and overview of what HMM is.
|
||||
*/
|
||||
#ifndef LINUX_HMM_H
|
||||
#define LINUX_HMM_H
|
||||
|
|
@ -100,7 +100,7 @@ struct hmm_range {
|
|||
};
|
||||
|
||||
/*
|
||||
* Please see Documentation/vm/hmm.rst for how to use the range API.
|
||||
* Please see Documentation/mm/hmm.rst for how to use the range API.
|
||||
*/
|
||||
int hmm_range_fault(struct hmm_range *range);
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ struct vmem_altmap {
|
|||
* must be treated as an opaque object, rather than a "normal" struct page.
|
||||
*
|
||||
* A more complete discussion of unaddressable memory may be found in
|
||||
* include/linux/hmm.h and Documentation/vm/hmm.rst.
|
||||
* include/linux/hmm.h and Documentation/mm/hmm.rst.
|
||||
*
|
||||
* MEMORY_DEVICE_FS_DAX:
|
||||
* Host memory that has similar access semantics as System RAM i.e. DMA
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ struct mmu_notifier_ops {
|
|||
* invalidate_range_start()/end() notifiers, as
|
||||
* invalidate_range() already catches the points in time when an
|
||||
* external TLB range needs to be flushed. For more in depth
|
||||
* discussion on this see Documentation/vm/mmu_notifier.rst
|
||||
* discussion on this see Documentation/mm/mmu_notifier.rst
|
||||
*
|
||||
* Note that this function might be called with just a sub-range
|
||||
* of what was passed to invalidate_range_start()/end(), if
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ extern struct mm_struct *mm_alloc(void);
|
|||
*
|
||||
* Use mmdrop() to release the reference acquired by mmgrab().
|
||||
*
|
||||
* See also <Documentation/vm/active_mm.rst> for an in-depth explanation
|
||||
* See also <Documentation/mm/active_mm.rst> for an in-depth explanation
|
||||
* of &mm_struct.mm_count vs &mm_struct.mm_users.
|
||||
*/
|
||||
static inline void mmgrab(struct mm_struct *mm)
|
||||
|
|
@ -92,7 +92,7 @@ static inline void mmdrop_sched(struct mm_struct *mm)
|
|||
*
|
||||
* Use mmput() to release the reference acquired by mmget().
|
||||
*
|
||||
* See also <Documentation/vm/active_mm.rst> for an in-depth explanation
|
||||
* See also <Documentation/mm/active_mm.rst> for an in-depth explanation
|
||||
* of &mm_struct.mm_count vs &mm_struct.mm_users.
|
||||
*/
|
||||
static inline void mmget(struct mm_struct *mm)
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ static inline int current_is_kswapd(void)
|
|||
|
||||
/*
|
||||
* Unaddressable device memory support. See include/linux/hmm.h and
|
||||
* Documentation/vm/hmm.rst. Short description is we need struct pages for
|
||||
* Documentation/mm/hmm.rst. Short description is we need struct pages for
|
||||
* device memory that is unaddressable (inaccessible) by CPU, so that we can
|
||||
* migrate part of a process memory to device memory.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue