svn commit: r256850 - in head: bin/sh etc lib/libc/sys lib/libutil usr.bin/limits usr.bin/procstat
Konstantin Belousov
kostikbel at gmail.com
Mon Oct 21 17:06:02 UTC 2013
On Mon, Oct 21, 2013 at 04:46:13PM +0000, Konstantin Belousov wrote:
> Author: kib
> Date: Mon Oct 21 16:46:12 2013
> New Revision: 256850
> URL: http://svnweb.freebsd.org/changeset/base/256850
>
> Log:
> Add a resource limit for the total number of kqueues available to the
> user. Kqueue now saves the ucred of the allocating thread, to
> correctly decrement the counter on close.
>
> Under some specific and not real-world use scenario for kqueue, it is
> possible for the kqueues to consume memory proportional to the square
> of the number of the filedescriptors available to the process. Limit
> allows administrator to prevent the abuse.
>
> This is kernel-mode side of the change, with the user-mode enabling
> commit following.
This is obviously user-mode part of the change.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20131021/3ed03871/attachment.sig>
More information about the svn-src-head
mailing list