[PATCH 2/2] remove the debugging restrictions in devicemaps_init()

Nicolas Pitre nico at fluxnic.net
Tue May 8 12:17:40 EDT 2012


On Tue, 8 May 2012, Russell King - ARM Linux wrote:

> On Tue, May 08, 2012 at 12:19:30AM -0400, Nicolas Pitre wrote:
> > However, the switching itself doesn't involve a full cache flush.
> 
> That's where you're wrong.  Look at the switch_mm() helpers in proc-*.S.
> StrongARM for example calls v4wb_flush_kern_cache_all() here, which needs
> the cache flushing mappings to be in place in the _current_ page table.

Right.  I had to be wrong somewhere.

What about abstracting the cache area mapping code in a function of its 
own, and calling it inside install_temp_mm() as well?


Nicolas



More information about the linux-arm-kernel mailing list