Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 18:39:02 -0800 (PST)
From:      k Macy <kip_macy@yahoo.com>
To:        "Alan L. Cox" <alc@imimic.com>
Cc:        freebsd-current@freebsd.org
Subject:   profiled kernel build fails was Re: -CURRENT AIO bug
Message-ID:  <20020120023902.23973.qmail@web14007.mail.yahoo.com>
In-Reply-To: <3C4A1771.26C05F1@imimic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <alc@imimic.com> 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




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