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 9 Nov 1999, Christoph Rohland wrote:

> swap_duplicate
> read_swap_cache_async
> swapin_readahead
> shm_nopage
> handle_mm_fault
> ...

Hmm, are you sure you reproduced it in UP as you stated in the previous
email? The above trace seems the effect of this SMP race condition:

--- 2.3.26/mm/memory.c Sun Nov 7 17:33:38 1999
+++ /tmp/memory.c Tue Nov 9 16:46:02 1999
@@ -282,7 +282,9 @@
free_page_and_swap_cache(mem_map+nr);
return 1;
}
+ lock_kernel();
swap_free(pte_to_swp_entry(page));
+ unlock_kernel();
return 0;
}

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