Re: [PATCH 08/20] mm: Optimize fullmm TLB flushing
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-06-28 21:59:19
Also in:
linux-mm
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-06-28 21:59:19
Also in:
linux-mm
On Thu, 2012-06-28 at 18:52 +0200, Peter Zijlstra wrote:
No I think you're right (as always).. also an IPI will not force schedule the thread that might be running on the receiving cpu, also we'd have to wait for any such schedule to complete in order to guarantee the mm isn't lazily used anymore. Bugger..
You can still do it if the mm count is 1 no ? Ie, current is the last holder of a reference to the mm struct... which will probably be the common case for short lived programs. Cheers, Ben. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>