From owner-svn-src-user@FreeBSD.ORG Sun Oct 21 14:24:49 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9FC9C21; Sun, 21 Oct 2012 14:24:49 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id EC7218FC0A; Sun, 21 Oct 2012 14:24:47 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so1437782lag.13 for ; Sun, 21 Oct 2012 07:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=C5YwPutxzS+5164XkNDQeQuS3Mznjb3ZqXa3jyDLxhY=; b=tSDl5r6YbW7WEg52Yrf8vt0tr7Cd5APL4vQ92NpYMSI/K0jLjy8UBFYvu01TL/ism+ oeIAZJ00phwDOkUCh9sxLTLCpRn6Lgd8UIlTqdqQfEeDzCadLKVW/OQi2dE80BGA7x8i FRwDepgQ7w7jRvGSITnqzFhtsS4Lt8B4YjaFpO6RoLuKrhBlJceps0u5Sb0XvwAB+0fo 4v1RaH14mCEb77fDR0lV5oL7sN3S4zLQuCu5vygazVE9mAk4KJM/NcHjiaVlLQrjWLTw TTFeVYg4KsN3AqJ1SpTotc2y02SDbzIuz8snSN+vZhHRFtaybMUn4dknSKvjMxeWaRuP q7IA== MIME-Version: 1.0 Received: by 10.112.98.37 with SMTP id ef5mr2667392lbb.84.1350829487083; Sun, 21 Oct 2012 07:24:47 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.112.30.37 with HTTP; Sun, 21 Oct 2012 07:24:47 -0700 (PDT) In-Reply-To: <201210211152.q9LBqGZc066660@svn.freebsd.org> References: <201210211152.q9LBqGZc066660@svn.freebsd.org> Date: Sun, 21 Oct 2012 15:24:47 +0100 X-Google-Sender-Auth: _yuOQjGA9xzGdpFJu16cWjmXxHc Message-ID: Subject: Re: svn commit: r241805 - in user/andre/tcp_workqueue/sys: kern sys From: Attilio Rao To: Andre Oppermann Content-Type: text/plain; charset=UTF-8 Cc: src-committers@freebsd.org, svn-src-user@freebsd.org X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 14:24:50 -0000 On Sun, Oct 21, 2012 at 12:52 PM, Andre Oppermann 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