Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.19 /Documentation/cachetlb.txt

Filename:/Documentation/cachetlb.txt
Lines Added:14
Lines Deleted:3
Also changed in: (Previous) 2.4.19-rc5  2.4.19-rc4  2.4.19-rc3  2.4.19-rc2  2.4.19-rc1  2.4.19-pre10 
(Following) 2.5.67-bk5  2.5.67-bk6  2.5.67-bk7  2.5.67-bk8  2.5.67-ac2  2.5.67-bk9 

Location
[  2.4.19
  [  Documentation
     o  cachetlb.txt

Patch

diff -urN linux-2.4.18/Documentation/cachetlb.txt linux-2.4.19/Documentation/cachetlb.txt
--- linux-2.4.18/Documentation/cachetlb.txt   Fri Dec 21 09:41:53 2001
+++ linux-2.4.19/Documentation/cachetlb.txt   Fri Aug  2 17:39:42 2002
@@ -339,7 +339,18 @@
    If the icache does not snoop stores then this routine will need
    to flush it.
 
+  void flush_icache_user_range(struct vm_area_struct *vma,
+         struct page *page, unsigned long addr, int len)
+   This is called when the kernel stores into addresses that are
+   part of the address space of a user process (which may be some
+   other process than the current process).  The addr argument
+   gives the virtual address in that process's address space,
+   page is the page which is being modified, and len indicates
+   how many bytes have been modified.  The modified region must
+   not cross a page boundary.  Currently this is only called from
+   kernel/ptrace.c.
+
   void flush_icache_page(struct vm_area_struct *vma, struct page *page)
-   All the functionality of flush_icache_page can be implemented in
-   flush_dcache_page and update_mmu_cache. In 2.5 the hope is to
-   remove this interface completely.
+   This is called when a page-cache page is about to be mapped
+   into a user process' address space.  It offers an opportunity
+   for a port to ensure d-cache/i-cache coherency if necessary.


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.