1 Apr 2004 11:10
Re: Hugetlbpages in very large memory machines.......
Nobuhiko Yoshida <n-yoshida <at> pst.fujitsu.com>
2004-04-01 09:10:38 GMT
2004-04-01 09:10:38 GMT
Nobuhiko Yoshida <n-yoshida <at> pst.fujitsu.com> wroteF
> Hello,
>
> > > +/* update_mmu_cache(vma, address, *pte); */
> >
> > I have not studied low level IA64 VM in detail, but don't you need
> > some kind of TLB flush here?
>
> Oh! Yes.
> Perhaps, TLB flush is needed here.
- Below is the patch that revised what I contributed before.
- I added the flush of TLB and icache.
How To Use:
1. Download linux-2.6.0 source tree
2. Apply the below patch for linux-2.6.0
Thank you,
Nobuhiko Yoshida
diff -dupr linux-2.6.0/arch/i386/mm/hugetlbpage.c linux-2.6.0.HugeTLB/arch/i386/mm/hugetlbpage.c
--- linux-2.6.0/arch/i386/mm/hugetlbpage.c 2003-12-18 11:59:38.000000000 +0900
+++ linux-2.6.0.HugeTLB/arch/i386/mm/hugetlbpage.c 2004-04-01 11:48:56.000000000 +0900
<at> <at> -142,8 +142,10 <at> <at> int copy_hugetlb_page_range(struct mm_st
goto nomem;
src_pte = huge_pte_offset(src, addr);
entry = *src_pte;
- ptepage = pte_page(entry);
- get_page(ptepage);
(Continue reading)
RSS Feed