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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Thursday, November 20, 2008 - 6:25 am

On Thursday 20 November 2008 23:28, Dmitry Adamushko wrote:

Right... Now I'm lacking knowledge when it comes to devices, but I
think it is probably reasonable for the block device layer to ensure
the physical memory is uptodate after it signals request completion.

That is, there shouldn't be any potentially aliasing dirty lines.
Block devices which do any writeout via the kernel linear address
(eg. brd) should do a flush_dcache_page.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: O_DIRECT patch for processors with VIPT cache for main ..., Russell King - ARM Linux, (Wed Nov 19, 1:43 pm)
Re: O_DIRECT patch for processors with VIPT cache for main ..., Russell King - ARM Linux, (Thu Nov 20, 2:19 am)
Re: O_DIRECT patch for processors with VIPT cache for main ..., Nick Piggin, (Thu Nov 20, 6:25 am)
Re: O_DIRECT patch for processors with VIPT cache for main ..., Russell King - ARM Linux, (Thu Nov 20, 9:30 am)
Re: O_DIRECT patch for processors with VIPT cache for main ..., Russell King - ARM Linux, (Thu Nov 20, 12:30 pm)