Hello community,
here is the log from the commit of package ulimit for openSUSE:Factory
checked in at Mon Jun 8 14:05:46 CEST 2009.
--------
--- ulimit/ulimit.changes 2008-10-27 17:48:57.000000000 +0100
+++ /mounts/work_src_done/STABLE/ulimit/ulimit.changes 2009-06-08 13:26:27.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jun 8 13:19:34 CEST 2009 - uli@suse.de
+
+- take AMS (Active Memory Sharing; PPC feature) into account when
+ calculating memory limits (bnc#495258)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
bug-495258_ulimit_cmo_fix.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ulimit.spec ++++++
--- /var/tmp/diff_new_pack.SE8137/_old 2009-06-08 14:05:37.000000000 +0200
+++ /var/tmp/diff_new_pack.SE8137/_new 2009-06-08 14:05:37.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ulimit (Version 1.2)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,10 +24,11 @@
AutoReqProv: on
Summary: Set system-wide per-process limits (rlimits)
Version: 1.2
-Release: 1
+Release: 2
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+Patch: bug-495258_ulimit_cmo_fix.patch
PreReq: %fillup_prereq
%description
@@ -60,6 +61,7 @@
%prep
%setup -n ulimit
+%patch -p1
%build
# nothing to be done
@@ -83,6 +85,9 @@
rm -rf $RPM_BUILD_DIR/ulimit
%changelog
+* Mon Jun 08 2009 uli@suse.de
+- take AMS (Active Memory Sharing; PPC feature) into account when
+ calculating memory limits (bnc#495258)
* Mon Oct 27 2008 garloff@suse.de
- ulimit-1.2:
* Allow unlimited limits (bnc 382908, bnc 375673)
@@ -123,5 +128,5 @@
* Tue Aug 12 2003 garloff@suse.de
- Update to 1.1: Collect arguments first to reduce the number of
calls to ulimit. (Performance improvement.)
-* Sat Aug 09 2003 garloff@suse.de
+* Fri Aug 08 2003 garloff@suse.de
- Creation of SuSE package.
++++++ bug-495258_ulimit_cmo_fix.patch ++++++
get_mem in /etc/initscript calculates the total memory by adding
MemTotal and SwapTotal from /proc/meminfo. When running Active
Memory Sharing on Power systems, this value may be too small.
Memory that gets loaned out to other partitions gets deducted
from MemTotal. For example, on a partition with 4G of memory
allocated to it, if 3G is loaned out to other partitions, MemTotal
will only indicate 1G, resulting in ulimit getting set artificially
low. This results in memory allocation failures for applications.
Fix this by taking into account the amount of loaned memory when
running Active Memory Sharing.
Signed-off-by: Brian King