public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephan von Krawczynski <skraw@ithnet.com>
To: Ed Tomlinson <tomlins@cam.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: new OOM heuristic failure  (was: Re: VM: qsbench)
Date: Fri, 02 Nov 2001 04:01:27 +0100	[thread overview]
Message-ID: <200111020301.EAA30696@webserver.ithnet.com> (raw)
In-Reply-To: <20011102023711.EC03D93E4D@oscar.casa.dyndns.org>

> Hi,                                                                 
>                                                                     
> shrink_caches can end up lying.  shrink_dcache_memory and friends do
not tell                                                              
> shrink_caches how many pages they free so nr_pages can be bogus...  
Is it worth                                                           
> fixing?  The simpliest, harmlessly racey and not too pretty, code   
follows.  It                                                          
> would also not be hard to change the shrink_ calls to return the    
number of pages                                                       
> shrunk, but this would hit more code...                             
>                                                                     
> Comments?                                                           
                                                                      
I believe the idea of having a more precise nr_pages value can make a 
difference. We are trying to estimate if swapping is needed, which is 
pretty expensive. If we can avoid it by more accurately knowing what  
is really going on (without _too_ much costs) we can only win.        
                                                                      
Regards,                                                              
Stephan                                                               
                                                                      
                                                                      
                                                                      

  reply	other threads:[~2001-11-02  3:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-02  2:37 new OOM heuristic failure (was: Re: VM: qsbench) Ed Tomlinson
2001-11-02  3:01 ` Stephan von Krawczynski [this message]
     [not found] <200111012108.WAA28044@webserver.ithnet.com>
     [not found] ` <3.0.6.32.20011101214957.01feaa70@pop.tiscalinet.it>
2001-11-01 21:59   ` Lorenzo Allegrucci
2001-11-01 23:35     ` Stephan von Krawczynski
2001-11-02  0:37       ` Linus Torvalds
2001-11-02  2:17         ` Stephan von Krawczynski
2001-11-02  2:21           ` Linus Torvalds
2001-11-02  2:30         ` Stephan von Krawczynski
2001-11-02  2:55           ` Stephan von Krawczynski
     [not found] <Pine.LNX.3.96.1011031133645.448B-100000@gollum.norang.ca>
2001-10-31 19:46 ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2001-10-31 12:12 VM: qsbench Lorenzo Allegrucci
2001-10-31 15:00 ` new OOM heuristic failure (was: Re: VM: qsbench) Rik van Riel
2001-10-31 15:52   ` Linus Torvalds
2001-10-31 16:04     ` Rik van Riel
2001-10-31 17:42       ` Stephan von Krawczynski
2001-10-31 18:22         ` Linus Torvalds
2001-10-31 17:55   ` Lorenzo Allegrucci
2001-10-31 18:06     ` Linus Torvalds
2001-10-31 21:31     ` Lorenzo Allegrucci
2001-11-02 13:00     ` Stephan von Krawczynski
2001-11-02 17:36     ` Lorenzo Allegrucci

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=200111020301.EAA30696@webserver.ithnet.com \
    --to=skraw@ithnet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tomlins@cam.org \
    /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