Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp377572ybz; Wed, 29 Apr 2020 01:45:25 -0700 (PDT) X-Google-Smtp-Source: APiQypJc0fXP/uCmvrkpmbPH1+VATGfrczRyuN4Rpiv/8qg+DBsaVIkid/IiIqVhJqt7Mcs5Zapu X-Received: by 2002:a17:906:f13:: with SMTP id z19mr1587435eji.380.1588149925449; Wed, 29 Apr 2020 01:45:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588149925; cv=none; d=google.com; s=arc-20160816; b=qL+8o8GMr929QvuT580CncY0C/+WCNtoF9uf2eF5A6Y928xd94GUvMvpISTqTCTyJA cuy9Ru18G+ei9yLfcXEDCVIjXGYEiluo1XabG3LxrBQMV7gKie9iv3ERML9MRLxJySBS B9GQKONtOsS8h9VqvCRzJw1C+cQnQ705Pc2QQ7wxVS+gSDusK5TT9UU46b0FK1rqMjKO XUGimtKCZx51wJjIM4snfPpVKWKe83tyQ16OufbyXPI0MxJJDGu+vjXRtPDA3jYnkrYb FgCYFns7QwU2IR5QTiC7H/xciI1QXF2xXdpBfxBDnSkSuC5tXXb1HzGrJumiuxwOU+mG FL3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QcZ6PqElQuIY2I5jkNPEa7pluAGzlonQVidKA7ck390=; b=0ctOtVIQf42TWsPzJ6bgRvozVY0AORELti188aeAMJFyBhe9MzrDHvgOj76p5z3uOu r2sH1bLk9C3mNWi5WbQOg5Z1MvGPnQB42lqx9qxFLBd4YLQbCCVwNbhrALA2jsyoy+jp RH6Hf5w4BeTQuDD1N+sY7CUbg3EwM0NEgPbPLVDhw2or5GI1Ydq5jXELgygy/VhZ9K8A 6qfriGMnnEG9VIWJ4Tce1iE/vfNtTrmC3znVzDz+G02UHe4L4r/KpjoVSNA3oDubViO7 hRSICGUlAH4p6icNnqoLkCJIVApfKdxcxkHj3JRo7BP4LCl5N1bEWcgQw/sMuo+zifd9 r9Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dAlkn1uw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx18si2986375edb.73.2020.04.29.01.45.01; Wed, 29 Apr 2020 01:45:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dAlkn1uw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726447AbgD2Ing (ORCPT + 99 others); Wed, 29 Apr 2020 04:43:36 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:43540 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726345AbgD2Inf (ORCPT ); Wed, 29 Apr 2020 04:43:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588149813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QcZ6PqElQuIY2I5jkNPEa7pluAGzlonQVidKA7ck390=; b=dAlkn1uwdOR4eD6Hqf+FLmuJcZiWqq/BUbDuB2tH63pYzjk9woPrflXEp1svktYfU/ehSn UwrkXatc/SQy1H50idMrdl1sCnkVuuZJG1d4aymLF+Ke0CY8F4hPlkTV0HuCQeUWKlyVNZ JjE3rYSGUKSV7Ce0EaOzDkY2c/IPke0= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-312-Sbjh8u4aNYWlqnHNQQXiVA-1; Wed, 29 Apr 2020 04:43:21 -0400 X-MC-Unique: Sbjh8u4aNYWlqnHNQQXiVA-1 Received: by mail-wm1-f70.google.com with SMTP id f17so729308wmm.5 for ; Wed, 29 Apr 2020 01:43:21 -0700 (PDT) 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:content-transfer-encoding :in-reply-to; bh=QcZ6PqElQuIY2I5jkNPEa7pluAGzlonQVidKA7ck390=; b=Tt5bdbeMMbpV712Hip3/s1kHTmbMQ/QzWt9nlUEiUBgBU3RPjRiUbu7S9EK+FVAvTx 3Pmbx3S7MeY3Ye5QNPiTprVcxpzzyPHpN/ULaBFxUhxyfhPFqzWc+MLc/dHz1RTbxQNv x7/uLFH7s4nE6YlcxT0M+C/kaqUXsKEp9uHvcIiZd/MWvhDxahsviNOyINqUH+IxK/K8 9fEYJRp0iVHvXRXReFhwrJ7SH2WX2OqrBQpqANLvJlu01n6CpuPnPUPKHM7XxY6sKDZY 22Tn3EQTQXp/ygzUbIIWV81Bmmz6CmemopZeUMoYE2CFPgXAZXBmGev8SR0LlyaJS3Xv fkQw== X-Gm-Message-State: AGi0PuYERPlfTZV+B+i7qCgsmCv04gFR0D7mVTurRBMolTOvSkjVHhl2 Shb2n7pyx7+X7di1sZkQnY7p8ncX4km9nMseWnTUh0IO87Uc5eqEi6LZOaHdeewONm071682Sw8 3+Yg8YN6zAqb9Qfh9vYpaU6ed X-Received: by 2002:a1c:23d4:: with SMTP id j203mr2121761wmj.49.1588149800194; Wed, 29 Apr 2020 01:43:20 -0700 (PDT) X-Received: by 2002:a1c:23d4:: with SMTP id j203mr2121740wmj.49.1588149799911; Wed, 29 Apr 2020 01:43:19 -0700 (PDT) Received: from localhost ([2001:470:5b39:28:1273:be38:bc73:5c36]) by smtp.gmail.com with ESMTPSA id t20sm6828575wmi.2.2020.04.29.01.43.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 01:43:19 -0700 (PDT) Date: Wed, 29 Apr 2020 10:43:18 +0200 From: Oleksandr Natalenko To: Minchan Kim Cc: Andrew Morton , 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: <20200429084318.wh7gjokuk445mr5d@butterfly.localdomain> References: <20200426071602.ZmQ_9C0ql%akpm@linux-foundation.org> <39bcdbb6-cac8-aa3b-c543-041f9c28c730@infradead.org> <20200427135053.a125f84c62e2857e3dcdce4f@linux-foundation.org> <20200427234512.GD163745@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200427234512.GD163745@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 27, 2020 at 04:45:12PM -0700, Minchan Kim wrote: > 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: > > > > > 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 to > > > >> > > > >> 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 hopefully > > > >> more than once a week. > > > >> > > > >> You will need quilt to apply these patches to the latest Linus release (5.x > > > >> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated 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 series is to > > > >> be applied. > > > > > > > > Hi, > > > > I'm seeing lots of build failures in mm/madvise.c. > > > > > > > > Is Minchin's patch only partially applied or is it just missing some pieces? > > > > > > > > a. mm/madvise.c needs to #include > > > > > > > > b. looks like the sys_process_madvise() prototype in > > > > has not been updated: > > > > > > > > In file included from ../mm/madvise.c:11:0: > > > > ../include/linux/syscalls.h:239:18: error: conflicting types for ‘sys_process_madvise’ > > > > asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ > > > > ^ > > > > ../include/linux/syscalls.h:225:2: note: in expansion of macro ‘__SYSCALL_DEFINEx’ > > > > __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) > > > > ^~~~~~~~~~~~~~~~~ > > > > ../include/linux/syscalls.h:219:36: note: in expansion of macro ‘SYSCALL_DEFINEx’ > > > > #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) > > > > ^~~~~~~~~~~~~~~ > > > > ../mm/madvise.c:1295:1: note: in expansion of macro ‘SYSCALL_DEFINE6’ > > > > 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 ‘sys_process_madvise’ was here > > > > asmlinkage long sys_process_madvise(int which, pid_t pid, unsigned long start, > > > > ^~~~~~~~~~~~~~~~~~~ > > > > > > I had to add 2 small patches to have clean madvise.c builds: > > > > > > > hm, not sure why these weren't noticed sooner, thanks. > > > > This patchset is looking a bit tired now. > > > > Things to be addressed (might be out of date): > > > > - http://lkml.kernel.org/r/293bcd25-934f-dd57-3314-bbcf00833e51@redhat.com > > It seems to be not related to process_madvise. > > > > > - http://lkml.kernel.org/r/2a767d50-4034-da8c-c40c-280e0dda910e@suse.cz > > (I did this) > > Thanks! > > > > > - http://lkml.kernel.org/r/20200310222008.GB72963@google.com > > I will send foldable patches to handle comments. > > > > > - 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? > My current understanding is that we do not mess with signals excessively in the given code path. -- Best regards, Oleksandr Natalenko (post-factum) Principal Software Maintenance Engineer