From: SUGIOKA T. <su...@it...> - 2002-10-30 05:59:59
|
Hi, all. On my SH7750S (200MHz, 128MB) board, user land application causes segmentation fault and/or unaligned access randomly when very high memory load with swap on. You could easily reproduce with 'stress' program. http://weather.ou.edu/~apw/projects/stress/ Following patch fixes this problem, but I'm not sure if this is correct. Does anyone else encountered this problem? --- mm/memory.c~ Thu Apr 11 17:57:49 2002 +++ mm/memory.c Wed Oct 30 14:30:21 2002 @@ -1170,6 +1170,7 @@ pte = pte_mkdirty(pte_mkwrite(pte)); unlock_page(page); + flush_dcache_page(page); flush_page_to_ram(page); flush_icache_page(vma, page); set_pte(page_table, pte); ---- SUGIOKA Toshinobu |