Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp636028imu; Fri, 9 Nov 2018 03:42:25 -0800 (PST) X-Google-Smtp-Source: AJdET5cMKc2GlEqXcAUdDukcrdTLl6xVwFiPlzbOhXVR6yYJ1BPCfYi9KPfuLbY6oyabfqHpDCEB X-Received: by 2002:a62:8f8c:: with SMTP id n134-v6mr8769174pfd.258.1541763745164; Fri, 09 Nov 2018 03:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541763745; cv=none; d=google.com; s=arc-20160816; b=SeCkuT+B+hROSyrM2JRIGrAQ000/agcI6YekGUYoaqt3GoMq76hvrmBnxIqCn4s6RF eJDLB2GxSzfWTcgqka1coAgCkFDFsydb/avbolJyJ4b9+4tHWBCyl0inBl4WZnm51rQ7 N+N+4MXUJeCZCa5He7wcycrWaKA5yEW4f2s3P8M6+HTGCZ+EVTtVKJVpJHfeq2PW76MZ HOTuLZqazwVLj4uLfWlJSzj+ZSSwHJrogEiK7Z7z5jRDmR+FFJmxsPlYsLq0FyzqN3i+ +t9hEhNzoPQgTgPJNlJkR0uOIc7koUQ6RDbhC5zbZ6hUqNdzP1wahZ1ePY0QItr6N5J+ aynQ== 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=/J6HsSqNDWe2/FquyOtFUAgRoYCD2xT9M1CqphvJK0o=; b=NzOsK9gCJXo38p/Be6OukdyD7oEYpajZ4S/6Ewjxjh357NM+3rQ624xs7Pfj7Tdm1z guicKgpeHGKMEJIqrrQC1VT639nwltkRSBp3vAFh4wh2Js/VHUjbJQSAsOqMLsSlUgIx 1nSiHM2BSiiFt0AAufmkmA+lFIvEcZSsDXgNAZEWACVk9Ey+4GNPkYt9RN4eb3m8JPy/ RcGQvWTEzm2f3//OoJqNWonBjFFuYabp6lYuEa0Rd0aCG+wclSJ5PjndBY9SbSduFFpe Zb3Qq08jb0BXwK/k1Z0jQKHWO1y7XgtZ3nsw+tILcz0b3ZfU9GAQvRojBhuQnylJPIz9 mAVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o2B7Mkxt; 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 u34si6671829pgk.24.2018.11.09.03.42.09; Fri, 09 Nov 2018 03:42:25 -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=@gmail.com header.s=20161025 header.b=o2B7Mkxt; 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 S1728377AbeKIVVn (ORCPT + 99 others); Fri, 9 Nov 2018 16:21:43 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:38408 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727691AbeKIVVn (ORCPT ); Fri, 9 Nov 2018 16:21:43 -0500 Received: by mail-lf1-f67.google.com with SMTP id p86so1102942lfg.5; Fri, 09 Nov 2018 03:41:27 -0800 (PST) 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=/J6HsSqNDWe2/FquyOtFUAgRoYCD2xT9M1CqphvJK0o=; b=o2B7MkxtQvvz8N3z2sEileqA9YPiO1N8LukQrkD0aPl7+Kb5+m1hObaQDi6b/VJa55 M5DKB6Bxnd5hvcKFiQQMkdYvrwidXFUjMFfmSsFHOwdgLRXUzLkadcnolWqdBHIytKZA SOB6zMO4hagfUEMOnHdiFjlVcfS44oI+6VxGyyTYxtLMDaOk6FyzlMEH3KEYfnoHJlKt oSfmErS3ZPReuCmlXKyP8sN4c6zSD1TxjQ+yDPBgjR/F2pGJAfqMfCRYAEedDuMCmlpv 92IRHoCsyjLZ8Mmq7YM5uhdkkR4PniIDTdOLH/GjZtdL87WX7P4IDRirTbayy7vdus/d dLyw== 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=/J6HsSqNDWe2/FquyOtFUAgRoYCD2xT9M1CqphvJK0o=; b=ZWwtI9zZOgPM5vjLHm9pMaznjV/BWc8iDsRoOZh0XFDWcNyq1nzu+kW8FFW1xIWCYp fF28Pw2FuXjJICWCy3ob6dDTF86kDo5HCBZrCogaaE5fqmkw1HGKQEqbO6IoodBiIBsT Yrb+GJaG8IhuXOzP7yw4/TfEIc4J4TbOT+WaTtGCiBXZxC9KQ2VIvLBB7TxVLyiIvwxv j+/FRWizG8Hh9I++ZimxOZ2yivy/PgQ2QmqUGONfTzdttCMdsYhDBfAypy/Vt1wLaTBt njtitxhdg+okaweyNyTFLcGGprOxkjEcU2gYcs+tB4lJxVGf66Q4hHtuwa2SL2FEFgYZ lT5Q== X-Gm-Message-State: AGRZ1gJ4J4TP5I/rWfrIbFusTwcsOmq60zJi0tdhnm+x9AfNC0l7tP3i ONLVurFdLbWir0iis89EHZA= X-Received: by 2002:a19:4bc9:: with SMTP id y192mr5015658lfa.49.1541763686399; Fri, 09 Nov 2018 03:41:26 -0800 (PST) Received: from uranus.localdomain ([5.18.102.224]) by smtp.gmail.com with ESMTPSA id p23sm1196172lfh.47.2018.11.09.03.41.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Nov 2018 03:41:25 -0800 (PST) Received: by uranus.localdomain (Postfix, from userid 1000) id 631B9460899; Fri, 9 Nov 2018 14:41:23 +0300 (MSK) Date: Fri, 9 Nov 2018 14:41:23 +0300 From: Cyrill Gorcunov To: Rafael David Tinoco Cc: adobriyan@gmail.com, akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, shuah@kernel.org Subject: Re: [PATCH] proc: fix and merge proc-self-map-file tests Message-ID: <20181109114123.GK13195@uranus.lan> References: <20181108111105.GC13195@uranus.lan> <20181109113036.21512-1-rafael.tinoco@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181109113036.21512-1-rafael.tinoco@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 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. > > Link: https://bugs.linaro.org/show_bug.cgi?id=3782 > Signed-off-by: Rafael David Tinoco Wait, Rafael. But we will loose the test of mapping virtual address 0 then. I though you would move testing of virtual address 0 into a separate testcase. I mean testing of first page was a positive side effect of the former Alexey's patch, so we definitely should keep it on x86 at least. Gimme some time I'll try to address it today evening or tomorrow. I think this way everybody will be happy: procfs get passed on arm32 and x86 will still have first page testing.