svn commit: r241805 - in user/andre/tcp_workqueue/sys: kern sys

Attilio Rao attilio at freebsd.org
Sun Oct 21 14:24:50 UTC 2012


On Sun, Oct 21, 2012 at 12:52 PM, Andre Oppermann <andre at freebsd.org> wrote:
> Author: andre
> Date: Sun Oct 21 11:52:16 2012
> New Revision: 241805
> URL: http://svn.freebsd.org/changeset/base/241805
>
> Log:
>   Add MTX_DEF_SYSINIT() macro which combines defining a global mutex
>   with initializing it and ensuring the cache line alignment.

If you really want such api (I'm not entirely sure i like it because
it could lead to less readability in my opinion), can I suggest that
you also unify the behaviour with other current kernel users? This way
we have at least a defined and clear policy (and also that you submit
it before to merge in -CURRENT the workqueue branch).

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the svn-src-user mailing list