[lkml]   [2004]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: lowmem_reserve (replaces protection)
On Wed, 27 Oct 2004, Andrea Arcangeli wrote:

> what we'll happen is that we'll blindly free a few pages from each zone,
> but then we'll be allowed to allocate the highmem pages, and not the
> normal/dma pages. So after allocating the highmem pages we invoke kswapd
> again and it frees again some highmem/normal/dma pages but we keep only
> using the highmem ones. So for a while we may be rolling over only the
> highmem lru and ignoring all freed pages from the normal/dma zones.

This is not how the page allocator in 2.6 works.

It will not wake up kswapd until it is past the low
watermark in all zones.

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.343 / U:2.672 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site