Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3288911ybg; Fri, 25 Oct 2019 01:47:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnJDbGqX2pu5y4ymSvdqK7UZayctlLA4kuEwze3cuPvbuSCcUDZy5RVgiIS4e/vE3Uw/cu X-Received: by 2002:a17:906:7d2:: with SMTP id m18mr2281734ejc.94.1571993250446; Fri, 25 Oct 2019 01:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571993250; cv=none; d=google.com; s=arc-20160816; b=cwUEXAQRomnlO2/gvc1ihSde04grzYPNeJQh4FygKrOabycX8am2sXh0ViCy8XaF81 BKchaR7RHyiaKBa4/MBMuzKeoGRnOmZIr/Dd9xK7HXHvuuPzgpsvRJfQKhAe7918DaZH 7b+OBeOkXYCIVjb8nISxY/9Vm0biqnrOlqxDdXXZy6khK79McYqYzGnqWT7SmHIBoPxV EtV429zPn0NNOX/vBscEgk8W4T3ESwdedytW5elCMvR/Xiq4/34LbOc1Sk6PXfu93PWX COPdN0H2Jy2B/Hrx8p/LKljfD7vPM0BAdTotjQqnx1DaNnNdVEXeYakkTpfjt1lvizN9 r8lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=Kn7zXHlDFisa5ha0EEX6R2nGbeEvvSUeVrzHt3lZZ5Y=; b=KYYXKsyf5yIxlR21lUv+mqhWLvtLRJaAKXoEiXvNRfTpm2OxDjDg6tfFX4m4Enhcdv Ethnv6ndfRiaupm7BamY34Bhcc5Aw0rw4jQJvGVFfqDE/f+smvm8A4w1yN+ZpU7i3kgD 11tVaUZvVwJycn2vDV7gq+rdIXuPe8QDOUMWFzUf7gm3YF27Ht2vZnuaSV7aK6+t/jfV 4qH/KS7L/TFzWvaUJs6Gy0g8wBCdhM8zZ7M3ppwYRqOuqS4Eu4vPEfCStwXuSHP4Wjq0 fMxCaJUgMhXKNeom3elWyezZdeeufD6JwFoNEq7m98IoWGHSHWv9ku4jIndux6BuIFvm +x6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=gvsu7dLg; 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 q19si846195ejn.299.2019.10.25.01.47.04; Fri, 25 Oct 2019 01:47:30 -0700 (PDT) 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=@lca.pw header.s=google header.b=gvsu7dLg; 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 S2436908AbfJXKv5 (ORCPT + 99 others); Thu, 24 Oct 2019 06:51:57 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:44393 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404139AbfJXKv4 (ORCPT ); Thu, 24 Oct 2019 06:51:56 -0400 Received: by mail-qk1-f194.google.com with SMTP id u22so22929124qkk.11 for ; Thu, 24 Oct 2019 03:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=Kn7zXHlDFisa5ha0EEX6R2nGbeEvvSUeVrzHt3lZZ5Y=; b=gvsu7dLgdrwVG34RluuIVlgzt15mmCgM2Jl+plvfxXHCBPSeBtw2cUlbUOS5l5OhKe dpLW/ohRQRoX7907vOa8nqZ/J+zm6O1uSZ0cmRQF69+36gRme4gjkD0KfvLIxw/vYcTw BD4Egl1/U4Pp+jvNtVFipaJ4sK8rDHbfoCC5yTHIZt5vm5D8djxYIRH/170wqYRj1556 o9nk9M9/M6kSeu6SzpDlok2jdcLBUv5jZR/W+pq3d+AEFd6TKFYdSm8iVXSCR+m3gRH0 npt7U8HYHUCKoVcFK6OkzDQFdS+wrmzdSJ+2rWDdKc8OyzrkN6ImH/LGzkcqrtYIAJCJ owUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=Kn7zXHlDFisa5ha0EEX6R2nGbeEvvSUeVrzHt3lZZ5Y=; b=ebfjRj8ugctwjjdyDsNSdtrtwaVLL0Y2yoQIzGZ2h03AmYNi02atQ1ZvTF/Ab23yRV 9MCKcAz7OTvU1fbg+1gktsJ6RxvpjMC98RLeIeVi0XiwWFQdYh7K69UlXd5UvBX2LgvK vAG64gcCE13Tq/TrNyHIIxybZ1+J9WkcRVmbEtwO7oUuL4DUO/aI7vBNgR6yDEfbxk7P rsaM+uurgzIUb77Xs3k8rAKAkMsplDsev5rXRO7AUxy+A/j6/NA9fW2+UQxdTnuDk9xP WREldrvSjAsAlUGGT+1WYwtY8WyV1lse6plhBvpeo3uWcIDvJoA3jKq2g/1OVCBRkHfK 8voA== X-Gm-Message-State: APjAAAXp5CCEgoWgOJb3RRUHTmMBNZLXYWoQGHI02rcvdOwwYi8+J/jq A9IHvUXrItVXHrHxmMrMY1GpwA== X-Received: by 2002:a05:620a:16b4:: with SMTP id s20mr13122328qkj.53.1571914315702; Thu, 24 Oct 2019 03:51:55 -0700 (PDT) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id y29sm13170269qtc.8.2019.10.24.03.51.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Oct 2019 03:51:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] mm/vmstat: Reduce zone lock hold time when reading /proc/pagetypeinfo Date: Thu, 24 Oct 2019 06:51:54 -0400 Message-Id: References: <20191024053445.GB42124@shbuild999.sh.intel.com> Cc: Waiman Long , Andrew Morton , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Johannes Weiner , Michal Hocko , Roman Gushchin , Vlastimil Babka , Konstantin Khlebnikov , Jann Horn , Song Liu , Greg Kroah-Hartman , Rafael Aquini In-Reply-To: <20191024053445.GB42124@shbuild999.sh.intel.com> To: Feng Tang X-Mailer: iPhone Mail (17A878) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Oct 24, 2019, at 1:34 AM, Feng Tang wrote: > > One example is, there was a platform with limited DRAM, so it preset > some CMA memory for camera's big buffer allocation use, while it let > these memory to be shared by others when camera was not used. And > after long time running, the cma region got fragmented and camera > app started to fail due to the buffer allocation failure. And during > debugging, we kept monitoring the buddy info for different migrate > types. For CMA-specific debugging, why CMA debugfs is not enough?