balance.rst (70756b49be4ea8bf36a664322df6e7e89895fa60) balance.rst (3822a7c40997dc86b1458766a3f146d62393f084)
1================
2Memory Balancing
3================
4
5Started Jan 2000 by Kanoj Sarcar <kanoj@sgi.com>
6
1================
2Memory Balancing
3================
4
5Started Jan 2000 by Kanoj Sarcar <kanoj@sgi.com>
6
7Memory balancing is needed for !__GFP_ATOMIC and !__GFP_KSWAPD_RECLAIM as
7Memory balancing is needed for !__GFP_HIGH and !__GFP_KSWAPD_RECLAIM as
8well as for non __GFP_IO allocations.
9
10The first reason why a caller may avoid reclaim is that the caller can not
11sleep due to holding a spinlock or is in interrupt context. The second may
12be that the caller is willing to fail the allocation without incurring the
13overhead of page reclaim. This may happen for opportunistic high-order
14allocation requests that have order-0 fallback options. In such cases,
15the caller may also wish to avoid waking kswapd.

--- 85 unchanged lines hidden ---
8well as for non __GFP_IO allocations.
9
10The first reason why a caller may avoid reclaim is that the caller can not
11sleep due to holding a spinlock or is in interrupt context. The second may
12be that the caller is willing to fail the allocation without incurring the
13overhead of page reclaim. This may happen for opportunistic high-order
14allocation requests that have order-0 fallback options. In such cases,
15the caller may also wish to avoid waking kswapd.

--- 85 unchanged lines hidden ---