Received: by 10.223.185.116 with SMTP id b49csp5625121wrg; Tue, 27 Feb 2018 17:28:02 -0800 (PST) X-Google-Smtp-Source: AG47ELu1kCbdmGWrAxUDrRb/Jxr6djPh+qX33AjBNs764jL8f/0zK+S382FHGeBStmFiLpg1kSSy X-Received: by 10.99.183.68 with SMTP id w4mr9853266pgt.113.1519781281814; Tue, 27 Feb 2018 17:28:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519781281; cv=none; d=google.com; s=arc-20160816; b=ndab7MCFdEe8W1wqyEukMcR7CFyYLGJ/0H5YxHojYJpMI1I6jPBFjjtZHmKEj98Vxm 3t3/p0l9wg4H8pA5L0yvoX4SJajlceEUT3ExBoHK65VsUkYcNlyk04092weCMqVcTxE6 1wmefynf7POtSqN0MTRelu0X+vB978Wd6HdM8hvqfE7aYOGz+ZMZcj2aN66h6lGDlGWZ ETnUJ24Rd6WQK39oiBczmgIVOux8BKw8wvMbzO7vvsFTR9zKH6Du0qwDX2N6LbQ3LNIH EHExwHaXxY7uFONlZvHiG6ezfYBpFugpcN5Iphnv6ehFvLl0X/wcL00n5+K0d8HzkXFu 092w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Pb6p6/0UTeXpfkcMZjmiqSKm/ueR9LSbAKrTUNo+LpI=; b=POYXsQd37ZlPfcLc/PTr2g+1qKqLlGxOLppVFkbd403md1bFJGSu1XzfwyBaQXbdkR aWJcJstXnh5SnjIE3bbAxI77y4uK0v0vYE/kLOvtI/c2gN8edQeiIpZtPDipH5Mpnwpq sM9eQmpycEweyWsJYGKGAIinKaZLcHRBGdyE88pwgmH7P9Y0pwefRrmOJOgj/zXx80hH TozLe0PZh5WI7vMN2FNrcxHl+fG+ykOvOzCgu5FEQEMbHB90XZQ5vw10mhz3PJXptN/m h81E+lWO0ZrGPI4h0BEBFXNU3fvnbTN6/Kcnuz2lcH7mxWwn0q6wN4ldogCEqSiUHfGJ WpQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=saCcQCox; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si267592pgq.332.2018.02.27.17.27.46; Tue, 27 Feb 2018 17:28:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=saCcQCox; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751775AbeB1B1D (ORCPT + 99 others); Tue, 27 Feb 2018 20:27:03 -0500 Received: from mail-pl0-f51.google.com ([209.85.160.51]:41418 "EHLO mail-pl0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbeB1B1C (ORCPT ); Tue, 27 Feb 2018 20:27:02 -0500 Received: by mail-pl0-f51.google.com with SMTP id k8-v6so528779pli.8 for ; Tue, 27 Feb 2018 17:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Pb6p6/0UTeXpfkcMZjmiqSKm/ueR9LSbAKrTUNo+LpI=; b=saCcQCoxBo5G9LWgo5xzz7QDKzzmkUw1Hl2zcfjsAGnFXWmvoldE2cqqQp9wMQSVbi ygp/XGbBSaddSdMlKu/nNpUxFMubHORMVZwVSS9+N0UgwPFasChDAfQb8+mnB/y/OHkO N0vHakiOdTKr34Gh0YVokjgueJ6JVKaQrd9fE/KMYrPVQCmTE+Ye1Q1xObzuKGvw7FnD HHJGxWxuxUdUz4ziMAiJzbMSMCqbTC0MN1Bjg3JG7yYUNW2H4bpdPjqL31s6yoDISYxF dyNx0MdkgEhtZelJdXaoJbz1f6Qrta9kYmrQTNDYkz4W27y/FfepFVVuEpKjl8diup4x HUgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Pb6p6/0UTeXpfkcMZjmiqSKm/ueR9LSbAKrTUNo+LpI=; b=RSagJ1KGiwvhQwhptLVrCMHk71QOFgoyfQydzRJntjpBZMyho9H5For2WprgAfz4U8 /tKFM0LQCnIXv98B3Y92zkqE06vHK2kZDqjbRmH/aIgcKPnD42dEfqzM4WfBW02a81nP 29pyS2K8GnjkFOLu24+44ZmSpm5uJWBPugYbWyWBCVeXR9uI24aUVPIP/K93AFqvoDGt h/ub82IDjD1Be4vpx5FFRBBJKQNpI6sOIVe7o5Djnc5rJ2PuudlnaYjyv2guxKyPu5Ll e4RH+LQi6voOeodosU1Qg3v0l+k50r5qxQRkND3rMa4mFgciNyouUJcCgaOgZiUjapvY aZzA== X-Gm-Message-State: APf1xPAxSoj3UNS9e7f5QYBPp5mLMhhYoTGjmzHgYiHTqrIpiKd32s5h yx3DxgEonQ0c9aMjxSUZ3bVkNg== X-Received: by 2002:a17:902:a985:: with SMTP id bh5-v6mr15928156plb.230.1519781221991; Tue, 27 Feb 2018 17:27:01 -0800 (PST) Received: from gmail.com ([2605:e000:1117:c19a:2e0:1bff:fe70:ea]) by smtp.gmail.com with ESMTPSA id i1sm565405pfi.116.2018.02.27.17.26.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 17:27:00 -0800 (PST) Date: Tue, 27 Feb 2018 15:26:58 -1000 From: Joey Pabalinas To: Minchan Kim Cc: linux-mm@kvack.org, Nitin Gupta , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/zsmalloc: strength reduce zspage_size calculation Message-ID: <20180228012658.t3z5uowdn24wxv6z@gmail.com> References: <20180226122126.coxtwkv5bqifariz@gmail.com> <20180228000319.GD168047@rodete-desktop-imager.corp.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="h4krtnu4bl2l2wvd" Content-Disposition: inline In-Reply-To: <20180228000319.GD168047@rodete-desktop-imager.corp.google.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --h4krtnu4bl2l2wvd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2018 at 09:03:19AM +0900, Minchan Kim wrote: > Thanks for the patch! However, it's used only zs_create_pool which > is really cold path so I don't feel it would improve for real practice. Very true; in retrospect this this definitely isn't a very hot path at all, haha. Cheers :) --=20 Joey Pabalinas --h4krtnu4bl2l2wvd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKlZXrihdNOcUPZTNruvLfWhyVBkFAlqWBWIACgkQruvLfWhy VBnRWw//RHfWVjVfAS7WBjdIKdL4pITqIm2qWHpL/L/RQw9g8RhtgP++gBtB2pVP HN7TZ3OW/+3qzCtzY1QLgjbGu5wA/gBuL6oz+xq4pihZozHhby5Qv1ndzvTl+MwL /8pIfjKKn4hTRQvGSkf31EXkehGyx60BLSx7qEMfSkmfFny2jEeG6LX8HmH8wCyp fOYC/8DoQcc943eOsVgZ450258qEBvCCDZ7Qk2yy+gqdsLYgtWKtFaagKbUSD6xv /tCsHD2LaOtD+iLcAG5zLkQioF6h/D7yCowLEfDCAmZnBVMxruRH7559R+8XN/xt 5SB0hc4BVLx2rH/YWx0/sRGteJwCDNbGEC95wB5hiHJOQcEbjny86mv+IbRXpXs2 nQs9FYBmpHHOUZlKtMguhjGd3NaP9G5MfKclXJsIIOn9ZVI2U4nCD8P+z99XsTMK JUDuxSfNrY+ylpHxPxmyYocx1w5sxjvG/3CvjVkZpKh1VKxQ3fYjbR8xPs8muqqe xSa/8Rh5y+/s7ZvOLeez0r9fAeBfoiyxDx1OKB4qJTpPYzc89N2hcghF6WZGqeKL 3uV/LAvGv9JQzUUbFqsEZdcJsiwmKEd9m6CsbvFMEQfEGsZFLzcFYmeaPh0RQphL YameC05JCZ1zKc6TyaU1ZW5cgwrnN5lu83srrAnRN03tYwdyHyw= =JDEO -----END PGP SIGNATURE----- --h4krtnu4bl2l2wvd--