lkml.org 
[lkml]   [2009]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH/RFC] NOMMU: drop page cache whenever any alloc fails due to low memory
Date
The reclaim is not that aggressive.

Sonic

-----Original Message-----
From: Peter Zijlstra [mailto:peterz@infradead.org]
Sent: Tuesday, July 14, 2009 10:31 PM
To: Mike Frysinger
Cc: linux-kernel@vger.kernel.org;
uclinux-dist-devel@blackfin.uclinux.org; Zhang, Sonic; David Howells
Subject: Re: [PATCH/RFC] NOMMU: drop page cache whenever any alloc fails
due to low memory

On Tue, 2009-07-14 at 10:22 -0400, Mike Frysinger wrote:
> From: Sonic Zhang <sonic.zhang@analog.com>
>
> Since no-mmu systems tend to be memory constrained, we want to drop
> all of the page cache whenever memory gets low. The only other option

> is to invoke the oom killer, and clearly that's not ideal.

Uhm,.. normally reclaim will already try to drop pagecache.


\
 
 \ /
  Last update: 2009-07-15 05:31    [W:0.054 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site