Re: O_DIRECT patch for processors with VIPT cache for mainline kernel (specifically arm in our case)

From: Dmitry Adamushko
Date: Thu Nov 20 2008 - 07:28:22 EST


2008/11/20 Nick Piggin <nickpiggin@xxxxxxxxxxxx>:
>
> [ ... ]
>
> - The page is sent to the block layer, which stores into the page. Some
> block devices like 'brd' will potentially store via the kernel linear map
> here, and they probably don't do enough cache flushing.

btw., if someone is curious, here is another case of what may happen
on VIPT systems when someone uses a "virtual" block device (like
'brd') as, heh, a swap :-)

http://www.linux-mips.org/archives/linux-mips/2008-11/msg00038.html


--
Best regards,
Dmitry Adamushko
--
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/