linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: Rik van Riel <riel@conectiva.com.br>,
	"Stephen C. Tweedie" <sct@redhat.com>
Cc: lkml <linux-kernel@vger.kernel.org>, linux-mm@kvack.org
Subject: Re: [PATCH] VM fixes against 2.4.4-ac6
Date: Fri, 11 May 2001 13:42:57 -0300 (BRT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0105111340020.23350-100000@freak.distro.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.21.0105111222330.23350-100000@freak.distro.conectiva>


On Fri, 11 May 2001, Marcelo Tosatti wrote:

> Hi, 
> 
> The following patch addresses two issues:
> 
> 
> - Buffer cache pages in the inactive lists are not getting their age
> increased if they get touched by getblk (which will set the referenced bit
> on the page).  page_launder() simply cleans the referenced bit on such
> pages and moves them to the active list. To resume: buffercache pages
> suffer more pressure from VM than pagecache pages. That is horrible for
> performance.
> 
> 
> - When there is no memory available on the system for normal allocations
> (GFP_KERNEL), the tasks may loop in try_to_free_pages() (which is here
> called by __alloc_pages()) without blocking:
> 
> 	- GFP_BUFFER allocations will _never_ block on IO inside
> 	try_to_free_pages(). They will keep looping inside __alloc_pages() 
> 	until they get a free page. 
> 	
> 	- __GFP_IO|__GFP_WAIT allocations may not find any way to block on
> 	IO inside try_to_free_pages() in case we already have other tasks
> 	inside there (kswapd will be there in such condition, for sure).

Ah, one subtle issue here: if they loop, they'll probably bump
memory_pressure a lot.  

That will result in a bigger inactive target, which means aggressive
aging. 

 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

      reply	other threads:[~2001-05-11 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-11 16:08 Marcelo Tosatti
2001-05-11 16:42 ` Marcelo Tosatti [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0105111340020.23350-100000@freak.distro.conectiva \
    --to=marcelo@conectiva.com.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@conectiva.com.br \
    --cc=sct@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox