mm-api.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. ======================
  2. Memory Management APIs
  3. ======================
  4. User Space Memory Access
  5. ========================
  6. .. kernel-doc:: arch/x86/include/asm/uaccess.h
  7. :internal:
  8. .. kernel-doc:: arch/x86/lib/usercopy_32.c
  9. :export:
  10. .. kernel-doc:: mm/util.c
  11. :functions: get_user_pages_fast
  12. .. _mm-api-gfp-flags:
  13. Memory Allocation Controls
  14. ==========================
  15. Functions which need to allocate memory often use GFP flags to express
  16. how that memory should be allocated. The GFP acronym stands for "get
  17. free pages", the underlying memory allocation function. Not every GFP
  18. flag is allowed to every function which may allocate memory. Most
  19. users will want to use a plain ``GFP_KERNEL``.
  20. .. kernel-doc:: include/linux/gfp.h
  21. :doc: Page mobility and placement hints
  22. .. kernel-doc:: include/linux/gfp.h
  23. :doc: Watermark modifiers
  24. .. kernel-doc:: include/linux/gfp.h
  25. :doc: Reclaim modifiers
  26. .. kernel-doc:: include/linux/gfp.h
  27. :doc: Common combinations
  28. The Slab Cache
  29. ==============
  30. .. kernel-doc:: include/linux/slab.h
  31. :internal:
  32. .. kernel-doc:: mm/slab.c
  33. :export:
  34. .. kernel-doc:: mm/util.c
  35. :functions: kfree_const kvmalloc_node kvfree
  36. More Memory Management Functions
  37. ================================
  38. .. kernel-doc:: mm/readahead.c
  39. :export:
  40. .. kernel-doc:: mm/filemap.c
  41. :export:
  42. .. kernel-doc:: mm/memory.c
  43. :export:
  44. .. kernel-doc:: mm/vmalloc.c
  45. :export:
  46. .. kernel-doc:: mm/page_alloc.c
  47. :internal:
  48. .. kernel-doc:: mm/mempool.c
  49. :export:
  50. .. kernel-doc:: mm/dmapool.c
  51. :export:
  52. .. kernel-doc:: mm/page-writeback.c
  53. :export:
  54. .. kernel-doc:: mm/truncate.c
  55. :export: