From: Paul M. <le...@li...> - 2007-02-20 01:50:35
|
Saito-san, On Tue, Feb 20, 2007 at 10:03:15AM +0900, Hideo Saito wrote: > This problem is caused when a process is executed after vfork. In the > result, the executed process can not read the arguments correctly. > > I think that the copied arguments from parent process should be copied > back to the physical memory as following patch, in other words, a > mapped page to process should be copied back to the physical memory > unconditionally. > This is quite interesting. These are anonymous pages, so page->mapping will be NULL unless you've got a swap cache page. The writeback should not be deferred in this case. Can you move your __flush_wback_region() in to the else path in flush_dcache_page() in arch/sh/mm/cache-sh4.c and see if the problem persists? Please also provide the n_aliases printk() from the boot log. |