Date: Mon, 21 Oct 2013 20:05:50 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r256850 - in head: bin/sh etc lib/libc/sys lib/libutil usr.bin/limits usr.bin/procstat Message-ID: <20131021170550.GT3865@kib.kiev.ua> In-Reply-To: <201310211646.r9LGkDl5012906@svn.freebsd.org> References: <201310211646.r9LGkDl5012906@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--O/1O6NUaCrlCPhw5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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. > =20 > 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. > =20 > This is kernel-mode side of the change, with the user-mode enabling > commit following. This is obviously user-mode part of the change. --O/1O6NUaCrlCPhw5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSZV7tAAoJEJDCuSvBvK1BL0cP/1IQ+/LMa+5fT5C8I4Yek/yS r3hg+UE1zWe5irJPOJvk3QGbbtRyTTWREZmnk5OZAx+M3Er0xEzs9tRpPnPaWhgV CbIUFobnOhkxPm5r3iWQIx6pY937qH9LMfumMiVJvZXB9ZPo5sQTpu7fCX0TyF2R sZZHsJcJao6SRwm3jJsfjKn5V1xph5vwALGNV4WMDUUTe/8LWsrPUC8eobRYumD7 g9yyPWlsZ7PtmKscj75hawxl+QKSHwMNNJQR7pwUM25Yr/osYXULnLL0/ZPnYwxp xoqlAtYf5eFFWDutqwo2dQMuvse3p1qlg3vFF0wD7SOUL2PNZ71iWVxwYCTzioKO GcpoFJRKJJRrVnnHkPa7CLgHIr1IohZR5TiZ76nH2/3HZQZRy33y5XLxomckwdQY a2/qVMRPq4WNmXKynVldefiHqGXVdMuKElVVyt2Vo4hSELBR+MiUf4ZLF7niP4VC pH7nQELZqT21/ek2qTchBnQ14+D76xhc1VBkJKMoDUwzPzZUJA/RKSqpb1PaPzqT oNW1olwUKzyNP+2D2Qb4J0fA+LBQCsf3aZREDe4uw3Jx5JX2oaaEHsfqjMo44xZh U8P1pk/W3cw9rlE/zOOP1KVbgzDn5bCf09kEJJ3IK9wenNRu84CI2/KH5Cj07EXV vSk+u27mz6zkxGDDZFRn =e4VK -----END PGP SIGNATURE----- --O/1O6NUaCrlCPhw5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131021170550.GT3865>