lkml.org 
[lkml]   [1999]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] little kunmap fix
I spotted some minute ago a thinko in the kunmap debugging code. As kunmap
is only debugging code and it has to be disabled for production it's not
critical.

If somebody noticed kernel messages like:

Sep 13 19:31:40 laser kernel: not null pte on CPU 1 from c014de60
Sep 13 19:31:41 laser kernel: not null pte on CPU 1 from c011e7d4

then this fix against 2.3.18ac2 will cure the problem:

--- 2.3.18ac2/fs/proc/array.c.~1~ Wed Sep 8 00:26:02 1999
+++ 2.3.18ac2/fs/proc/array.c Mon Sep 13 21:15:25 1999
@@ -469,7 +469,7 @@
return result;
}
} while (addr & ~PAGE_MASK);
- kunmap(addr, KM_READ);
+ kunmap(addr-1, KM_READ);
}
return result;
}

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:53    [W:0.205 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site