public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Leigh Orf <orf@mailbag.com>
To: Andrew Morton <akpm@zip.com.au>
Cc: Ken Brownfield <brownfld@irridia.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.4.16 memory badness (reproducible)
Date: Sat, 08 Dec 2001 15:04:40 -0500	[thread overview]
Message-ID: <200112082004.fB8K4eQ02110@orp.orf.cx> (raw)
In-Reply-To: Your message of "Sat, 08 Dec 2001 11:41:22 PST." <3C126CE2.31726172@zip.com.au>


No change - identical behavior.

Leigh Orf

Andrew Morton wrote:

|   Leigh Orf wrote:
|   > 
|   > Ken Brownfield wrote:
|   > 
|   > |   This parallels what I'm seeing -- perhaps inode/dentry cache
|   > |   bloat is causing the memory issue (which mimics if not _is_
|   > |   a memory leak) _and_ my kswapd thrashing?  It fits both the
|   > |   situation you report and what I'm seeing with I/O across a
|   > |   large number of files (inodes) -- updatedb, smb, NFS, etc.
|   > |
|   > |   I think Andrea was on to this issue, so I'm hoping his work
|   > |   will help.  Have you tried an -aa kernel or an aa patch onto
|   > |   a 2.4.17-pre4 to see how the kernel's behavior changes?
|   > |
|   > |   --
|   > |   Ken.
|   > |   brownfld@irridia.com
|   > 
|   > I get the exact same behavior with 2.4.17-pre4-aa1 - many applications
|   > abort with ENOMEM after updatedb (filling the buffer and cache). Is
|   > there another kernel/patch I should try?
|   > 
|   
|   Just for interest's sake:
|   
|   --- linux-2.4.17-pre6/mm/memory.c	Fri Dec  7 15:39:52 2001
|   +++ linux-akpm/mm/memory.c	Sat Dec  8 11:13:30 2001
|   @@ -1184,6 +1184,7 @@ static int do_anonymous_page(struct mm_s
|    		flush_page_to_ram(page);
|    		entry = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot)));
|    		lru_cache_add(page);
|   +		activate_page(page);
|    	}
|    
|    	set_pte(page_table, entry);


  reply	other threads:[~2001-12-08 20:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-08 15:39 2.4.16 memory badness (reproducible) Leigh Orf
2001-12-08 15:56 ` Ken Brownfield
2001-12-08 18:54   ` Leigh Orf
2001-12-08 19:41     ` Andrew Morton
2001-12-08 20:04       ` Leigh Orf [this message]
2001-12-08 21:42         ` Leigh Orf
2001-12-08 22:24           ` Leigh Orf
2001-12-11 19:07           ` Hugh Dickins
2001-12-11 20:04             ` Stephan von Krawczynski
2001-12-11 22:13             ` H. Peter Anvin
2001-12-11 22:59             ` Andrea Arcangeli
2001-12-12 14:51               ` Leigh Orf
2001-12-18 14:27               ` Holger Lubitz

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=200112082004.fB8K4eQ02110@orp.orf.cx \
    --to=orf@mailbag.com \
    --cc=akpm@zip.com.au \
    --cc=brownfld@irridia.com \
    --cc=linux-kernel@vger.kernel.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