[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <548228F5.4020801@gmail.com>
Date: Sat, 06 Dec 2014 05:51:49 +0800
From: Chen Gang <gang.chen.5i5j@...il.com>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
CC: "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"rth@...ddle.net" <rth@...ddle.net>,
"ink@...assic.park.msu.ru" <ink@...assic.park.msu.ru>,
"mattst88@...il.com" <mattst88@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>,
"jejb@...isc-linux.org" <jejb@...isc-linux.org>,
"deller@....de" <deller@....de>,
"chris@...kel.net" <chris@...kel.net>,
"jcmvbkbc@...il.com" <jcmvbkbc@...il.com>,
Arnd Bergmann <arnd@...db.de>, minchan@...nel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-arch@...r.kernel.org, linux-api@...r.kernel.org
Subject: Re: [PATCH] arch: uapi: asm: mman.h: Let MADV_FREE have same value
for all architectures
On 12/05/2014 08:14 AM, Darrick J. Wong wrote:
> On Fri, Dec 05, 2014 at 06:58:29AM +0800, Chen Gang wrote:
>> 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'.
>
> Hmmm... you might want to talk to the dietlibc people if you do this:
>
> $ grep -rn MADV_FREE /usr/include/
> /usr/include/diet/sys/mman.h:101:#define MADV_FREE 0x5 /* (Solaris) contents can be freed */
>
> Though the sole definition only exists on sparc/powerpc/powerpc64, so who
> knows...
>
Excuse me, I am not quite familiar about dietlibc. If possible, please
help forward this mail to them, and Cc me (if necessary).
Thanks.
--
Chen Gang
Open share and attitude like air water and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists