RE: [PATCH] remove duplicate asm/mman.h files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: David Rientjes <rientjes@xxxxxxxxxx>, Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx>
- Subject: RE: [PATCH] remove duplicate asm/mman.h files
- From: "Luck, Tony" <tony.luck@xxxxxxxxx>
- Date: Mon, 21 Sep 2009 16:25:05 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
- Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, "Yu, Fenghua" <fenghua.yu@xxxxxxxxx>, "ebmunson@xxxxxxxxxx" <ebmunson@xxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "linux-mm@xxxxxxxxx" <linux-mm@xxxxxxxxx>, "linux-man@xxxxxxxxxxxxxxx" <linux-man@xxxxxxxxxxxxxxx>, "mtk.manpages@xxxxxxxxx" <mtk.manpages@xxxxxxxxx>, Randy Dunlap <randy.dunlap@xxxxxxxxxx>, "rth@xxxxxxxxxxx" <rth@xxxxxxxxxxx>, "ink@xxxxxxxxxxxxxxxxxxxx" <ink@xxxxxxxxxxxxxxxxxxxx>, "linux-ia64@xxxxxxxxxxxxxxx" <linux-ia64@xxxxxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>
- In-reply-to: <alpine.DEB.1.00.0909211553000.30561@xxxxxxxxxxxxxxxxxxxxxxxxx>
- List-id: <linux-ia64.vger.kernel.org>
- References: <cover.1251197514.git.ebmunson@xxxxxxxxxx> <200909181848.42192.arnd@xxxxxxxx> <alpine.DEB.1.00.0909181236190.27556@xxxxxxxxxxxxxxxxxxxxxxxxx> <200909211031.25369.arnd@xxxxxxxx> <alpine.DEB.1.00.0909210208180.16086@xxxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.64.0909211258570.7831@xxxxxxxxxxxxx> <alpine.DEB.1.00.0909211553000.30561@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Thread-index: Aco7DpSdHaW9EuyXSqqXWDc83BCZwQAApqCg
- Thread-topic: [PATCH] remove duplicate asm/mman.h files
>> Is it perhaps the case that some UNIX on ia64 does implement MAP_GROWSUP,
>> and these numbers in the Linux ia64 mman.h have been chosen to match that
>> reference implementation? Tony will know. But I wonder if you'd do
>> better at least to leave a MAP_GROWSUP comment on that line, so that
>> somebody doesn't go and reuse the empty slot later on.
>>
>
> Reserving the bit from future use by adding a comment may be helpful, but
> then let's do it for MAP_GROWSDOWN too.
Tony can only speculate because this bit has been in asm/mman.h
since before I started working on Linux (it is in the 2.4.0
version ... which is roughly when I started ... and long before
I was responsible for it).
Perhaps it was assumed that it would be useful? Linux/ia64 does
use upwardly growing memory areas (the h/w register stack engine
saves "stack" registers to an area that grows upwards).
But since we have survived this long without it actually being
implemented, it may be true that we don't really need it after
all.
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]