| Kernel v2.4.19-rc5 /Documentation/cachetlb.txt |
|---|
 2.4.19-rc5
 Documentation
 cachetlb.txt
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/Documentation/cachetlb.txt linux/Documentation/cachetlb.txt
--- linux.orig/Documentation/cachetlb.txt 2001-12-21 17:41:53.000000000 +0000
+++ linux/Documentation/cachetlb.txt 2002-08-01 06:42:40.000000000 +0000
@@ -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.
|