[Top] [All Lists]

Re: flush_kernel_dcache_page() not needed ?

Subject: Re: flush_kernel_dcache_page() not needed ?
From: Atsushi Nemoto <>
Date: Tue, 04 Sep 2007 00:54:00 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
On Mon, 03 Sep 2007 17:36:16 +0200, Franck Bui-Huu <> 
> > Now copy_strings() calls this and I'm wondering we should implement or
> > not.  It seems the kernel works fine for me without the API...
> Do you use a cpu with dcache aliasing issue ?

Yes.  4 way 32KB dcache.

> > Do you have any problem due to luck of the API?
> No, but looking at copy_strings(), I think we can have some trouble.
> BTW, do you recall flush_anon_page() and fuse bug ? It seems the same
> here...

Indeed.  But copy_strings() is not rare case (called on each execve),
so there might be some constraints which make us free from the
aliasing problem.  I'll look at it further, but any testcase are

Atsushi Nemoto

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