From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4579C83003 for ; Mon, 27 Apr 2020 23:45:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 94CA12076A for ; Mon, 27 Apr 2020 23:45:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="tAQlBRu9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94CA12076A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E80038E0005; Mon, 27 Apr 2020 19:45:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E31018E0001; Mon, 27 Apr 2020 19:45:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF9208E0005; Mon, 27 Apr 2020 19:45:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0154.hostedemail.com [216.40.44.154]) by kanga.kvack.org (Postfix) with ESMTP id B5A098E0001 for ; Mon, 27 Apr 2020 19:45:17 -0400 (EDT) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 75F5D582A for ; Mon, 27 Apr 2020 23:45:17 +0000 (UTC) X-FDA: 76755268674.22.talk97_110bad7a7df0e X-HE-Tag: talk97_110bad7a7df0e X-Filterd-Recvd-Size: 6854 Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by imf15.hostedemail.com (Postfix) with ESMTP for ; Mon, 27 Apr 2020 23:45:17 +0000 (UTC) Received: by mail-pl1-f195.google.com with SMTP id v2so7594817plp.9 for ; Mon, 27 Apr 2020 16:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=rFXLWpL8UxKU55UxWfH5CWuFkfOuWYDSTHntxNLKnuQ=; b=tAQlBRu906bcu+Kn/D0kh+IkH5FBzwAI4N6u4ya8SC229DUUmedHfy5FGH7GoY1qpp Ns/0KadsrEMWhpf6EEvfq7xXkqAERd+TvwugBYhsFuNv/4EJWFBCtpb0Z/CwyTd05BUy dzFn10SjeVBBJytBUA3xRgiKOmEKo7lSh0zvRCdFwOSnIIEbDcSGn9iZtPTIwc4lp6LP sKU+k2S63igNlofeIlZxDg7oAbI1fFmW4Xsmj6cRIG0xvD6+BvS/7dDJrXeJJK4rAwkx hDwVaUc5xCPecHtda+ev6AYjGwQ4mLjcK/Pn3JBDKZ/xRMiRBt+kSaPfLVQDFWTdQ0Ew KCwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=rFXLWpL8UxKU55UxWfH5CWuFkfOuWYDSTHntxNLKnuQ=; b=UpUPgfOpZyZd8Yb4D30JIBEm1KKIpS1ZFUzNBTtTLyECa29UG6sjGwSrIhQ3+QqCJQ kbRkFy4oI7OVBfw1WZ4Zv02CXS8RaXzInsjV++5uQgfXP4UlJv9rhUK/YjI3/wvjIEE0 4PwSDoueTRLJzG/9pYV8u/9clVrWmiU23LAsl9t8OxsodI4Jyhpe/XqdmPbdO9LpGaRm v8Unl9nM6E0U5kCl6VoNI2pHaOsE2KU7OprHT8B3OP240uHGZX/RNH6SOy1Z/gKGW/x/ pVRjTEEV0GsFoBAkiCzr9LW3TKVE2cLYnTuoZh3kCTaCCjp6FT2r81BGrINQDqmqaafa Z8LQ== X-Gm-Message-State: AGi0PuaayK9YOvReAinBlfyyIRct3MsncZJ9MkwEjhyuNzETZalfBOu2 nwKtKE9ILyKLrp67Cmd3WqY= X-Google-Smtp-Source: APiQypLpJP0BVvqzVPXFCCCSvMFE1KRQabPbNnXGyiE5YOxENYjwyTOd3DwoJmizsAWCUTExhC08ig== X-Received: by 2002:a17:902:9f8a:: with SMTP id g10mr2878813plq.233.1588031115775; Mon, 27 Apr 2020 16:45:15 -0700 (PDT) Received: from google.com ([2620:15c:211:1:3e01:2939:5992:52da]) by smtp.gmail.com with ESMTPSA id o40sm358029pjb.18.2020.04.27.16.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2020 16:45:14 -0700 (PDT) Date: Mon, 27 Apr 2020 16:45:12 -0700 From: Minchan Kim To: Andrew Morton , oleksandr@redhat.com Cc: Randy Dunlap , broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, sfr@canb.auug.org.au Subject: Re: mmotm 2020-04-26-00-15 uploaded (mm/madvise.c) Message-ID: <20200427234512.GD163745@google.com> References: <20200426071602.ZmQ_9C0ql%akpm@linux-foundation.org> <39bcdbb6-cac8-aa3b-c543-041f9c28c730@infradead.org> <20200427135053.a125f84c62e2857e3dcdce4f@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200427135053.a125f84c62e2857e3dcdce4f@linux-foundation.org> Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Andrew, On Mon, Apr 27, 2020 at 01:50:53PM -0700, Andrew Morton wrote: > On Sun, 26 Apr 2020 15:48:35 -0700 Randy Dunlap = wrote: >=20 > > On 4/26/20 10:26 AM, Randy Dunlap wrote: > > > On 4/26/20 12:16 AM, akpm@linux-foundation.org wrote: > > >> The mm-of-the-moment snapshot 2020-04-26-00-15 has been uploaded t= o > > >> > > >> http://www.ozlabs.org/~akpm/mmotm/ > > >> > > >> mmotm-readme.txt says > > >> > > >> README for mm-of-the-moment: > > >> > > >> http://www.ozlabs.org/~akpm/mmotm/ > > >> > > >> This is a snapshot of my -mm patch queue. Uploaded at random hope= fully > > >> more than once a week. > > >> > > >> You will need quilt to apply these patches to the latest Linus rel= ease (5.x > > >> or 5.x-rcY). The series file is in broken-out.tar.gz and is dupli= cated in > > >> http://ozlabs.org/~akpm/mmotm/series > > >> > > >> The file broken-out.tar.gz contains two datestamp files: .DATE and > > >> .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-= mm-ss, > > >> followed by the base kernel version against which this patch serie= s is to > > >> be applied. > > >=20 > > > Hi, > > > I'm seeing lots of build failures in mm/madvise.c. > > >=20 > > > Is Minchin's patch only partially applied or is it just missing som= e pieces? > > >=20 > > > a. mm/madvise.c needs to #include > > >=20 > > > b. looks like the sys_process_madvise() prototype in > > > has not been updated: > > >=20 > > > In file included from ../mm/madvise.c:11:0: > > > ../include/linux/syscalls.h:239:18: error: conflicting types for =E2= =80=98sys_process_madvise=E2=80=99 > > > asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > > > ^ > > > ../include/linux/syscalls.h:225:2: note: in expansion of macro =E2=80= =98__SYSCALL_DEFINEx=E2=80=99 > > > __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > > > ^~~~~~~~~~~~~~~~~ > > > ../include/linux/syscalls.h:219:36: note: in expansion of macro =E2= =80=98SYSCALL_DEFINEx=E2=80=99 > > > #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __V= A_ARGS__) > > > ^~~~~~~~~~~~~~~ > > > ../mm/madvise.c:1295:1: note: in expansion of macro =E2=80=98SYSCAL= L_DEFINE6=E2=80=99 > > > SYSCALL_DEFINE6(process_madvise, int, which, pid_t, upid, > > > ^~~~~~~~~~~~~~~ > > > In file included from ../mm/madvise.c:11:0: > > > ../include/linux/syscalls.h:880:17: note: previous declaration of =E2= =80=98sys_process_madvise=E2=80=99 was here > > > asmlinkage long sys_process_madvise(int which, pid_t pid, unsigned= long start, > > > ^~~~~~~~~~~~~~~~~~~ > >=20 > > I had to add 2 small patches to have clean madvise.c builds: > >=20 >=20 > hm, not sure why these weren't noticed sooner, thanks. >=20 > This patchset is looking a bit tired now. >=20 > Things to be addressed (might be out of date): >=20 > - http://lkml.kernel.org/r/293bcd25-934f-dd57-3314-bbcf00833e51@redhat.= com It seems to be not related to process_madvise. >=20 > - http://lkml.kernel.org/r/2a767d50-4034-da8c-c40c-280e0dda910e@suse.cz > (I did this) Thanks! >=20 > - http://lkml.kernel.org/r/20200310222008.GB72963@google.com I will send foldable patches to handle comments. >=20 > - issues arising from the review of > http://lkml.kernel.org/r/20200302193630.68771-8-minchan@kernel.org Oleksandr, What's the outcome of this issue? Do we still need to change based on the comment?