Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2067049rdb; Mon, 9 Oct 2023 11:19:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHisHdHGOkGhH9suJYR59x0H8a/ERSXgHCkAwoPrvcRjYw0Imf0uoXpuROAbJGOAB4iIotO X-Received: by 2002:a05:6a20:1596:b0:137:74f8:62ee with SMTP id h22-20020a056a20159600b0013774f862eemr19703811pzj.18.1696875550086; Mon, 09 Oct 2023 11:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696875550; cv=none; d=google.com; s=arc-20160816; b=LZQohyGAOrzMV27T3nw/HKwJkQ6rVyl5rMGIalPjpLDurb7SquhK0EfB7uUxHIHLyC gQbu0/gL38gIjy91fz8L6m0dFl4mykLwnJQGu01lUTc1+HKJWBSL0iyUOyv4bN8iG9Dw Y8StknsqOEDpzyF7NV4I7eT488WIvDtGbcBbirndTwrUrJQ3D/ST6HxqSTFKilYJhEiU mF5zevFNDFG+OiuSJ+ItoQTe6TeY+VABKiLgoQKi0uT0A+qXrYlqLnjlRHcJ4/pM7k1d OU7HmU6xeqZJTDMTBieImSzWsmJClRvi4VEtn5fOfe8l4Wud6Zc9aMfYzLOrLAKgzUFQ D/hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sDDwHA1/FuRqkQTdU8IROnl1mr9DrFny1zyzcov0LMY=; fh=jtBnRyw1xOLxh/bGjrNOWcuyPQkkNvZgqhc0+CvtZjY=; b=aOeaVNnNIWSbih0rWB13w4nZFl+V6TCik9VKUOtBNzPOENYjV8dshLpyK2927P9eP8 lRCi+FLGtMhZTGlCmkanQw/xq1PwR0Olnr/9KAaF3RdH18ew3VAAYsckMb1n7RePAlBv n/VXbzaqYnofaNKpEy4MtQwJx94V9hmiTBfEXyjAnC2g663mmQqaCwA39d8ASq0Yn/SE WHFGNXQJSFoDwJkvLOMASNb00VxV7EPuPXXd3im2HKsZCmKkVzlR5SpuZREQldYk1CLr gwAoRehDHGxgDIAxnf4zR14XfEfSaUmZ3qP3aS10vLm794Bfp4xhKaPzlE/CyFXhCsBc w1Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="nN/D6HxL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id o2-20020a056a0015c200b0068fba252466si8026217pfu.169.2023.10.09.11.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 11:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="nN/D6HxL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 7F8D88029B86; Mon, 9 Oct 2023 11:19:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377560AbjJISS7 (ORCPT + 99 others); Mon, 9 Oct 2023 14:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377544AbjJISS4 (ORCPT ); Mon, 9 Oct 2023 14:18:56 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 142EE9D for ; Mon, 9 Oct 2023 11:18:55 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-690fa0eea3cso4323972b3a.0 for ; Mon, 09 Oct 2023 11:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696875534; x=1697480334; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sDDwHA1/FuRqkQTdU8IROnl1mr9DrFny1zyzcov0LMY=; b=nN/D6HxLLq0wBjMwZchBf6jcqQZ50K0vCeZq89frTuD/8Yaas92udKovcsUkTcFKxb FDdX7hdWniE2j9UO0HrL2QvfUqbS3ZziGsa694uAKk+he0XA9FjQBmSPcCzJDXmy6fv9 3vOM46JIUMBI9cVKsohn/lYppRUsBi/qBSVQqAhes4iyNqgnFS4LKIrvll5worIPKB82 5II7rbGCQNZ9lu5lByUyvKVOjBQ3wxUs617yKA7fOBUgXdpMeBCfWM4lW6whok+8Npg6 P/W9v9tsE2rIS62C+ABF1vP9NTllsJyfliPQ+GG0QS3DEj4l+/oStUqaELspmwcinRtj atMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696875534; x=1697480334; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sDDwHA1/FuRqkQTdU8IROnl1mr9DrFny1zyzcov0LMY=; b=eIpcAwtBOjHM2PMzDuL/0ehRex9S/xmnelGSWa4qtZPCKOw6xpaa3gnnGHrLuRGml9 PdHpAb9B0FZv5xQzUksG4v78bu3mjcaqKTciKAtBbxZG0/YSmIQ/dQagZxvr+fw6UIVk zvafN0W2oT5xnB0h5GmuBQB/X0QAfyLiibPS23do+KTYFQPD2kNghz74UyoLqhIRJyMz oy0oHnl3oAPyfuYtC41GCjihO9zE0qIR7B56VKuwWcKUimmgmYL8aTks3n3865ivCfi0 RIcf6dqaNxIn7kwnGCOdi5cTeMB4C5A94xJe/zMDVXu4jra3oQdS7Fl3oQ73bINUfU7w dDyw== X-Gm-Message-State: AOJu0YySxYn7pYpOa6uELQYS6FLPh9lpSzNbqlYXdLFG7AUHamcVpCKs j54VyHzEC8DWnb5ZzV9Gl9U= X-Received: by 2002:a05:6a20:7488:b0:161:2607:d815 with SMTP id p8-20020a056a20748800b001612607d815mr19051335pzd.24.1696875534485; Mon, 09 Oct 2023 11:18:54 -0700 (PDT) Received: from swarup-virtual-machine ([171.76.87.78]) by smtp.gmail.com with ESMTPSA id l4-20020a63be04000000b00565e96d9874sm7673833pgf.89.2023.10.09.11.18.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 11:18:54 -0700 (PDT) Date: Mon, 9 Oct 2023 23:48:49 +0530 From: swarup To: Alexey Dobriyan Cc: Andrew Morton , linux-kernel@vger.kernel.org, shuah@kernel.org, hughd@google.com Subject: Re: + selftests-proc-add-proc-pid-statm-output-validation.patch added to mm-nonmm-unstable branch Message-ID: References: <20231004201701.87CB5C433C7@smtp.kernel.org> <9ce82fc2-4e09-40c4-b5a5-a9a049c2f493@p183> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 09 Oct 2023 11:19:07 -0700 (PDT) X-Spam-Level: ** esOn Mon, Oct 09, 2023 at 12:00:04PM +0300, Alexey Dobriyan wrote: > On Mon, Oct 09, 2023 at 09:14:53AM +0300, Alexey Dobriyan wrote: > > On Wed, Oct 04, 2023 at 01:17:00PM -0700, Andrew Morton wrote: > > > > + if (errno == ENOENT) { > > > + /* > > > + * /proc/${pid}/statm is under CONFIG_PROC_PAGE_MONITOR, > > > + * it doesn't necessarily exist. > > Oh, and /proc/*/statm is _not_ under CONFIG_PROC_PAGE_MONITOR, > it always exists. Hi Alexey Dobriyan, It is my mistake, i checked the code, yes it always exists. Thanks, Swarup