Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Sep 2012 20:10:40 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Andrey Zonov <zont@FreeBSD.org>, Edward Tomasz Napierala <trasz@FreeBSD.org>
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: [patch] unprivileged mlock(2)
Message-ID:  <50463610.6070805@FreeBSD.org>
In-Reply-To: <503F476E.1010505@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
on 30/08/2012 13:58 Andrey Zonov said the following:
> [1] http://people.freebsd.org/~zont/vm_mmap.c.patch

This patch is correct.

> [2] http://people.freebsd.org/~zont/racct.patch

This patch looks correct.

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.
Ditto for kern_rctl.c/RCTL.
I think that excluding these file if the options are not used would help to catch
cases where the API is used unconditionally and it would also help to reduce
kernel sizes a tiny bit too.

-- 
Andriy Gapon



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