From owner-freebsd-current Sat Jan 19 18:39:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from web14007.mail.yahoo.com (web14007.mail.yahoo.com [216.136.175.123]) by hub.freebsd.org (Postfix) with SMTP id 35ECC37B405 for ; Sat, 19 Jan 2002 18:39:03 -0800 (PST) Message-ID: <20020120023902.23973.qmail@web14007.mail.yahoo.com> Received: from [216.103.213.142] by web14007.mail.yahoo.com via HTTP; Sat, 19 Jan 2002 18:39:02 PST Date: Sat, 19 Jan 2002 18:39:02 -0800 (PST) From: k Macy Subject: profiled kernel build fails was Re: -CURRENT AIO bug To: "Alan L. Cox" Cc: freebsd-current@freebsd.org In-Reply-To: <3C4A1771.26C05F1@imimic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for working on this. I was going to try running a profiled kernel on -CURRENT and -STABLE to see what the difference was in time distribution. On -STABLE it built without a hitch. However, on -CURRENT I got the following even after doing a make clean: ../../../libkern/mcount.c: In function `mcount': ../../../libkern/mcount.c:91: `mcount_lock' undeclared (first use in this function) ../../../libkern/mcount.c:91: (Each undeclared identifier is reported only once ../../../libkern/mcount.c:91: for each function it appears in.) machine/atomic.h:141: warning: inlining failed in call to `atomic_cmpset_int' ../../../libkern/mcount.c:91: warning: called from here machine/atomic.h:234: warning: inlining failed in call to `atomic_store_rel_int' ../../../libkern/mcount.c:242: warning: called from here ../../../libkern/mcount.c: In function `mcount': ../../../libkern/mcount.c:91: `mcount_lock' undeclared (first use in this function) ../../../libkern/mcount.c:91: (Each undeclared identifier is reported only once ../../../libkern/mcount.c:91: for each function it appears in.) machine/atomic.h:141: warning: inlining failed in call to `atomic_cmpset_int' ../../../libkern/mcount.c:91: warning: called from here machine/atomic.h:234: warning: inlining failed in call to `atomic_store_rel_int' ../../../libkern/mcount.c:242: warning: called from here --- "Alan L. Cox" wrote: > k Macy wrote: > > > > It turns that this problem is specific to AIO in > > -CURRENT. I wrote a simple program that uses > > the three different completion mechanisms (polling > > with aio_error, polling with kevent, and using > SIGIO) > > to fill up a file by writing 8kb at a time to the > > file and then reading 8kb at a time from the file. > > > > I believe that I've fixed this problem. Please > update to revision 1.112 > of kern/vfs_aio.c and retry your tests. > > Best regards, > Alan __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message