Thread (7 messages) flat view 7 messages, 3 authors, 2015-10-28

Re: [PATCH] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures

From: Chen Gang <hidden>
Date: 2014-12-05 21:50:04
Also in: linux-arch, lkml

On 12/05/2014 08:14 AM, Darrick J. Wong wrote:
On Fri, Dec 05, 2014 at 06:58:29AM +0800, Chen Gang wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help