Received: by mail.netbsd.org (Postfix, from userid 605) id 489A714A1F5; Fri, 20 Jan 2012 00:25:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 81E2D14A1C7 for ; Fri, 20 Jan 2012 00:25:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id RKN77c0JwDr9 for ; Fri, 20 Jan 2012 00:25:30 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 0A69E14A1AD for ; Fri, 20 Jan 2012 00:25:29 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id DD193175DD; Fri, 20 Jan 2012 00:25:29 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Fri, 20 Jan 2012 00:25:29 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120120002529.DD193175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Joerg Sonnenberger" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: joerg Date: Fri Jan 20 00:25:29 UTC 2012 Modified Files: src/sys/lib/libkern: Makefile.libkern src/sys/sys: socket.h Log Message: Don't use __cmsg_alignbytes in the kernel. Mark it as constant function for userland as its value never changes. This allows the compiler to optimise most invocations away. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/lib/libkern/Makefile.libkern cvs rdiff -u -r1.101 -r1.102 src/sys/sys/socket.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.