1
0
Files
linux/arch/alpha/include/asm
Ilya Loginov 2d4dc890b5 block: add helpers to run flush_dcache_page() against a bio and a request's pages
Mtdblock driver doesn't call flush_dcache_page for pages in request.  So,
this causes problems on architectures where the icache doesn't fill from
the dcache or with dcache aliases.  The patch fixes this.

The ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE symbol was introduced to avoid
pointless empty cache-thrashing loops on architectures for which
flush_dcache_page() is a no-op.  Every architecture was provided with this
flush pages on architectires where ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE is
equal 1 or do nothing otherwise.

See "fix mtd_blkdevs problem with caches on some architectures" discussion
on LKML for more information.

Signed-off-by: Ilya Loginov <isloginov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Peter Horton <phorton@bitbox.co.uk>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-11-26 09:16:19 +01:00
..
2009-05-02 15:36:10 -07:00
2009-02-05 12:56:49 -08:00
2009-01-29 18:04:44 -08:00
2009-06-07 05:01:00 -07:00
2009-09-24 07:21:01 -07:00
2009-05-02 15:36:10 -07:00
2008-12-29 08:29:51 +01:00
2009-09-09 13:29:18 -07:00
2009-06-30 18:55:59 -07:00
2009-01-15 16:39:40 -08:00
2009-02-01 11:01:22 +05:30
2009-02-01 11:01:22 +05:30
2009-04-01 08:59:16 -07:00
2009-05-02 15:36:10 -07:00
2009-04-01 08:59:16 -07:00