rpms/ORBit2/devel ORBit2-2.12.1-reduce-size-of-io-thread-stack.patch, NONE, 1.1 ORBit2.spec, 1.19, 1.20

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue May 10 15:48:06 UTC 2005


Author: markmc

Update of /cvs/dist/rpms/ORBit2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv3932

Modified Files:
	ORBit2.spec 
Added Files:
	ORBit2-2.12.1-reduce-size-of-io-thread-stack.patch 
Log Message:
* Tue May 10 2005 Mark McLoughlin <markmc at redhat.com> 2.12.1-3
- Add patch to set the size of the IO thread stack to 256k in
  order to mitigate the apparent 10M jump in GNOME processes
  memory usage (#157297)


ORBit2-2.12.1-reduce-size-of-io-thread-stack.patch:
 ChangeLog  |    8 ++++++++
 src/linc.c |    2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

--- NEW FILE ORBit2-2.12.1-reduce-size-of-io-thread-stack.patch ---
--- ORBit2-2.12.1/linc2/ChangeLog.reduce-size-of-io-thread-stack	2005-02-04 17:24:58.000000000 -0500
+++ ORBit2-2.12.1/linc2/ChangeLog	2005-05-10 11:43:44.000000000 -0400
@@ -0,0 +1,8 @@
+2005-05-10  Mark McLoughlin  <mark at skynet.ie>
+
+	Use a 256k stack for the IO thread rather than
+	the system default (10M on FC4). bug #303649
+
+	* src/linc.c: (link_exec_set_io_thread): Use
+	a 256k stack.
+
--- ORBit2-2.12.1/linc2/src/linc.c.reduce-size-of-io-thread-stack	2005-02-01 15:48:58.000000000 -0500
+++ ORBit2-2.12.1/linc2/src/linc.c	2005-05-10 11:43:44.000000000 -0400
@@ -427,7 +427,7 @@
 		 link_mainloop_handle_input, NULL);
 	
 	link_io_thread = g_thread_create_full
-		(link_io_thread_fn, NULL, 0, TRUE, FALSE,
+		(link_io_thread_fn, NULL, 256 * 1024, TRUE, FALSE,
 		 G_THREAD_PRIORITY_NORMAL, &error);
 	
 	if (!link_io_thread || error)


Index: ORBit2.spec
===================================================================
RCS file: /cvs/dist/rpms/ORBit2/devel/ORBit2.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ORBit2.spec	2 Mar 2005 18:16:41 -0000	1.19
+++ ORBit2.spec	10 May 2005 15:48:03 -0000	1.20
@@ -4,7 +4,7 @@
 Summary: A high-performance CORBA Object Request Broker.
 Name: ORBit2
 Version: 2.12.1
-Release: 2
+Release: 3
 Source: %{name}-%{version}.tar.bz2
 Group: System Environment/Daemons
 License: LGPL/GPL
@@ -15,6 +15,8 @@
 BuildRequires: pkgconfig >= 0.14
 BuildRequires: gtk-doc >= 1.1
 
+Patch0: ORBit2-2.12.1-reduce-size-of-io-thread-stack.patch
+
 %description
 ORBit is a high-performance CORBA (Common Object Request Broker 
 Architecture) ORB (object request broker). It allows programs to 
@@ -49,6 +51,8 @@
 %prep
 %setup -q
 
+%patch0 -p1 -b .reduce-size-of-io-thread-stack
+
 %build
 %configure --enable-gtk-doc
 make
@@ -90,6 +94,11 @@
 %{_datadir}/gtk-doc
 
 %changelog
+* Tue May 10 2005 Mark McLoughlin <markmc at redhat.com> 2.12.1-3
+- Add patch to set the size of the IO thread stack to 256k in
+  order to mitigate the apparent 10M jump in GNOME processes
+  memory usage (#157297)
+
 * Wed Mar  2 2005 Mark McLoughlin <markmc at redhat.com> 2.12.1-2
 - Rebuild with gcc4
 




More information about the fedora-cvs-commits mailing list