[parisc-linux-cvs] linux-2.6 jejb

James Bottomley jejb at parisc-linux.org
Tue Apr 6 15:34:46 MDT 2004


CVSROOT:	/var/cvs
Module name:	linux-2.6
Changes by:	jejb	04/04/06 15:34:46

Modified files:
	.              : Makefile 
	arch/parisc/kernel: cache.c 

Log message:
Fix flush_dcache_page

There are two problems:

1. If a page translation for the chosen alias doesn't actually exist (as it
might not if the process has made no reference to it) then the flush won't
actually happen.

2. The private mappings list are all at non-congruent addresses, so
all need to be flushed (it is comparatively rare to have a long
list of private mappings for a file page, so this shouldn't impact
too much).

This fix introduces a function to check for a valid translation and
uses it before doing the flush.



More information about the parisc-linux-cvs mailing list