Author: arekm                        Date: Sat Oct 22 21:30:40 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4; limit memory to 90% of system one, too (threading eats a lot of memory)

---- Files affected:
packages/xz:
   xz-parallel.patch (1.2 -> 1.3) , xz.spec (1.69 -> 1.70) 

---- Diffs:

================================================================
Index: packages/xz/xz-parallel.patch
diff -u packages/xz/xz-parallel.patch:1.2 packages/xz/xz-parallel.patch:1.3
--- packages/xz/xz-parallel.patch:1.2   Sat Oct 22 23:14:18 2011
+++ packages/xz/xz-parallel.patch       Sat Oct 22 23:30:35 2011
@@ -20,3 +20,13 @@
        while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL))
                        != -1) {
                switch (c) {
+--- xz/src/xz/hardware.c~      2011-04-12 12:42:58.000000000 +0200
++++ xz/src/xz/hardware.c       2011-10-22 23:22:28.306650949 +0200
+@@ -139,6 +139,7 @@
+               total_ram = (uint64_t)(ASSUME_RAM) * 1024 * 1024;
+ 
+       // Set the defaults.
+       hardware_memlimit_set(0, true, true, false);
++      hardware_memlimit_set(90, true, false, true);
+       return;
+ }

================================================================
Index: packages/xz/xz.spec
diff -u packages/xz/xz.spec:1.69 packages/xz/xz.spec:1.70
--- packages/xz/xz.spec:1.69    Sat Oct 22 23:14:18 2011
+++ packages/xz/xz.spec Sat Oct 22 23:30:35 2011
@@ -19,7 +19,7 @@
 Summary(pl.UTF-8):     Koder/Dekoder LZMA
 Name:          xz
 Version:       5.1.1
-Release:       3
+Release:       4
 Epoch:         1
 License:       LGPL v2.1+, helper scripts on GPL v2+
 Group:         Applications/Archiving
@@ -183,6 +183,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70  2011/10/22 21:30:35  arekm
+- rel 4; limit memory to 90% of system one, too (threading eats a lot of 
memory)
+
 Revision 1.69  2011/10/22 21:14:18  arekm
 - rel 3; working parallel default
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xz/xz-parallel.patch?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xz/xz.spec?r1=1.69&r2=1.70&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to