From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DE371A0872 for ; Thu, 7 Aug 2014 09:12:17 +1000 (EST) Message-ID: <1407366736.8507.35.camel@ale.ozlabs.ibm.com> Subject: Re: [PATCH] powerpc: thp: Use tlbiel wherever possible From: Michael Neuling To: "Aneesh Kumar K.V" Date: Thu, 07 Aug 2014 09:12:16 +1000 In-Reply-To: <8738d965hf.fsf@linux.vnet.ibm.com> References: <1407221289-19390-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <8738d965hf.fsf@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: paulus@samba.org, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2014-08-06 at 20:16 +0530, Aneesh Kumar K.V wrote: > "Aneesh Kumar K.V" writes: >=20 > > If we know that user address space has never executed on other cpus > > we could use tlbiel. > > > > Signed-off-by: Aneesh Kumar K.V >=20 > Now checking against flush_hash_page, I am wondering whether I need to ha= ndle > transcational memory in case of tlbiel ? Michael, can you let me know if > this is needed ? Yeah, you do need to add something. =20 local tlbie won't abort the transaction (broadcast will abort), so you need to do a explicit tabort if there is an active transaction, to make sure the transaction is doomed. Mikey