Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/hppa/hppa



Module Name:    src
Committed By:   skrll
Date:           Wed Aug 12 07:42:36 UTC 2009

Modified Files:
        src/sys/arch/hppa/hppa: pmap.c

Log Message:
Pull across a fix from OpenBSD, but use PDE_SIZE instead of ~PDE_MASK + 1.

Make sure that if a PDE isn't there, we skip to the start of the address
range covered by the next PDE and not somewhere in the middle.  The old could
have skipped over some valid PTE's causing them to stay behind in the pmap.
Since we would not flush the cache for those pages either this could also
cause memory corruption when dirty cache lines would be written back to
memory at a later stage.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/hppa/hppa/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index