Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760802Ab2EWUvz (ORCPT ); Wed, 23 May 2012 16:51:55 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:56411 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758761Ab2EWUvy (ORCPT ); Wed, 23 May 2012 16:51:54 -0400 Message-ID: <4FBD4DDF.5080905@linux.vnet.ibm.com> Date: Wed, 23 May 2012 15:51:43 -0500 From: Seth Jennings User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Minchan Kim CC: Greg Kroah-Hartman , Nitin Gupta , Dan Magenheimer , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Russell King , Ralf Baechle , Paul Mundt , Guan Xuetao , Chen Liqin Subject: Re: [PATCH v2 1/3] zsmalloc: support zsmalloc to ARM, MIPS, SUPERH References: <1337133919-4182-1-git-send-email-minchan@kernel.org> In-Reply-To: <1337133919-4182-1-git-send-email-minchan@kernel.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12052320-5518-0000-0000-000004A1111D Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1411 Lines: 36 On 05/15/2012 09:05 PM, Minchan Kim wrote: > zsmalloc uses set_pte and __flush_tlb_one for performance but > many architecture don't support it. so this patch removes > set_pte and __flush_tlb_one which are x86 dependency. > Instead of it, use local_flush_tlb_kernel_range which are available > by more architectures. It would be better than supporting only x86 > and last patch in series will enable again with supporting > local_flush_tlb_kernel_range in x86. > > About local_flush_tlb_kernel_range, > If architecture is very smart, it could flush only tlb entries related to vaddr. > If architecture is smart, it could flush only tlb entries related to a CPU. > If architecture is _NOT_ smart, it could flush all entries of all CPUs. > So, it would be best to support both portability and performance. > > Cc: Russell King > Cc: Ralf Baechle > Cc: Paul Mundt > Cc: Guan Xuetao > Cc: Chen Liqin > Signed-off-by: Minchan Kim For the zsmalloc changes: Acked-by: Seth Jennings Thanks, Seth -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/