Re: [CFT] MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 20, 2010 at 05:45:34PM +0100, Geert Uytterhoeven wrote:
> > diff --git a/Documentation/cachetlb.txt b/Documentation/cachetlb.txt
> > index da42ab4..74a8b6f 100644
> > --- a/Documentation/cachetlb.txt
> > +++ b/Documentation/cachetlb.txt
> > @@ -88,12 +88,12 @@ changes occur:
> >        This is used primarily during fault processing.
> >
> >  5) void update_mmu_cache(struct vm_area_struct *vma,
> > -                        unsigned long address, pte_t pte)
> > +                        unsigned long address, pte_t *ptep)
> >
> >        At the end of every page fault, this routine is invoked to
> >        tell the architecture specific code that a translation
> > -       described by "pte" now exists at virtual address "address"
> > -       for address space "vma->vm_mm", in the software page tables.
> > +       now exists at virtual address "address" for address space
> > +       "vma->vm_mm", in the software page tables.
> >
> >        A port may use this information in any way it so chooses.
> >        For example, it could use this event to pre-load TLB
> 
> Now the documentation no longer mentions what the 3rd parameter is used for?

I'm open to suggestions for a suitable description for it.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux