linux-mips
[Top] [All Lists]

flush_cache_page

To: linux-mips@linux-mips.org
Subject: flush_cache_page
From: Jorgen Lundman <lundman@lundman.net>
Date: Sun, 13 Jan 2008 13:55:32 +0900
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.5) Gecko/20070725 SeaMonkey/1.1.3

Due to cache coherence bugs, Fuse has an extra call to work around it;

        flush_cache_page(vma, cs->addr, page_to_pfn(cs->pg));


But my kernel (2.6.15 for mips 4KEc Tangox board) does not have a flush_cache_page().

If I use kangox_flush_all() Fuse works rather well, but the performance is abysmal. Can I simulate this call using one of the calls I do have;

__flush_dcache_page
flush_data_cache_page
tangox_flush_cache_all
cache_flush
kc_flush_cache

Or alternatively, does anyone have the source for flush_cache_page() for said CPU?



--
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)

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