Messages in this thread Patch in this message | | | Date | Mon, 13 Sep 1999 21:34:29 +0200 (CEST) | From | Andrea Arcangeli <> | 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/
| |