Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.13-pre5 /mm/memory.c

Filename:/mm/memory.c
Lines Added:0
Lines Deleted:2
Also changed in: (Previous) 2.4.13-pre4  2.4.13-pre3  2.4.12-ac3  2.4.12-ac2  2.4.12-ac1  2.4.11 
(Following) 2.4.13-pre6  2.4.13  2.4.13-ac1  2.4.13-ac2  2.4.13-ac3  2.4.13-ac4 

Location
[  2.4.13-pre5
  [  mm
     o  memory.c

Patch

diff -u --recursive --new-file v2.4.12/linux/mm/memory.c linux/mm/memory.c
--- v2.4.12/linux/mm/memory.c   Tue Oct  9 17:06:53 2001
+++ linux/mm/memory.c   Mon Oct 15 12:09:50 2001
@@ -1122,10 +1122,8 @@
    spin_unlock(&mm->page_table_lock);
    page = lookup_swap_cache(entry);
    if (!page) {
-      lock_kernel();
       swapin_readahead(entry);
       page = read_swap_cache_async(entry);
-      unlock_kernel();
       if (!page) {
          spin_lock(&mm->page_table_lock);
          /*


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.