内核zone里有个水位的概念,根据这个水位判断内存压力,从而进行内存回收,版本3.18。
struct zone { /* Read-mostly fields */ /* zone watermarks, access with *_wmark_pages(zone) macros */ unsigned long watermark[NR_WM...
I’m reading code about in kernel lowmemorykiller, lets know about some concepts related.
vmpressure: monitor Linux virtual memory management pressure
kernel page reclaim: backgr...
take a picture
No module named pywapi
download address: https://github.com/kapt/pywapi
No module named psutil
download address: https://github.com/packages/psutil
No file n...
目录
What is high memory
kmap_atomic
kunmap_atomic
What is high memory先看下内核文档kernel3.18 vm/highmem.txt的说明:
High memory (highmem) is used when the size of physical memory appr...