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 - 23:31:30 EST


On Mon, Nov 02, 2015 at 10:36:52PM -0500, David Miller wrote:
> From: Minchan Kim <minchan@xxxxxxxxxx>
> Date: Tue, 3 Nov 2015 11:36:51 +0900
>
> > 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?
>
> I don't understand what you want me to confirm.

Sorry for lacking of the information.

Is it okay to use number 8 for upcoming madvise(addr, len, MADV_FREE)
feature in sparc arch?

The reason to ask is that Darrick pointed out earlier that
dietlibc has a Solaris #define MADV_FREE 0x5 in its mman.h
and Hugh pointed out that was in the kernel's sparc mman.h up
until 2.6.25 but disappeared now so I guess it's okay to use the
number 8 for MADV_FREE in sparc but want to confirm from you.

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/