[parisc-linux-cvs] linux-2.6 jejb

James Bottomley jejb at parisc-linux.org
Sun Apr 4 20:47:40 MDT 2004


CVSROOT:	/var/cvs
Module name:	linux-2.6
Changes by:	jejb	04/04/04 20:47:40

Modified files:
	.              : Makefile 
	arch/parisc/kernel: cache.c pacache.S 
	include/asm-parisc: cache.h cacheflush.h 

Log message:
Fix non current user process flushing.

We have two problems:

- There's a bug in __flush_dcache_page() that causes it to do nothing
if the current process doesn't contain the page.  This is incorrect
since it will leave the congruent user pages incoherent with the
kernel page.

- flush_cache_page() flushes everything if the mm of the
requested vma isn't current (this is correct, but cumbersome and is
what gives us the abysmally slow ptrace performance).

We can fix both of these by introducing a new API:

flush_user_cache_page_non_current()

Specifically designed to flush a page in a non-current process.



More information about the parisc-linux-cvs mailing list