kernels/linux-2.4.0/include/asm-parisc/pgalloc.h
/* This is how I think the cache flushing should be done -- mrw */
This is how I think the cache flushing should be done -- mrw
This is how I think the cache flushing should be done -- mrw
extern inline void flush_cache_mm(struct mm_struct *mm) {
	if (mm == current->mm) {
		flush_user_dcache_range(mm->start_data, mm->end_data);
		flush_user_icache_range(mm->start_code, mm->end_code);
	} else {
		flush_other_dcache_range(mm->context, mm->start_data, mm->end_data);
		flush_other_icache_range(mm->context, mm->start_code, mm->end_code);
	}
}
extern inline void flush_cache_mm ( struct mm_struct * mm ) { if ( mm == current -> mm ) { flush_user_dcache_range ( mm -> start_data , mm -> end_data ) ; flush_user_icache_range ( mm -> start_code , mm -> end_code ) ; } else { flush_other_dcache_range ( mm -> context , mm -> start_data , mm -> end_data ) ; flush_other_icache_range ( mm -> context , mm -> start_code , mm -> end_code ) ; } }
This is how I think the cache flushing should be done -- mrw
This is how I think the cache flushing should be done -- mrw