Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2001 13:09:06 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mark Murray <mark@grondar.za>
Cc:        smp@FreeBSD.org
Subject:   RE: Please review - header cleanups
Message-ID:  <XFMail.010416130906.jhb@FreeBSD.org>
In-Reply-To: <200104161941.f3GJfYw69230@gratis.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help

On 16-Apr-01 Mark Murray wrote:
> Hi
> 
> The SMPng project has a TODO list at
> http://people.freebsd.org/~jasone/smp/
> And I grabbed what I thought would be an easy job one of
> moving sys/mutex.h out of other "system" headers.
> 
> I have done this, and the results of my work (which compile
> and link for the LINT case, BTW) are available at
> http://people.freebsd.org/~markm/patches/sys.SYS_MUTEX.diff
> so please review/test!

It will need a buildworld test as well.

> NOTES:
> A Helluva lot of files are affected (818, to be precise). The
> huge majority of them are .c files. Less that 20 are .h's.
> 
> sys/lock.h is pretty closely bound to sys/mutex, so it also got
> the same treatment.
> 
> Some parts of the kernel (mainly device drivers) have headers in
> other headers. I didn't undo this - in fact I cooperated with it.
> 
> This ONLY does #include movement. There is no hidden payload.
> 
> There is lots more work to be done. sys/lockmgr.h gives me the willies.

Don't bother with that one right now.  Well, if you want I guess it wouldn't
hurt.  The goal would be to remove the sys/lockmgr.h include in sys/lock.h.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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