Lines Matching refs:to
7 sleep due to holding a spinlock or is in interrupt context. The second may
8 be that the caller is willing to fail the allocation without incurring the
11 the caller may also wish to avoid waking kswapd.
13 __GFP_IO allocation requests are made to prevent file system deadlocks.
16 to be doing balancing. Page reclamation can be kicked off lazily, that
20 That being said, the kernel should try to fulfill requests for direct
22 the dma pool, so as to keep the dma pool filled for dma requests (atomic
23 or not). A similar argument applies to highmem and direct mapped pages.
24 OTOH, if there is a lot of free dma pages, it is preferable to satisfy
32 been running production machines of varying memory sizes, and seems to be
33 doing fine even with the presence of this problem. In 2.3, due to
39 zone. The good part is, while balancing, we do not need to look at sizes
41 due to ignoring possibly lower usage in the lower class zones. Also,
42 with a slight change in the allocation routine, it is possible to reduce
43 the memclass() macro to be a simple equality.
48 balancing problem, and stays as close to 2.2 behavior as possible. Also,
50 which have different numbers and types of zones. If we wanted to get
51 fancy, we could assign different weights to free pages in different
54 Note that if the size of the regular zone is huge compared to dma zone,
55 it becomes less significant to consider the free dma pages while
56 deciding whether to balance the regular zone. The first solution
62 so as to give a fighting chance for replace_with_highmem() to get a
63 HIGHMEM page, as well as to ensure that HIGHMEM allocations do not
68 kswapd also needs to know about the zones it should balance. kswapd is
72 need to balance the highmem zone, since intr context does not request
74 structure to decide whether a zone needs balancing.
81 are per-zone fields, used to determine when a zone needs to be balanced. When
85 try to free some pages in the zone (providing GFP_WAIT is set in the request).
86 Orthogonal to this, is the decision to poke kswapd to free some zone pages.
94 2. Implement a replace_with_highmem()-like replace_with_regular() to preserve