lkml.org 
[lkml]   [1999]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: shm bug introduced with pagecache in 2.3.11
On 8 Nov 1999, Christoph Rohland wrote:

>Hi folks,
>
>I finally found the change, which gives me
>
>swap_duplicate: unused page

You got also the EIP address of the caller, please resolved it it's very
sensitive.

Could you give a try removing this line:

--- 2.3.26/ipc/shm.c Sun Nov 7 17:33:38 1999
+++ /tmp/shm.c Tue Nov 9 12:16:28 1999
@@ -790,7 +790,6 @@
page = lookup_swap_cache(entry);
if (!page) {
lock_kernel();
- swapin_readahead(entry);
page = read_swap_cache(entry);
unlock_kernel();
if (!page)
(note: the above is not the right fix for the kernel, it's just to verify
that's the problem)

Andrea


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

\
 
 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2011 Jasper Spaans