From owner-freebsd-arch@FreeBSD.ORG Tue Sep 4 17:48:35 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E2C61065674 for ; Tue, 4 Sep 2012 17:48:35 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B0948FC0C for ; Tue, 4 Sep 2012 17:48:34 +0000 (UTC) Received: by lage12 with SMTP id e12so5477748lag.13 for ; Tue, 04 Sep 2012 10:48:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :x-gm-message-state; bh=egkq+pO5hqrcO8UMNoJLHTwap/IL3Olm7GgHqi0iWPU=; b=IFHMwUXIrRUQRv09Smz/b24wip5ORTwi3cmdCeLWi7NX6PDXK0F9dCooGzkArWazRx VMCiZzzd96c7FXBMSmdcnT8l8qTsMX6Cmfyf53I+uQy6Evo381yUlCmIaN6xkoVTeyek sPFkKccKs9YTM7iOsIDDDo11jmBPA1pBD2E2yotc2sTWt6BunZWnT9BqxqqOGzhPPLGo 5DQvC31bU20a+Litkly/oyjTgxWGJHkCZAgvf3SFAjI1CxY51rfK2dWA8SOBMFvUdAwM 7hRIonb3uk/BrTHMVgZesRwxvZJCdp/UksFPszBS7cD3vXvmcmGiZO4x50MfRPtKQbHV dLDQ== Received: by 10.152.144.134 with SMTP id sm6mr17880387lab.5.1346780913115; Tue, 04 Sep 2012 10:48:33 -0700 (PDT) Received: from zont-osx.local (ppp95-165-143-86.pppoe.spdop.ru. [95.165.143.86]) by mx.google.com with ESMTPS id fz8sm4214474lbb.9.2012.09.04.10.48.31 (version=SSLv3 cipher=OTHER); Tue, 04 Sep 2012 10:48:32 -0700 (PDT) Sender: Andrey Zonov Message-ID: <50463EEB.60207@FreeBSD.org> Date: Tue, 04 Sep 2012 21:48:27 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Andriy Gapon References: <503DD433.2030108@FreeBSD.org> <201208290906.q7T96C9j032802@gw.catspoiler.org> <20120829092318.GW33100@deviant.kiev.zoral.com.ua> <503F2D24.8050103@FreeBSD.org> <503F476E.1010505@FreeBSD.org> <50463610.6070805@FreeBSD.org> In-Reply-To: <50463610.6070805@FreeBSD.org> X-Enigmail-Version: 1.4.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6E3D58686ACA8B5D436D610A" X-Gm-Message-State: ALoCoQmoIq6xaWeBTv+0IW3oYQ5VUd6nf0nHhiYKijYpB+MF20EEjUeEceUc9ou5gOznP1ON88/J Cc: Edward Tomasz Napierala , freebsd-arch@FreeBSD.org Subject: Re: [patch] unprivileged mlock(2) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 17:48:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6E3D58686ACA8B5D436D610A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 9/4/12 9:10 PM, Andriy Gapon wrote: > on 30/08/2012 13:58 Andrey Zonov said the following: >> [1] http://people.freebsd.org/~zont/vm_mmap.c.patch >=20 > This patch is correct. >=20 Thanks! >> [2] http://people.freebsd.org/~zont/racct.patch >=20 > This patch looks correct. >=20 There is no need for this patch as I mentioned earlier. racct_set() doesn't add any additional locking here. > And it also makes me wonder why kern/kern_racct.c is marked as standard= while > all(?) uses of racct API are placed under RACCT option. Not all. I think some code was not easy to put under RACCT. > Ditto for kern_rctl.c/RCTL. > I think that excluding these file if the options are not used would hel= p to catch > cases where the API is used unconditionally and it would also help to r= educe > kernel sizes a tiny bit too. >=20 --=20 Andrey Zonov --------------enig6E3D58686ACA8B5D436D610A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJQRj7uAAoJEBWLemxX/CvT7xUH/iL45f2olmOFCbV4dhxukTx0 +x7e6fRlJHxzb9rfglsfcOMdHLHd+8z2Qewq7VaJvyHvu5WouLNynE6TSs9oa4ru a+kdawS9bXc7pG3RHuXb+V638Xs4MiKtxwgbD2pI+2kRVrVyLutLCJ9bve09ihLA VVwCDpIwK7GgyfDGsHJisYxcb7QCChKz+UGkHZKLmma5PLt+DfTzpkAs1rR+vZ43 jjMSb5FsYa5qfbJQslU3dRMzRiU/PqEyBrPcOSjUHgvEGN9Kr5o1xRn73NFqKO1y avYj2gCTYSWLC2CFkqpoxEn18Rjx/s8azzz9g+TY69iBCd2DWpCZCYKczNl5NEk= =jDvD -----END PGP SIGNATURE----- --------------enig6E3D58686ACA8B5D436D610A--