85a0ddfd0b
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. Reported and tested by: pho Discussed with: jmg Sponsored by: The FreeBSD Foundation MFC after: 2 weeks |
||
---|---|---|
.. | ||
Makefile | ||
procstat_args.c | ||
procstat_auxv.c | ||
procstat_basic.c | ||
procstat_bin.c | ||
procstat_cred.c | ||
procstat_files.c | ||
procstat_kstack.c | ||
procstat_rlimit.c | ||
procstat_sigs.c | ||
procstat_threads.c | ||
procstat_vm.c | ||
procstat.1 | ||
procstat.c | ||
procstat.h |