MMAP_MIN_ADDR problem/question

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Aug 3 11:43:55 EDT 2012


On Thu, Aug 02, 2012 at 09:39:50AM +0200, Marek Vasut wrote:
> Hi guys,
> 
> Me and a coleague of mine recently ran into the issue [1]. The problem is, that 
> I set mmap_min_addr to 65536, making it unable for "su - user" command to work, 
> it crashes with SIGKILL. I now at least see a solution (set it to 32768). Though 
> I don't understand why. Can someone please exaplain me why it has to be 32768 an 
> not more?
> 
> [1] http://ubuntu.5.n6.nabble.com/PATCH-DEFAULT-MMAP-MIN-ADDR-32768-for-arm-
> td1604723.html

Looks to me like there's a reading exercise for someone in the MXS
community who set the default to 64K.  The default in the Kconfig is
already appropriately chosen, so for the defconfig to have the 64K
value, someone must have _intentionally_ changed it without thinking
about what they were doing.

Just produce a patch to fix the defconfig.



More information about the linux-arm-kernel mailing list