lkml.org 
[lkml]   [2001]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.4.16 memory badness (reproducible)
Date

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);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site