--- - branch: MAIN date: Sat Nov 28 11:44:45 UTC 2009 files: - new: '1.203' old: '1.202' path: src/sys/arch/arm/arm32/pmap.c pathrev: src/sys/arch/arm/arm32/pmap.c@1.203 type: modified id: 20091128T114445Z.4dc14ba55bc8534a408598bd4d192a4e4bad842d log: | Apply some band-aid to pmap_activate() for PR kern/41058: There's a corner case here which can leave turds in the cache as reported in kern/41058. They're probably left over during tear-down and switching away from an exiting process. Until the root cause is identified and fixed, zap the cache when switching pmaps. This will result in a few unnecessary cache flushes, but that's better than silently corrupting data. Also remove an extraneous return statement in pmap_page_protect() which crept in during the matt-armv6 merge. module: src subject: 'CVS commit: src/sys/arch/arm/arm32' unixtime: '1259408685' user: scw