Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4183008imm; Mon, 15 Oct 2018 10:22:26 -0700 (PDT) X-Google-Smtp-Source: ACcGV629OAF1ugyPr+g7izNVKSDBANOMmqEjtAB8a5BewxyFNG40Bb5sOc6w+yhHh+9+7cCO+bHy X-Received: by 2002:a62:3047:: with SMTP id w68-v6mr18380288pfw.19.1539624146779; Mon, 15 Oct 2018 10:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539624146; cv=none; d=google.com; s=arc-20160816; b=SwbT1Yv/svVMGpk/ojCT9FvVAttAnj7tnD9elrjfVBUUcaGkWwXSpqrFltnU6XQkQB JIN1hufvnzIfkFDXUgYYFkg8w8IO58bWkmOLMrfg0QLeahE9joRTkejkkTbY9qHw5udK 1MjRiLVmNrHrh87b/P55oDO8LYyz6QFY4Bjezql0Gi4B+uSdbgq99qAaNly9u1ZQeULj dRHXRlAl4Ipiumg9X1QEDeXw+3DXsi27DOcuCJzxZHmfgsyP7Avb06L88WHyWUGLU6us K03op0mBjwpLQSnP+VOeSjgnose2wARBziAzVrUxAeyFPKU87tkDZY41a4eHZfiwGeu7 4BwQ== 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; bh=n2MIXJzYhjB0nYYFlnw0K1ypobP188j8IQ/KhKuHXu0=; b=jAKeTnbxi1SXRc4orZizKCV89W+HnsZfYKsdHW/fG4i8SoZZUhI3qgcZrq/0zXIeXr HHP2J3TZAwTbadEshXCjz68aXa+Nd1QdiP4JtUixxbNb5OCN0gcTO23QgsdcOumu+Rka bTBJTfCk2KYJVcPvUz+mKVyKR6OvFpMihKlhvE5IB+CTk2bQer1XSrr1TveBT6qdZ6it SjijEtJ2MhiH2zWTABZ2fo8LruZAx1VV9nFLW90u+FO97p8fen9h4mlI9fem7BM5YRee lvo9otWuVTRkwX2zHRN71W/WSqMHT2gfzNrfZx/MOqVpJ7pyzUmqbWLfNdVn8yH1G5sr N01Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BSy4TRVF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12-v6si10892225pgb.328.2018.10.15.10.22.11; Mon, 15 Oct 2018 10:22:26 -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=@gmail.com header.s=20161025 header.b=BSy4TRVF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726822AbeJPBHx (ORCPT + 99 others); Mon, 15 Oct 2018 21:07:53 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:46087 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbeJPBHx (ORCPT ); Mon, 15 Oct 2018 21:07:53 -0400 Received: by mail-lf1-f68.google.com with SMTP id p143-v6so3645611lfp.13; Mon, 15 Oct 2018 10:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=n2MIXJzYhjB0nYYFlnw0K1ypobP188j8IQ/KhKuHXu0=; b=BSy4TRVFXP5ZFNBkpPcOa/7ZcLXS0WLgMwj/0eCZTJMC1NfOi6PyJjFXQkSI8oGEB6 F6uVEtlbkqWaLSMnpFfk71JDwJu/PappTN6Vs3c6RH+GcNEwOQGofBC7PKb1yDkoFs6U jtBaOVj0MFYMkx34pmi0ulbtr1EZnz38EIimUbDp/5VK0PIKJfyndY0Vwu6Rdwyghees kaf58MDYY8ABK10BQlY+nua+hgSwPnQ8wSu+lEwNLdKMbxDmbi+LAQpSC73bIs6+My0D oKH744UPzCr9WlFpNKInMyYK7YI8N7JdQPE+TtMae2N+LCrEshITF6+0SH1eE1tZnL1y VyuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=n2MIXJzYhjB0nYYFlnw0K1ypobP188j8IQ/KhKuHXu0=; b=eleBP3fyINU6VqhHoUdqTB++jm0ihsSS960mJiIy0aKELZSRWcew69P+GJRWQXV3U3 QxY0Cst5JUNcxqMVXEYtW94Y/I+I50/NrXWnglusXClxtkXQs7TEpeyfVFcfdcQ/pxLM mKm57rej0LUMFZIbMEKdD4w/MrE3RxoL6ZyNeotQN4lausehgps6d5mlaxn2HuIxSuQU PInbyKs2Y1XbP7ZO9TFEccHJ+IpQZHslbUsMCv6bs9gUbO/Z3cvPmUJUEgNU21pc1PWw oZPgkwE8gVf0wqWXHFs1e+/BgU7puCxXbQPmiJ1WjtPkOvOYph5V1Eis29/T1huvKfBe tysQ== X-Gm-Message-State: ABuFfogXiYjoCXUakkjRQLRKYnvpobZ5ae0HDlOihKj5EPmJMhbsTFLT M4d7YwdJsXPxEUuy0m+l23M= X-Received: by 2002:a19:6e0b:: with SMTP id j11-v6mr10192445lfc.118.1539624102378; Mon, 15 Oct 2018 10:21:42 -0700 (PDT) Received: from uranus.localdomain ([5.18.102.224]) by smtp.gmail.com with ESMTPSA id o22-v6sm2567876ljc.79.2018.10.15.10.21.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 10:21:41 -0700 (PDT) Received: by uranus.localdomain (Postfix, from userid 1000) id 9D58846065E; Mon, 15 Oct 2018 20:21:40 +0300 (MSK) Date: Mon, 15 Oct 2018 20:21:40 +0300 From: Cyrill Gorcunov To: Rafael David Tinoco Cc: Alexey Dobriyan , linux-kselftest@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, shuah@kernel.org Subject: Re: [PATCH] proc: fix proc-self-map-files selftest for arm Message-ID: <20181015172140.GJ2401@uranus.lan> References: <20181011184359.15627-1-rafael.tinoco@linaro.org> <20181011205601.GA32757@avx2> <20181011210256.GE2401@uranus.lan> <20181011213006.GA13485@avx2> <20181011220009.GF2401@uranus.lan> <52504bd5-b4ed-518b-f748-c634172c6c68@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52504bd5-b4ed-518b-f748-c634172c6c68@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 15, 2018 at 01:55:14PM -0300, Rafael David Tinoco wrote: > That is what I also had in mind, thus the patch. I just realized we had > another issue on LKFT (our functional tests tool) for > proc-self-map-files-001.c. Test 001 does pretty much the same as 002, but > without the MAP_FIXED mmap flag. > > Is it okay to consolidate both tests into just 1, and focus in checking > procfs numbers conversion only, rather than if mapping 0 is allowed or not ? > Can I send a v2 with that in mind ? As to me -- yes, I would move zero page testing to a separate memory testcase. But since Alexey is the former author of the tests better wait for his opinion.