Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 13:10:37 +0200
From:      Rene Ladan <r.c.ladan@student.tue.nl>
To:        freebsd-questions@freebsd.org
Subject:   load avarages doubled?
Message-ID:  <20030506111037.GA31325@dyn-099242.nbw.tue.nl>

next in thread | raw e-mail | index | archive | help
Hi,

after rebuilding world and kernel on my Fujitsu Siemens C6175 running
5.0REL-p7 with a libc_r patch for the java/jdk14 port the load 3 avarages
seem to be doubled.

Any ideas?

I've build from a clean /usr/obj and clean /usr/src.
I've included both the patch and my /etc/make.conf

Rene

 the patch :
 
Index: uthread_attr_get_np.c
===================================================================
RCS file: /home/ncvs/src/lib/libc_r/uthread/uthread_attr_get_np.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- uthread_attr_get_np.c	Mon Feb  3 13:38:38 2003	1.2
+++ uthread_attr_get_np.c	Mon Feb  3 12:13:28 2003	1.3
@@ -45,5 +45,13 @@
 		return (ret);
 
 	memcpy(*dst, &pid->attr, sizeof(struct pthread_attr));
+
+	/*
+	 * Special case, if stack address was not provided by caller
+	 * of pthread_create(), then return address allocated internally
+	 */
+	if ((*dst)->stackaddr_attr == NULL)
+		(*dst)->stackaddr_attr = pid->stack;
+
 	return (0);
 }

 /etc/make.conf

# -- use.perl generated deltas -- #
# Created: Wed Jan 22 13:35:57 2003
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

# -- use.perl generated deltas -- #
# Created: Wed Apr 23 18:51:03 2003
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

# -- use.perl generated deltas -- #
# Created: Thu Apr 24 17:49:46 2003
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

# rene 2003-04-28
INSTALL=/usr/bin/install -C 	# 2002-07-29
COMPAT4X=yes			# 2001-09-24
CFLAGS=-O -pipe
CXXFLAGS+=-fmemoize-lookups -fsave-memoized
CXXFLAGS+=-I/usr/include/g++	# 2003-04-29 devd seems to need this
MTREE_FOLLOWS_SYMLINKS=-L
# do *not* comment out the boolean NO* variables as they are then set
#NO_CVS=false
#NO_CXX=false
#NO_BIND=false
#NO_FORTRAN=false
#NO_GDB=false
#NO_IPFILTER=false
#NO_LPR=false
#NO_MAILWRAPPER=false
#NO_MODULES=false
#NO_OBJC=false
#NO_OPENSSH=false
#NO_OPENSSL=false
#NO_SENDMAIL=false
#NO_SHAREDOCS=false
#NO_TCSH=false
#NO_X=false
#NO_I4B=false
#NOCRYPT=false
#NOGAMES=false
#NOINFO=false
#NOLIBC_R=false
#NOPROFILE=false
#NOSECURE=false
#NOSHARE=false
WANT_OPENSSL_MANPAGES=true
MAKE_KERBEROS4=yes
MAKE_KERBEROS5=yes
MAKE_IDEA=yes # free for non-commercial use?

--fUYQa+Pmc3FrFX/N--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030506111037.GA31325>