From owner-linux-mm-bugs@nl.linux.org Wed Jan 31 20:07:41 2001
Received: by humbolt.nl.linux.org id <S92224AbRAaTH0>;
	Wed, 31 Jan 2001 20:07:26 +0100
Received: from distro.conectiva.com.br ([200.250.58.149]:19731 "EHLO
        distro.conectiva.com.br") by humbolt.nl.linux.org with ESMTP
	id <S92251AbRAaTG4>; Wed, 31 Jan 2001 20:06:56 +0100
Received: (from nobody@localhost)
	by distro.conectiva.com.br (8.9.3/8.9.3) id QAA03552;
	Wed, 31 Jan 2001 16:06:47 -0200
Date:   Wed, 31 Jan 2001 16:06:47 -0200
Message-Id: <200101311806.QAA03552@distro.conectiva.com.br>
From:   bugzilla-daemon@distro.conectiva.com.br
To:     linux-mm-bugs@nl.linux.org
Subject: [Bug 1174] New - vm_enough_memory() doesn't see icache/dcache
Sender: owner-linux-mm-bugs@nl.linux.org
Precedence: bulk
Reply-To: linux-mm-bugs@nl.linux.org
Return-Path: <owner-linux-mm-bugs@nl.linux.org>
X-Orcpt: rfc822;linux-mm-bugs-list

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

From owner-linux-mm-bugs@nl.linux.org Wed Jan 31 20:57:15 2001
Received: by humbolt.nl.linux.org id <S92249AbRAaT5F>;
	Wed, 31 Jan 2001 20:57:05 +0100
Received: from distro.conectiva.com.br ([200.250.58.149]:22547 "EHLO
        distro.conectiva.com.br") by humbolt.nl.linux.org with ESMTP
	id <S92244AbRAaT4v>; Wed, 31 Jan 2001 20:56:51 +0100
Received: (from nobody@localhost)
	by distro.conectiva.com.br (8.9.3/8.9.3) id QAA04934;
	Wed, 31 Jan 2001 16:54:08 -0200
Date:   Wed, 31 Jan 2001 16:54:08 -0200
Message-Id: <200101311854.QAA04934@distro.conectiva.com.br>
From:   bugzilla-daemon@distro.conectiva.com.br
To:     linux-mm-bugs@nl.linux.org
Subject: [Bug 1175] New - swap readahead sets the page referenced bit
Sender: owner-linux-mm-bugs@nl.linux.org
Precedence: bulk
Reply-To: linux-mm-bugs@nl.linux.org
Return-Path: <owner-linux-mm-bugs@nl.linux.org>
X-Orcpt: rfc822;linux-mm-bugs-list

http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=1175

--- shadow/1175	Wed Jan 31 16:54:08 2001
+++ shadow/1175.tmp.4930	Wed Jan 31 16:54:08 2001
@@ -0,0 +1,27 @@
++============================================================================+
+| swap readahead sets the page referenced bit                                |
++----------------------------------------------------------------------------+
+|        Bug #: 1175                        Product: Linux kernel MM         |
+|       Status: NEW                         Version: 2.4 (stable)            |
+|   Resolution:                            Platform:                         |
+|     Severity: normal                   OS/Version:                         |
+|     Priority: P2                        Component: linux mm                |
++----------------------------------------------------------------------------+
+|  Assigned To: linux-mm-bugs@nl.linux.org                                   |
+|  Reported By: marcelo@conectiva.com.br                                     |
+|      CC list: Cc:                                                          |
++----------------------------------------------------------------------------+
+|          URL:                                                              |
++============================================================================+
+|                              DESCRIPTION                                   |
+The swapin readahead code uses the function read_swap_cache_async()"
+for each page it wants to readahead.
+
+Now this function (read_swap_cache_async()) uses __find_page_nolock, which moves
+the page to the active list, or sets the referenced bit on the page (this will
+end up aging the page up later).
+
+Pages which are being readahead should be left "old", so in case they are not
+used by any process, they get freed before other (probably more useful) pages.
+
+This can be easily fixed using Rik's __find_page_simple().
\ 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

From owner-linux-mm-bugs@nl.linux.org Wed Jan 31 22:17:30 2001
Received: by humbolt.nl.linux.org id <S92251AbRAaVRJ>;
	Wed, 31 Jan 2001 22:17:09 +0100
Received: from distro.conectiva.com.br ([200.250.58.149]:34323 "EHLO
        distro.conectiva.com.br") by humbolt.nl.linux.org with ESMTP
	id <S92224AbRAaVQw>; Wed, 31 Jan 2001 22:16:52 +0100
Received: (from nobody@localhost)
	by distro.conectiva.com.br (8.9.3/8.9.3) id SAA06353;
	Wed, 31 Jan 2001 18:15:22 -0200
Date:   Wed, 31 Jan 2001 18:15:22 -0200
Message-Id: <200101312015.SAA06353@distro.conectiva.com.br>
From:   bugzilla-daemon@distro.conectiva.com.br
To:     linux-mm-bugs@nl.linux.org
Subject: [Bug 1177] New - VM: undead swap entry xxx
Sender: owner-linux-mm-bugs@nl.linux.org
Precedence: bulk
Reply-To: linux-mm-bugs@nl.linux.org
Return-Path: <owner-linux-mm-bugs@nl.linux.org>
X-Orcpt: rfc822;linux-mm-bugs-list

http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=1177

--- shadow/1177	Wed Jan 31 18:15:22 2001
+++ shadow/1177.tmp.6349	Wed Jan 31 18:15:22 2001
@@ -0,0 +1,18 @@
++============================================================================+
+| VM: undead swap entry xxx                                                  |
++----------------------------------------------------------------------------+
+|        Bug #: 1177                        Product: Linux kernel MM         |
+|       Status: NEW                         Version: 2.4 (stable)            |
+|   Resolution:                            Platform:                         |
+|     Severity: minor                    OS/Version:                         |
+|     Priority: P2                        Component: linux mm                |
++----------------------------------------------------------------------------+
+|  Assigned To: linux-mm-bugs@nl.linux.org                                   |
+|  Reported By: riel@conectiva.com.br                                        |
+|      CC list: Cc:                                                          |
++----------------------------------------------------------------------------+
+|          URL:                                                              |
++============================================================================+
+|                              DESCRIPTION                                   |
+kernel 2.4.1 still has the "VM: undead swap entry" problem every once in a while
+when doing swapoff on a loaded system
\ 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

From owner-linux-mm-bugs@nl.linux.org Wed Jan 31 22:17:44 2001
Received: by humbolt.nl.linux.org id <S92224AbRAaVRU>;
	Wed, 31 Jan 2001 22:17:20 +0100
Received: from distro.conectiva.com.br ([200.250.58.149]:34579 "EHLO
        distro.conectiva.com.br") by humbolt.nl.linux.org with ESMTP
	id <S92244AbRAaVQ5>; Wed, 31 Jan 2001 22:16:57 +0100
Received: (from nobody@localhost)
	by distro.conectiva.com.br (8.9.3/8.9.3) id SAA06380;
	Wed, 31 Jan 2001 18:17:29 -0200
Date:   Wed, 31 Jan 2001 18:17:29 -0200
Message-Id: <200101312017.SAA06380@distro.conectiva.com.br>
From:   bugzilla-daemon@distro.conectiva.com.br
To:     linux-mm-bugs@nl.linux.org
Subject: [Bug 1178] New - re-balance page_launder(), ... in 2.4.1
Sender: owner-linux-mm-bugs@nl.linux.org
Precedence: bulk
Reply-To: linux-mm-bugs@nl.linux.org
Return-Path: <owner-linux-mm-bugs@nl.linux.org>
X-Orcpt: rfc822;linux-mm-bugs-list

http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=1178

--- shadow/1178	Wed Jan 31 18:17:29 2001
+++ shadow/1178.tmp.6376	Wed Jan 31 18:17:29 2001
@@ -0,0 +1,20 @@
++============================================================================+
+| re-balance page_launder(), ... in 2.4.1                                    |
++----------------------------------------------------------------------------+
+|        Bug #: 1178                        Product: Linux kernel MM         |
+|       Status: NEW                         Version: 2.4 (stable)            |
+|   Resolution:                            Platform:                         |
+|     Severity: normal                   OS/Version:                         |
+|     Priority: P2                        Component: linux mm                |
++----------------------------------------------------------------------------+
+|  Assigned To: linux-mm-bugs@nl.linux.org                                   |
+|  Reported By: riel@conectiva.com.br                                        |
+|      CC list: Cc:                                                          |
++----------------------------------------------------------------------------+
+|          URL:                                                              |
++============================================================================+
+|                              DESCRIPTION                                   |
+2.4.1 performance should be pretty bad due to some changes made by Linus and
+Marcelo - good changes, mind you, but with some side effects.
+
+This is easy to fix and will be fixed by Rik van Riel
\ 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

From owner-linux-mm-bugs@nl.linux.org Wed Jan 31 23:27:41 2001
Received: by humbolt.nl.linux.org id <S92244AbRAaW1W>;
	Wed, 31 Jan 2001 23:27:22 +0100
Received: from distro.conectiva.com.br ([200.250.58.149]:9220 "EHLO
        distro.conectiva.com.br") by humbolt.nl.linux.org with ESMTP
	id <S92224AbRAaW0w>; Wed, 31 Jan 2001 23:26:52 +0100
Received: (from nobody@localhost)
	by distro.conectiva.com.br (8.9.3/8.9.3) id TAA07275;
	Wed, 31 Jan 2001 19:21:03 -0200
Date:   Wed, 31 Jan 2001 19:21:03 -0200
Message-Id: <200101312121.TAA07275@distro.conectiva.com.br>
From:   bugzilla-daemon@distro.conectiva.com.br
Cc:     linux-mm-bugs@nl.linux.org
Subject: [Bug 1178] Changed - re-balance page_launder(), ... in 2.4.1
To:     unlisted-recipients:; (no To-header on input)
Sender: owner-linux-mm-bugs@nl.linux.org
Precedence: bulk
Reply-To: linux-mm-bugs@nl.linux.org
Return-Path: <owner-linux-mm-bugs@nl.linux.org>
X-Orcpt: rfc822;linux-mm-bugs-list

http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=1178

--- shadow/1178	Wed Jan 31 18:17:29 2001
+++ shadow/1178.tmp.7260	Wed Jan 31 19:21:03 2001
@@ -3,11 +3,11 @@
 +----------------------------------------------------------------------------+
 |        Bug #: 1178                        Product: Linux kernel MM         |
 |       Status: NEW                         Version: 2.4 (stable)            |
-|   Resolution:                            Platform:                         |
-|     Severity: normal                   OS/Version:                         |
+|   Resolution:                            Platform: All                     |
+|     Severity: normal                   OS/Version: Linux                   |
 |     Priority: P2                        Component: linux mm                |
 +----------------------------------------------------------------------------+
-|  Assigned To: linux-mm-bugs@nl.linux.org                                   |
+|  Assigned To: riel@conectiva.com.br                                        |
 |  Reported By: riel@conectiva.com.br                                        |
 |      CC list: Cc:                                                          |
 +----------------------------------------------------------------------------+
@@ -18,3 +18,7 @@
 Marcelo - good changes, mind you, but with some side effects.
 
 This is easy to fix and will be fixed by Rik van Riel
\ No newline at end of file
+
+------- Additional Comments From riel@conectiva.com.br  2001-01-31 19:21 -------
+assigned to myself since I'm busy working on it
+(oh, and to test http://linux-mm.org/bugzilla.shtml ;))
\ 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

