From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752618Ab2IVNip (ORCPT ); Sat, 22 Sep 2012 09:38:45 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:48324 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752087Ab2IVNin (ORCPT ); Sat, 22 Sep 2012 09:38:43 -0400 Message-ID: <505DBF72.3000208@gmail.com> Date: Sat, 22 Sep 2012 15:38:58 +0200 From: Sasha Levin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120913 Thunderbird/15.0.1 MIME-Version: 1.0 To: Dan Magenheimer CC: Mel Gorman , Seth Jennings , Greg Kroah-Hartman , Andrew Morton , Nitin Gupta , Minchan Kim , Konrad Wilk , Xiao Guangrong , Robert Jennings , linux-mm@kvack.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [RFC] mm: add support for zsmalloc and zcache References: <1346794486-12107-1-git-send-email-sjenning@linux.vnet.ibm.com> <20120921161252.GV11266@suse.de> <15c1d12a-0e29-478f-97e0-ee4063e2cba5@default> <505DBDC5.3010503@gmail.com> In-Reply-To: <505DBDC5.3010503@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/22/2012 03:31 PM, Sasha Levin wrote: > On 09/21/2012 09:14 PM, Dan Magenheimer wrote: >>>> +#define MAX_CLIENTS 16 >>>> >>>> Seems a bit arbitrary. Why 16? >> Sasha Levin posted a patch to fix this but it was tied in to >> the proposed KVM implementation, so was never merged. >> > > My patch changed the max pools per client, not the maximum amount of clients. > That patch has already found it's way in. > > (MAX_CLIENTS does look like an arbitrary number though). btw, while we're on the subject of KVM, the implementation of tmem/kvm was blocked due to insufficient performance caused by the lack of multi-page ops/batching. Are there any plans to make it better in the future? Thanks, Sasha