ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.396 by root, Sun Jan 23 23:35:30 2011 UTC vs.
Revision 1.397 by root, Tue Jan 25 22:39:54 2011 UTC

1778 INIT: 1778 INIT:
1779#if __GLIBC__ 1779#if __GLIBC__
1780 mallopt (M_TOP_PAD, 1024 * 1024); 1780 mallopt (M_TOP_PAD, 1024 * 1024);
1781 mallopt (M_MMAP_THRESHOLD, 1024 * 1024); 1781 mallopt (M_MMAP_THRESHOLD, 1024 * 1024);
1782 mallopt (M_MMAP_MAX, 0); // likely bug-workaround, also frees memory 1782 mallopt (M_MMAP_MAX, 0); // likely bug-workaround, also frees memory
1783 if (__GLIBC_MAJOR < 2 || (__GLIBC_MAJOR == 2 && __GLIBC_MINOR < 10)) 1783 if (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 10))
1784 mallopt (M_PERTURB, 0xee); // bug-workaround for linux glibc+mlockall+calloc 1784 mallopt (M_PERTURB, 0xee); // bug-workaround for linux glibc+mlockall+calloc
1785#endif 1785#endif
1786 1786
1787int munlockall () 1787int munlockall ()
1788 1788

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines