Locking kdecore into memory
Thiago Macieira
thiago at kde.org
Fri Jan 19 16:19:07 GMT 2007
Cyrille Berger wrote:
>And greping through my /usr/include, it seems that RLIMIT_MEMLOCK is set
> to 8, but for confirmation it would be better to look in the linux
> kernel source code.
My system has 32 kB:
$ ulimit -a | grep locked
max locked memory (kbytes, -l) 32
32 kB <<<<<<<<<<<<<< 20 MB
There's no way we can lock 20 MB in memory.
The soft limit presented allows applications to lock a total of 8 pages
(under 32-bit 4kB pages). That sounds awfully few, but that's reality.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070119/466fb1d8/attachment.sig>
More information about the kde-core-devel
mailing list