-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'akpm' (patches from Andrew)
Merge yet more updates from Andrew Morton: - the rest of MM - various misc fixes and tweaks * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (22 commits) mm: Change return type int to vm_fault_t for fault handlers lib/fonts: convert comments to utf-8 s390: ebcdic: convert comments to UTF-8 treewide: convert ISO_8859-1 text comments to utf-8 drivers/gpu/drm/gma500/: change return type to vm_fault_t docs/core-api: mm-api: add section about GFP flags docs/mm: make GFP flags descriptions usable as kernel-doc docs/core-api: split memory management API to a separate file docs/core-api: move *{str,mem}dup* to "String Manipulation" docs/core-api: kill trailing whitespace in kernel-api.rst mm/util: add kernel-doc for kvfree mm/util: make strndup_user description a kernel-doc comment fs/proc/vmcore.c: hide vmcoredd_mmap_dumps() for nommu builds treewide: correct "differenciate" and "instanciate" typos fs/afs: use new return type vm_fault_t drivers/hwtracing/intel_th/msu.c: change return type to vm_fault_t mm: soft-offline: close the race against page allocation mm: fix race on soft-offlining free huge pages namei: allow restricted O_CREAT of FIFOs and regular files hfs: prevent crash on exit from failed search ...
- Loading branch information
Showing
63 changed files
with
1,209 additions
and
1,006 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
====================== | ||
Memory Management APIs | ||
====================== | ||
|
||
User Space Memory Access | ||
======================== | ||
|
||
.. kernel-doc:: arch/x86/include/asm/uaccess.h | ||
:internal: | ||
|
||
.. kernel-doc:: arch/x86/lib/usercopy_32.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/util.c | ||
:functions: get_user_pages_fast | ||
|
||
Memory Allocation Controls | ||
========================== | ||
|
||
Functions which need to allocate memory often use GFP flags to express | ||
how that memory should be allocated. The GFP acronym stands for "get | ||
free pages", the underlying memory allocation function. Not every GFP | ||
flag is allowed to every function which may allocate memory. Most | ||
users will want to use a plain ``GFP_KERNEL``. | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Page mobility and placement hints | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Watermark modifiers | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Reclaim modifiers | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Common combinations | ||
|
||
The Slab Cache | ||
============== | ||
|
||
.. kernel-doc:: include/linux/slab.h | ||
:internal: | ||
|
||
.. kernel-doc:: mm/slab.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/util.c | ||
:functions: kfree_const kvmalloc_node kvfree | ||
|
||
More Memory Management Functions | ||
================================ | ||
|
||
.. kernel-doc:: mm/readahead.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/filemap.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/memory.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/vmalloc.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/page_alloc.c | ||
:internal: | ||
|
||
.. kernel-doc:: mm/mempool.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/dmapool.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/page-writeback.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/truncate.c | ||
:export: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.