Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp332431imu; Thu, 8 Nov 2018 02:43:02 -0800 (PST) X-Google-Smtp-Source: AJdET5eDgIzOhD1Tq1VJFAtr6pMvswcUoRhrYmvRO6NX0gUITGO0PVbjDxcrFuTiiAU3BNz/ru9S X-Received: by 2002:a17:902:1e3:: with SMTP id b90-v6mr1208782plb.117.1541673782279; Thu, 08 Nov 2018 02:43:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541673782; cv=none; d=google.com; s=arc-20160816; b=AKaikq1HNJWlJpJuUD7WYR7+1314/9j3rXhr4sA8QqfQKPMLR32xIBhFmjCvbd2G8F DRuAFYsHrjjlosPhqGW+OMChb3oLV935TJSDo/xZxZgrgeUvuYvwqH5pc53iLTfqU4dD vkvWpx0oo37w1R/dH4rPGdWbFxLJ8O4UeBjJ+4nlysJDZh6VCxnNpdFJyqpRLxACs6B8 p6c/s7jdKIUBnIEPaDm0Kkd2SVF++YalX3LmOD0cA4iPJa55asfebkkPfrIYiwNifbH+ j0HIRrqIWGHNwjtPK3PqnNV6nNqcnJNijBhE728JzIo/KGSchuNr2BxGaySW/MAMQssd sihw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=Lkmh31+hoVnFy+XkyCL9z7DMuR9lvV88UEn3MyyZNoc=; b=dhwIXsiZqggrRbMukfVP95VaKcb5QBwvq0vHoOowk3ZrsKnd7HZhGd8v65FTvpAK6U tivjmjnMPaVf/PwAJB3yKFbm/JQlbOA3Mh9VxG901uCuiaOXWIYIQpNlA2pP405K+aE2 gUqmqlYOEiuRv6Jg8Bat77s0L+4vqF4jfhPXRKJkrRbWs/kbWjUyKw2EtX+PdIW6PmAj 56b5rhWguqg4mWtXN17JG2ruSvBPf26rsnKxvwtnKmb/dNOIuzF2qLChN2f1OaxN7rXR 3m7MLZdshk72khmN0WbMhsI5WQAqAhl4f+EnN60FFS/nEeluqLt7p5hbztJfYTIJg2hT 7Xhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SNZqjvjR; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y207-v6si3929191pfb.59.2018.11.08.02.42.46; Thu, 08 Nov 2018 02:43:02 -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=pass header.i=@linaro.org header.s=google header.b=SNZqjvjR; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726659AbeKHURK (ORCPT + 99 others); Thu, 8 Nov 2018 15:17:10 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:39766 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726145AbeKHURK (ORCPT ); Thu, 8 Nov 2018 15:17:10 -0500 Received: by mail-oi1-f196.google.com with SMTP id 192-v6so15750076oii.6 for ; Thu, 08 Nov 2018 02:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Lkmh31+hoVnFy+XkyCL9z7DMuR9lvV88UEn3MyyZNoc=; b=SNZqjvjRIqO1LvQS/BQpIZK4G3NqHEPyCs7tpTdeMg+EtbOMmdZWoDlLcHpTKEqqPS HqChvflQaptYoSBadPMvoq7xdE7IuLicyboAU4Lb+zYhLSCpNPrwmleJFhr3CK9ThGhx 9mFBZgFg6bsNedZJW3DePk96NHpEwXFfzsl84= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Lkmh31+hoVnFy+XkyCL9z7DMuR9lvV88UEn3MyyZNoc=; b=W9mVmtynt80OVLiZ4rH6BHWjf2064G3j5OsRExhPDOJsdND41H4C++DmZLUhazmoqQ WTrLmVGTliEwW7EaPMqu2UwxokmEsVpC9vITjes46BuwwymNLBTM1Y1K7ENMHZ9AbPfI cMyr8drC7fD80sNqr3eJz8F1yqrM4pbGjAGIWD72tGQ8TivyXSUYfISiB0kONZqTb/Go PBKw9U7bcsWoenRycEn1ARAe6YqizTLdlSyC8rmTD8HkEtD57wciCANqKjQ9CR2ASXAV y2WNmf4D8ckosrBKYNQKKOqzIq+HUd+ffaD8sM1HHmczUviyf67PygS1Vwk0Li6EW4SE Y9iw== X-Gm-Message-State: AGRZ1gLnaK9lblzA8eeg1hkExUstdasEENGZSra8uBqloz83bUYDKB6V TRgnC9jDXMLnHSt9KsiciTcVIRXzuiJ/1Q== X-Received: by 2002:aca:bc44:: with SMTP id m65-v6mr2355988oif.28.1541673738610; Thu, 08 Nov 2018 02:42:18 -0800 (PST) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com. [209.85.210.52]) by smtp.gmail.com with ESMTPSA id e191-v6sm286780oig.39.2018.11.08.02.42.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 02:42:17 -0800 (PST) Received: by mail-ot1-f52.google.com with SMTP id t5so14083469otk.1 for ; Thu, 08 Nov 2018 02:42:16 -0800 (PST) X-Received: by 2002:a9d:635a:: with SMTP id y26mr2254628otk.27.1541673736486; Thu, 08 Nov 2018 02:42:16 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ac9:775a:0:0:0:0:0 with HTTP; Thu, 8 Nov 2018 02:41:46 -0800 (PST) In-Reply-To: <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> <20181015172140.GJ2401@uranus.lan> From: Rafael David Tinoco Date: Thu, 8 Nov 2018 08:41:46 -0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] proc: fix proc-self-map-files selftest for arm To: Cyrill Gorcunov Cc: Rafael David Tinoco , Alexey Dobriyan , linux-kselftest@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, shuah@kernel.org Content-Type: text/plain; charset="UTF-8" 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 2:21 PM, Cyrill Gorcunov wrote: > 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. Alexey, would you care if we turn those 2 tests into 1, taking care of the zero page testing elsewhere ? Would you mind if I send out a patch for that ?