From: Andrew Morton <akpm@linux-foundation.org>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: 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,
Minchan Kim <minchan@kernel.org>
Subject: Re: mmotm 2020-04-26-00-15 uploaded (mm/madvise.c)
Date: Mon, 27 Apr 2020 13:50:53 -0700 [thread overview]
Message-ID: <20200427135053.a125f84c62e2857e3dcdce4f@linux-foundation.org> (raw)
In-Reply-To: <39bcdbb6-cac8-aa3b-c543-041f9c28c730@infradead.org>
On Sun, 26 Apr 2020 15:48:35 -0700 Randy Dunlap <rdunlap@infradead.org> 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 <linux/uio.h>
> >
> > b. looks like the sys_process_madvise() prototype in <linux/syscalls.h>
> > 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
- http://lkml.kernel.org/r/2a767d50-4034-da8c-c40c-280e0dda910e@suse.cz
(I did this)
- http://lkml.kernel.org/r/20200310222008.GB72963@google.com
- issues arising from the review of
http://lkml.kernel.org/r/20200302193630.68771-8-minchan@kernel.org
next prev parent reply other threads:[~2020-04-27 20:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-26 7:16 mmotm 2020-04-26-00-15 uploaded akpm
2020-04-26 17:26 ` mmotm 2020-04-26-00-15 uploaded (mm/madvise.c) Randy Dunlap
2020-04-26 22:48 ` Randy Dunlap
2020-04-27 20:50 ` Andrew Morton [this message]
2020-04-27 23:45 ` Minchan Kim
2020-04-29 8:43 ` Oleksandr Natalenko
2020-04-27 23:15 ` Stephen Rothwell
2020-04-27 23:28 ` Minchan Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200427135053.a125f84c62e2857e3dcdce4f@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=broonie@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=mhocko@suse.cz \
--cc=minchan@kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).