[PATCH] Optimize D-cache alias handling on fork
Virtually index, physically tagged cache architectures can get away without cache flushing when forking. This patch adds a new cache flushing function flush_cache_dup_mm(struct mm_struct *) which for the moment I've implemented to do the same thing on all architectures except on MIPS where it's a no-op. Signed-off-by:Ralf Baechle <ralf@linux-mips.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- Documentation/cachetlb.txt 17 additions, 6 deletionsDocumentation/cachetlb.txt
- include/asm-alpha/cacheflush.h 1 addition, 0 deletionsinclude/asm-alpha/cacheflush.h
- include/asm-arm/cacheflush.h 2 additions, 0 deletionsinclude/asm-arm/cacheflush.h
- include/asm-arm26/cacheflush.h 1 addition, 0 deletionsinclude/asm-arm26/cacheflush.h
- include/asm-avr32/cacheflush.h 1 addition, 0 deletionsinclude/asm-avr32/cacheflush.h
- include/asm-cris/cacheflush.h 1 addition, 0 deletionsinclude/asm-cris/cacheflush.h
- include/asm-frv/cacheflush.h 1 addition, 0 deletionsinclude/asm-frv/cacheflush.h
- include/asm-h8300/cacheflush.h 1 addition, 0 deletionsinclude/asm-h8300/cacheflush.h
- include/asm-i386/cacheflush.h 1 addition, 0 deletionsinclude/asm-i386/cacheflush.h
- include/asm-ia64/cacheflush.h 1 addition, 0 deletionsinclude/asm-ia64/cacheflush.h
- include/asm-m32r/cacheflush.h 3 additions, 0 deletionsinclude/asm-m32r/cacheflush.h
- include/asm-m68k/cacheflush.h 2 additions, 0 deletionsinclude/asm-m68k/cacheflush.h
- include/asm-m68knommu/cacheflush.h 1 addition, 0 deletionsinclude/asm-m68knommu/cacheflush.h
- include/asm-mips/cacheflush.h 2 additions, 0 deletionsinclude/asm-mips/cacheflush.h
- include/asm-parisc/cacheflush.h 2 additions, 0 deletionsinclude/asm-parisc/cacheflush.h
- include/asm-powerpc/cacheflush.h 1 addition, 0 deletionsinclude/asm-powerpc/cacheflush.h
- include/asm-s390/cacheflush.h 1 addition, 0 deletionsinclude/asm-s390/cacheflush.h
- include/asm-sh/cpu-sh2/cacheflush.h 2 additions, 0 deletionsinclude/asm-sh/cpu-sh2/cacheflush.h
- include/asm-sh/cpu-sh3/cacheflush.h 3 additions, 0 deletionsinclude/asm-sh/cpu-sh3/cacheflush.h
- include/asm-sh/cpu-sh4/cacheflush.h 1 addition, 0 deletionsinclude/asm-sh/cpu-sh4/cacheflush.h
Loading
Please register or sign in to comment