From: Will Deacon Date: Thu, 23 May 2013 17:43:58 +0000 (+0100) Subject: ARM: tlb: reduce scope of barrier domains for TLB invalidation X-Git-Tag: v3.12-rc1~128^2^3~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62cbbc42e0019aff6310259f275ae812463f8836;p=pandora-kernel.git ARM: tlb: reduce scope of barrier domains for TLB invalidation Our TLB invalidation routines may require a barrier before the maintenance (in order to ensure pending page table writes are visible to the hardware walker) and barriers afterwards (in order to ensure completion of the maintenance and visibility in the instruction stream). Whilst this is expensive, the cost can be reduced somewhat by reducing the scope of the barrier instructions: - The barrier before only needs to apply to stores (pte writes) - Local ops are required only to affect the non-shareable domain - Global ops are required only to affect the inner-shareable domain This patch makes these changes for the TLB flushing code. Reviewed-by: Catalin Marinas Signed-off-by: Will Deacon --- Reading git-diff-tree failed