lkml.org 
[lkml]   [2002]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 18pre7aa1 pagetable corroops
clear_pagetable corrupts memory and oopses when CONFIG_HIGHMEM,
but the pagetable has been allocated from low memory.

Hugh

--- 2.4.18-pre7aa1/include/linux/highmem.h Wed Jan 30 15:30:21 2002
+++ linux/include/linux/highmem.h Wed Jan 30 15:30:21 2002
@@ -103,7 +103,7 @@
{
void * vaddr = kmap_pagetable(page);
clear_page(vaddr);
- kunmap_high(vaddr);
+ kunmap_vaddr((unsigned long)vaddr);
}

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

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.052 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site