linux-mips
[Top] [All Lists]

Re: flush_kernel_dcache_page() not needed ?

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: flush_kernel_dcache_page() not needed ?
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Tue, 04 Sep 2007 16:05:10 +0200
Cc: linux-mips@linux-mips.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=VP8h0e8ImcaVgj6njER7nHFOKChhAbH5SbzgjCizlHI4vVpNCEwuISTKJI/OvERnzCPuwKpszfc7ZdU8LNSojb/DN2N0cM4MuuasYs+oxq8buAE9mJjhpqg+5XO6JhrmoVMs1xKQMpkUi/SCrMwIGRBmEmwC+dEJ9mFIdgYL+l4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=WGDFp4vjzT/wJLwHgXbwoRxBLiGpZ7NMp5uTnQpII8vIq3ru3DPlppcd1MmEqI0i87sAoUKbDRiR+dB9PwdERPOhr/ZPHTcNTFZbGpqV9ayn6b0k6f85DM3XDVeyde23AQaGymvUOmfLY+cCujHEDL0n74awfs0MoiT/KwYI3vg=
In-reply-to: <20070904.225402.106261140.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <46DC29F0.3060200@gmail.com> <20070904.005400.52128244.anemo@mba.ocn.ne.jp> <46DD53BE.2070004@gmail.com> <20070904.225402.106261140.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
Atsushi Nemoto wrote:
> On Tue, 04 Sep 2007 14:46:54 +0200, Franck Bui-Huu <vagabon.xyz@gmail.com> 
> wrote:
>>> I'll look at it further, but any testcase are welcome.
> 
> I found the reason.
> 
> do_execve()
>   copy_strings()
>     flush_kernel_dcache_page()
>   search_binary_handler()
>     load_elf_binary()
>       setup_arg_pages()
>         shift_arg_pages()
>           move_page_tables()
>             flush_cache_range()
> 
> And MIPS flush_cache_range() blasts whole dcache!  That's why empty
> flush_kernel_dcache_page() was enough for now.  

Yeah, that what I think too and that's also why I was suggesting to
test a plain 2.6.23-rc5 with the randomize_va_space=0. Please see my
previous reply...

Could you give it a try ?

                Franck

<Prev in Thread] Current Thread [Next in Thread>