DragonFly BSD
DragonFly bugs List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue2183] kern.ipc.shmmax is limited to 31 bits


From: "Francois Tigeot \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 09 Nov 2011 16:24:50 +0000

New submission from Francois Tigeot <ftigeot@wolfpond.org>:

System: DragonFly 2.10/x86_64
kern.ipc.shmmax

Trying to set the kern.ipc.shmmax limit to 4GB fails:

# sysctl kern.ipc.shmmax=4294967296
kern.ipc.shmmax: 33554432 -> 0

2^31 is interpreted as a negative number:
# sysctl kern.ipc.shmmax=2147483648 (2^31)
kern.ipc.shmmax: 0 -> -2147483648

and (2^31 -1) as a positive one:
#sysctl kern.ipc.shmmax=2147483647
kern.ipc.shmmax: -2147483648 -> 2147483647

----------
keyword: kernel, x86-64
messages: 10282
nosy: ftigeot
priority: bug
status: unread
title: kern.ipc.shmmax is limited to 31 bits

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2183>
_____________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]