Re: [PATCH 3/8] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures
From: Minchan Kim
Date: Mon Nov 02 2015 - 21:36:57 EST
On Tue, Nov 03, 2015 at 11:32:51AM +0900, Minchan Kim wrote:
> On Sun, Nov 01, 2015 at 04:08:27PM -0800, Hugh Dickins wrote:
> > On Fri, 30 Oct 2015, Minchan Kim wrote:
> > > From: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
> > >
> > > For uapi, need try to let all macros have same value, and MADV_FREE is
> > > added into main branch recently, so need redefine MADV_FREE for it.
> > >
> > > At present, '8' can be shared with all architectures, so redefine it to
> > > '8'.
> > >
> > > Cc: rth@xxxxxxxxxxx <rth@xxxxxxxxxxx>,
> > > Cc: ink@xxxxxxxxxxxxxxxxxxxx <ink@xxxxxxxxxxxxxxxxxxxx>
> > > Cc: mattst88@xxxxxxxxx <mattst88@xxxxxxxxx>
> > > Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> > > Cc: jejb@xxxxxxxxxxxxxxxx <jejb@xxxxxxxxxxxxxxxx>
> > > Cc: deller@xxxxxx <deller@xxxxxx>
> > > Cc: chris@xxxxxxxxxx <chris@xxxxxxxxxx>
> > > Cc: jcmvbkbc@xxxxxxxxx <jcmvbkbc@xxxxxxxxx>
> > > Cc: Arnd Bergmann <arnd@xxxxxxxx>
> > > Cc: linux-arch@xxxxxxxxxxxxxxx
> > > Cc: linux-api@xxxxxxxxxxxxxxx
> > > Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
> > > Signed-off-by: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
> >
> > Let me add
> > Acked-by: Hugh Dickins <hughd@xxxxxxxxxx>
> > to this one too.
> >
> > But I have extended your mail's Cc list: Darrick pointed out earlier
> > that dietlibc has a Solaris #define MADV_FREE 0x5 in its mman.h,
> > and that was in the kernel's sparc mman.h up until 2.6.25. I doubt
> > that presents any obstacle nowadays, but Dave Miller should be Cc'ed.
For the convenience for Dave, I found this.
commit ec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16
Author: David S. Miller <davem@xxxxxxxxxxxxx>
Date: Sun Apr 20 02:14:23 2008 -0700
[SPARC]: Remove SunOS and Solaris binary support.
As per Documentation/feature-removal-schedule.txt
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Hello Dave,
Could you confirm it?
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/