From: Dave A. <ai...@us...> - 2001-06-16 13:12:45
|
Update of /cvsroot/linux-vax/kernel-2.4/mm In directory usw-pr-cvs1:/tmp/cvs-serv17037/mm Modified Files: vmalloc.c Log Message: DA: uggh.. change to non-arch code.. this is needed due to a non-blank page being put into S0 space to store PTEs for Px space, and the garbage looking valid to the processor Index: vmalloc.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/mm/vmalloc.c,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- vmalloc.c 2001/02/25 23:14:48 1.1.1.2 +++ vmalloc.c 2001/06/16 13:12:42 1.2 @@ -107,6 +107,12 @@ page = alloc_page(gfp_mask); if (!page) return -ENOMEM; + + /* FIXME: following line added for the Linux/VAX port, the page + need to be empty, as random garbage can look like + real ptes to the processor - DA June 2001 */ + clear_page(page_address(page)); + set_pte(pte, mk_pte(page, prot)); address += PAGE_SIZE; pte++; |