[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1174] New - vm_enough_memory() doesn't see icache/dcache
http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=1174
--- shadow/1174 Wed Jan 31 16:06:46 2001
+++ shadow/1174.tmp.3548 Wed Jan 31 16:06:46 2001
@@ -0,0 +1,26 @@
++============================================================================+
+| vm_enough_memory() doesn't see icache/dcache |
++----------------------------------------------------------------------------+
+| Bug #: 1174 Product: Linux kernel MM |
+| Status: NEW Version: 2.4 (stable) |
+| Resolution: Platform: All |
+| Severity: normal OS/Version: Linux |
+| Priority: P2 Component: linux mm |
++----------------------------------------------------------------------------+
+| Assigned To: linux-mm-bugs@nl.linux.org |
+| Reported By: riel@conectiva.com.br |
+| CC list: Cc: |
++----------------------------------------------------------------------------+
+| URL: |
++============================================================================+
+| DESCRIPTION |
+after eg. 'slocate -u' systems can end up with significant amounts of memory in
+the inode_cache and the dentry_cache ... (I've seen it take 90MB on my 192MB
+workstation)
+
+though this memory is freeable, vm_enough_memory() doesn't "see" this memory,
+meaning that allocations for which memory is available can be denied
+
+the solution is to fix mm/mmap.c::vm_enough_memory() to know about the memory
+use of the inode and dentry cache and take this into account when doing the
+calculation
\ No newline at end of file
-
Linux-mm-bugs: bugzilla list for the Linux-MM subsystem
Archive: http://mail.nl.linux.org/linux-mm-bugs/
Web site: http://www.linux.eu.org/Linux-MM/
Development: linux-mm@kvack.org