From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933821AbcFIBk4 (ORCPT ); Wed, 8 Jun 2016 21:40:56 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34547 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933806AbcFIBkz (ORCPT ); Wed, 8 Jun 2016 21:40:55 -0400 Date: Thu, 9 Jun 2016 10:40:52 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Sergey Senozhatsky , Sergey Senozhatsky , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Sangseok Lee , Chanho Min , Chan Gyun Jeong Subject: Re: [PATCH] mm: add NR_ZSMALLOC to vmstat Message-ID: <20160609014052.GA655@swordfish> References: <1464919731-13255-1-git-send-email-minchan@kernel.org> <20160603080141.GA490@swordfish> <20160603082336.GA18488@bbox> <20160603102432.GB586@swordfish> <20160607014340.GB26230@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160607014340.GB26230@bbox> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Minchan, On (06/07/16 10:43), Minchan Kim wrote: [..] > > > It doesn't support per-zone stat which is important to show > > > the fragmentation of the zone, for exmaple. > > > > Ah, I see. > > > > *just an idea* > > > > may be zbud and z3fold folks will be interested as well, so may > > First motivation of stat came from fragmentation problem from zsmalloc > which caused by storing many thin zpages in a pageframe and across two > pageframes while zswap limits the limitation by design. > > Second motivation is zsmalloc can allocate page from HIGH/movable zones > so I want to know how distribution zsmalloced pages is. > However, zbud doesn't. good points. well, my "motivation" was "on 64-bit systems high zone is empty, so those are zones below the high zone that we are interested in". [..] > > be more generic name and define... um, my head doesn't work toay.. > > ZALLOC... ZPOOLALLOC... hm.. I think you got the idea. > > Having said that, generic name is better rather than zsmalloc. Thanks. > I want to use *zspage* which is term from the beginning of zprojects. :) thanks! -ss