Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2216343imu; Sat, 10 Nov 2018 09:58:06 -0800 (PST) X-Google-Smtp-Source: AJdET5dDBTtJPhnoKmcLfRzBXQUfEeJDEiyzpykkPecDOyI6LJyt3LVGVdluiP0bIQ7tk8k/mV9C X-Received: by 2002:a62:5dca:: with SMTP id n71-v6mr14260933pfj.54.1541872686862; Sat, 10 Nov 2018 09:58:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541872686; cv=none; d=google.com; s=arc-20160816; b=NmST7RfspAJxJeJAo+cmammgihELLgcKu/AiW9ioBp1XKuUW382KqnWsap2Cu75/Zb lXFioB7SeFFbU1J+DljWVN9MZBjqTvcypvn4G7BbV+GtXiwZWzbqYmOJbJ5oK4zCt1LC Cr+efNlMqZaM4RyCmAQwK6rr9BizAHr18yzCqx14wmOWZlAN6iPrWyU/38a7wwLjLrv4 ro4L608LjqrBcymLbF7UA3WQkDzK84BMYw6F8/nk2cPg4Ff+OodFovqKjPXRqQXLD2GV kT05amNFj7n1SkClChFeXqMBcrnWLuHFfFZD2jIaqNFKsDPWCWI703kMxBEdm7RhtzEj CWeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:in-reply-to:date:references :content-transfer-encoding:mime-version:cc:to:from:message-id :dkim-signature; bh=iULDBYyPE6AFQPLd4i0McCGCSaI9+qyothMxeHkTiCE=; b=SMIh4qQpUBTRouaZ1likRAsnLAIL1gQiDXLMcyPeCqDCwTy2wGdn3EV+N5RpCE5oEN YpZox7X7MINAx+TgCEWFZhnJj7XQ4yahuPuzMUvJToEvvXo9/+28eLJKKa2S7Q4j3+xs zN0b0NdSmE2CebG5LBmCaVdgbcuL19Pdhji+iitg1TnHS3HaI/zVb6Gh1JSnZN6xdi4d BVvD0L3SoPOAH0tOx9OgiXX3/1UyETlpwX4lvom16CJxhzzCIGcBUV6BJw1Zv7FaMT0k 7kxmxVWcm9HH7mSThstpv9njqdF3JNkR23pI9V5YwAO7AAmjLjQ7EAX3PtplWa4hlONK yJhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bba6HCAv; 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 z23-v6si12058226plo.265.2018.11.10.09.57.51; Sat, 10 Nov 2018 09:58:06 -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=Bba6HCAv; 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 S1727114AbeKKDl4 (ORCPT + 99 others); Sat, 10 Nov 2018 22:41:56 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:44255 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbeKKDlz (ORCPT ); Sat, 10 Nov 2018 22:41:55 -0500 Received: by mail-qk1-f193.google.com with SMTP id n12so7117507qkh.11 for ; Sat, 10 Nov 2018 09:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:from:to:cc:mime-version:content-transfer-encoding :references:date:in-reply-to:subject; bh=iULDBYyPE6AFQPLd4i0McCGCSaI9+qyothMxeHkTiCE=; b=Bba6HCAvcXys2NAOqYsjvqPX5JBoMhGqwba/G9s8aAZ5PFLlukjexjkWtwjKkpU3yU otVqpBpuost2rpqLP8mUzGGqIZ7AkwGtJzg0FUhgRdvFDQNCxAUHPYUpWvDPvmmi5MCe LdxpYwTYEsoNWQWIFZXXtvwu5UJtr0XQCi1gA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:from:to:cc:mime-version :content-transfer-encoding:references:date:in-reply-to:subject; bh=iULDBYyPE6AFQPLd4i0McCGCSaI9+qyothMxeHkTiCE=; b=fG0T6Rpl8rLT+/YhsGP1y+0qvlSJFDgOX7OKbqJzlhoQyu8+DIalLQy4Y5PPPZ3I/x a7CRkEtXqnm4X8K/r9MOkjSmzPgK3jZl9Emh3edpyXcNnifUcYENnqaPbwRcERl9IKYh XpHdfms1W3FaCzckoJDM5VL2lX7LRmzNSdCaG1719Opdm8Bm71vzadg3td4jraB0QW7L 54mgMme9DJExZC2lUzv0xsJYHxa5pdjACDYjm4xXyi6bBJzX4ER1qkD2+wxcvTvFw7Ai wtyWwte9iDWGexPK1v2KpsfW4uBbtE7iVijF93SZB7sqXZJ+ghfOot7i9BELeK8ziRd6 1lgw== X-Gm-Message-State: AGRZ1gI+BYgiafjzKP9iJMh8lTDAabsRzZjYhgEj+2u8GNsOMv7Ooy1W EGruFjsrzdfZDdEoE5C32xsDvg== X-Received: by 2002:ac8:67d6:: with SMTP id r22-v6mr13195362qtp.356.1541872565224; Sat, 10 Nov 2018 09:56:05 -0800 (PST) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com. [66.111.4.228]) by smtp.gmail.com with ESMTPSA id k38sm7064259qkh.72.2018.11.10.09.56.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Nov 2018 09:56:04 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id B900821C5F; Sat, 10 Nov 2018 12:56:03 -0500 (EST) Received: from web1 ([10.202.2.211]) by compute1.internal (MEProxy); Sat, 10 Nov 2018 12:56:03 -0500 X-ME-Sender: X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 60C6A9412A; Sat, 10 Nov 2018 12:56:03 -0500 (EST) Message-Id: <1541872563.3175498.1572453416.153B57C9@webmail.messagingengine.com> From: Rafael David Tinoco To: Alexey Dobriyan Cc: gorcunov@gmail.com, akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, shuah@kernel.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-c0552f07 References: <20181108111105.GC13195@uranus.lan> <20181109113036.21512-1-rafael.tinoco@linaro.org> <20181110174727.GA26417@avx2> Date: Sat, 10 Nov 2018 15:56:03 -0200 In-Reply-To: <20181110174727.GA26417@avx2> Subject: Re: [PATCH] proc: fix and merge proc-self-map-file tests Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 10, 2018, at 3:47 PM, Alexey Dobriyan wrote: > On Fri, Nov 09, 2018 at 09:30:36AM -0200, Rafael David Tinoco wrote: > > Merge proc-self-map-files tests into one since this test should focus in > > testing readlink in /proc/self/map_files/* only, and not trying to test > > mapping virtual address 0. > > > > Lowest virtual address for user space mapping in other architectures, > > like arm, is *at least* *(PAGE_SIZE * 2) and NULL hint does not > > guarantee that when MAP_FIXED flag, important to this test, is given. > > This patch also fixes this issue in remaining test. > > > - p = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE, fd, 0); > > + p = mmap((void *) (2 * PAGE_SIZE), PAGE_SIZE, PROT_NONE, > > I don't know ARM. Is this 2 page limitation a limitation of hardware or > kernel's? Kernel: https://bugs.linaro.org/show_bug.cgi?id=3782#c7