mm-api.rst 1.6 KB

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