1SET_DMA_RESERVE(9) Memory Management in Linux SET_DMA_RESERVE(9)
2
3
4
6 set_dma_reserve - set the specified number of pages reserved in the
7 first zone
8
10 void set_dma_reserve(unsigned long new_dma_reserve);
11
13 new_dma_reserve
14 The number of pages to mark reserved
15
17 The per-cpu batchsize and zone watermarks are determined by
18 present_pages. In the DMA zone, a significant percentage may be
19 consumed by kernel image and other unfreeable allocations which can
20 skew the watermarks badly. This function may optionally be used to
21 account for unfreeable pages in the first zone (e.g., ZONE_DMA). The
22 effect will be lower watermarks and smaller per-cpu batchsize.
23
25Kernel Hackers Manual 2.6. June 2019 SET_DMA_RESERVE(9)