[Top] [All Lists]

Re: [PATCH] fix cache coherency issues

Subject: Re: [PATCH] fix cache coherency issues
From: Atsushi Nemoto <>
Date: Tue, 14 Feb 2006 19:12:15 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
>>>>> On Tue, 14 Feb 2006 17:56:57 +0900, Yoichi Yuasa 
>>>>> <> said:
yuasa> This patch fixed the boot problem, but the kernel still has
yuasa> cache coherency problem.

yuasa> ~# ./cachetest 
yuasa> Test separation: 4096 bytes: FAIL - cache not coherent

Thank you for testing.

As for the cachetest program, I think the test program is wrong.

It try to mmap offset 0 of a shared file to odd address page with
MAP_FIXED.  It means "I want non-coherent mapping if dcache alias
exists".  Currently the kernel surely gives what the program want.

The kernel might have to return EINVAL in such case, but I'm not sure
which is the right behavior.  Please look at David S. Miller's
comments, for example,

Atsushi Nemoto

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