From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 782E5CA9EAF for ; Thu, 24 Oct 2019 10:51:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3CA322166E for ; Thu, 24 Oct 2019 10:51:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="gvsu7dLg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3CA322166E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lca.pw Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7F90F6B0005; Thu, 24 Oct 2019 06:51:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7A9806B0006; Thu, 24 Oct 2019 06:51:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6BDE86B0007; Thu, 24 Oct 2019 06:51:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0241.hostedemail.com [216.40.44.241]) by kanga.kvack.org (Postfix) with ESMTP id 4B5486B0005 for ; Thu, 24 Oct 2019 06:51:57 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id D5C5F758D for ; Thu, 24 Oct 2019 10:51:56 +0000 (UTC) X-FDA: 76078363032.18.owner32_2e0f1f0816e3d X-HE-Tag: owner32_2e0f1f0816e3d X-Filterd-Recvd-Size: 4021 Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Thu, 24 Oct 2019 10:51:56 +0000 (UTC) Received: by mail-qk1-f196.google.com with SMTP id e66so22940390qkf.13 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=H7JPF4G1dQVaJGesIPnlcLTDSSVzcE3suRpSPJucbzmIr3/xMPFZUSMuUTZw2dp85h vYDXOS9n4lNK1oeDB3zMbXAeuodEA/IKshh6x/SActYUtvJWFVmyZJ/tG/zACffPRUmQ G06ZNo3HzOA1yV1OvqNAI8Waa0e+XHf563cDtHG6+fRJVdFmm3fRMUebGl++sbFgAAaZ pKbQ31AcOcqtSKW2NwBY57vXKuP2KCKP6WlqqzkppIrgPdwMeIEtNipSaaoQjPj8uBma jkJHtG9vEgcZLFdaZtwzbVtWRbjLTBsGKxK8ZZy22fHdeq5uFL/Q4BwEcS3SKCHY/FNN OSHA== X-Gm-Message-State: APjAAAW8JjDOkL75ox8O6A/vzf4n62d2fHLhDsF13DwCxjgILyzdl/1c qa0kBlbFELV3qww/244iZ8hjJQ== X-Google-Smtp-Source: APXvYqzWgtKvFmwS91HOJ+59EsYqLoPDVaajXBMSSsHI13EtfayPCsKTm6FdChMHjdf2cN6OeVFgWg== 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) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > 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?