Re: [PATCH 2/5] ide: add cpu cache flushes after kmapping and modifying a page

From: Christoph Hellwig
Date: Sun Jun 04 2006 - 04:18:10 EST


On Sun, Jun 04, 2006 at 12:41:20PM +0900, Tejun Heo wrote:
> data = bvec_kmap_irq(bvec, &flags);
> drive->hwif->atapi_input_bytes(drive, data, count);
> + flush_kernel_dcache_page(kmap_atomic_to_page(data));
> bvec_kunmap_irq(data, &flags);

shouldn't bvec_kunmap_irq do the flush_kernel_dcache_page call?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/