Received: by 10.223.185.116 with SMTP id b49csp6862678wrg; Wed, 28 Feb 2018 17:32:38 -0800 (PST) X-Google-Smtp-Source: AG47ELsNWCUQtcJAew9Nd51wqeYS1syerox+dH73TCCkeLWMlnNbMin0CFi6kwJxYZaOQtmq7T6e X-Received: by 2002:a17:902:1763:: with SMTP id i90-v6mr122712pli.309.1519867958040; Wed, 28 Feb 2018 17:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519867958; cv=none; d=google.com; s=arc-20160816; b=PEHMCqLY4yxqdF24iZ3PePK5aN6idSTDBGcwAlW4/pEEmVY6zgt7la9tjkgM3vsvDj i0q/hZZqIc//FQfkREyPCWL8TWMPfxJoRW30RSHPuJYaH+1PsUQ4BEE0LbG3Go0oPjuT xvA6nyHoWu8mC3jYlT/J/ggIl+YZOncG9GiTa1dlecNPyuZziMkl2SiMq7PKopKcrKUu 8wSHpwHo+BYS1ktJMQhooD59Ghs+wojQm6vIdZaeP+e+wtP/+YKqbdnfImspwGNrFtjD zzaPmJHaSgxsxGrAx6/ap7Z++HYCZ18Q2dDpn5pWWW84dPjDk9bEIBcOrVinhh3Gg37l FV+w== 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=jXr3JGav7pu+whJdxCxbMCO5MBz/OGqmYbz4zv0AuOQ=; b=qzqUL8a//+beoD2U0kzAKlD4+EvPRPm8t3HNls41mVcdjIrqm8W3xuX3PCz4kFOScT MiNVPJ7T7cyZDnByglpdoc47TB3LZIaO0sZLzrevqLLoREMjfKggVOyVYuBUslZv+A9Y mimCOSXoyOT03ix+VE9YBxuPZ4kKjyvgz4hjdAh76fwNETZiFbjXV79mby+uv575gsMn /AaknjRlrjcClTHwWWVuC+VDgkMh4EZJWwOp9kZaFL/136Oqf1IXUEW/60z5Wrwl+rJv P/sRkE36cOYbNRH1zzsE17RgHMR2K8QVKHRWmQ/OoBvUCpqhn8LQZ8rOR69rUcEJMzff 507A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=T4UKUivB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69si2095216pfv.15.2018.02.28.17.32.21; Wed, 28 Feb 2018 17:32:38 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=T4UKUivB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935645AbeCABbU (ORCPT + 99 others); Wed, 28 Feb 2018 20:31:20 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:34282 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932134AbeCABbT (ORCPT ); Wed, 28 Feb 2018 20:31:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jXr3JGav7pu+whJdxCxbMCO5MBz/OGqmYbz4zv0AuOQ=; b=T4UKUivBFflif6I4A6IuRLYto f0ELl+8JBnE+yYF+Z0dLvi2clNRS9uCVjmvvFFTrXVZUFyDoI3e33ehf+4H+VFSpgqcRl4esGfe5j pcEVhZaJ9c8HaOEUSunPGisiNmqeNquKhwaB/XBsozdlE2JPeFI9rMaNriKab264o0UZAXILgTQxj xDAyViGUQwkOE3XVJs5YikamBNsugs8av9ahmWB1rhfU4q52N8Lnb4v9zu6T+EUDuFObVWlhUOeSi WCoGJ5f4UMhN5ZEdNVVLuQhBw1W4+qeU+ZPhKoNiPem1HsSJd+0ILlwoue0+srJETy7w0zZWDQi22 oQ9TL21jA==; Received: from willy by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1erD3z-0003y2-Gl; Thu, 01 Mar 2018 01:31:15 +0000 Date: Wed, 28 Feb 2018 17:31:15 -0800 From: Matthew Wilcox To: Randy Dunlap Cc: linux-mm@kvack.org, Matthew Wilcox , Martin Schwidefsky , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/4] Split page_type out from mapcount Message-ID: <20180301013115.GA2946@bombadil.infradead.org> References: <20180228223157.9281-1-willy@infradead.org> <06c145aa-db40-df72-b626-da9d45f9111d@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <06c145aa-db40-df72-b626-da9d45f9111d@infradead.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 03:22:49PM -0800, Randy Dunlap wrote: > On 02/28/2018 02:31 PM, Matthew Wilcox wrote: > > From: Matthew Wilcox > > > > I want to use the _mapcount field to record what a page is in use as. > > This can help with debugging and we can also expose that information to > > userspace through /proc/kpageflags to help diagnose memory usage (not > > included as part of this patch set). > > Hey, > > Will there be updates to tools/vm/ also, or are these a different set of > (many) flags? Those KPF flags are the ones I was talking about. I haven't looked into what it takes to assign those flags yet.