Hi.
This is against 2.4.0-t8p1. The variable 'high' in do_anonymous_page seems
unused. The following patch removes it. Comments?
--- linux-240test8-pre1/mm/memory.c Thu Aug 10 16:29:54 2000
+++ linux/mm/memory.c Fri Sep 1 22:21:43 2000
@@ -1095,15 +1095,12 @@
*/
static int do_anonymous_page(struct mm_struct * mm, struct vm_area_struct * vma,
pte_t *page_table, int write_access, unsigned long addr)
{
- int high = 0;
struct page *page = NULL;
pte_t entry = pte_wrprotect(mk_pte(ZERO_PAGE(addr), vma->vm_page_prot));
if (write_access) {
page = alloc_page(GFP_HIGHUSER);
if (!page)
return -1;
- if (PageHighMem(page))
- high = 1;
clear_user_highpage(page, addr);
entry = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot)));
mm->rss++;
--
Rasmus([EMAIL PROTECTED])
Gates' Law: Every 18 months, the speed of software halves
-- Anonymous
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/