On Mon, Feb 18, 2008 at 08:50:18AM -0800, Arjan van de Ven wrote:
Not sure how you can call global_flush_tlb() "hidden". It was a quite
exposed interface.
Anyways there was also no principle reason in the old interface why
the flush couldn't have been done immediately. The only reason
it wasn't done was that Linus long ago asked for separate
flushing to improve efficiency of large remaps.
True, that's a possible workaround for this deficiency of the new API.
Ok then you're proposing to use a even more expensive operation just
to patch this over. I guess that will work as long as we assume
none of the callers cares too much about performance, but trying to describe
it as an improvement is quite a stretch.
-Andi
--