aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_shm.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-05-30 16:04:00 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-05-30 16:04:00 +0000
commit5c066cd2e2bf99d134221a8fb6b7fbfd88757cf1 (patch)
tree476b8b2995039b95bbbf3bdb2066be54aa9a2c6f /sys/kern/uipc_shm.c
parenta3e3f1b8706d4d52191efc853b6606d6fa847fd4 (diff)
downloadsrc-5c066cd2e2bf99d134221a8fb6b7fbfd88757cf1.tar.gz
src-5c066cd2e2bf99d134221a8fb6b7fbfd88757cf1.zip
Remove TODO comment after posixshmcontrol(1) added.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
Notes
Notes: svn path=/head/; revision=348433
Diffstat (limited to 'sys/kern/uipc_shm.c')
-rw-r--r--sys/kern/uipc_shm.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c
index f8f7cafe4a32..28d151183980 100644
--- a/sys/kern/uipc_shm.c
+++ b/sys/kern/uipc_shm.c
@@ -36,16 +36,10 @@
* shm_open(2) and shm_unlink(2). While most of the implementation is
* here, vm_mmap.c contains mapping logic changes.
*
- * TODO:
- *
- * (1) Need to export data to a userland tool via a sysctl. Should ipcs(1)
- * and ipcrm(1) be expanded or should new tools to manage both POSIX
- * kernel semaphores and POSIX shared memory be written?
- *
- * (2) Add support for this file type to fstat(1).
- *
- * (3) Resource limits? Does this need its own resource limits or are the
- * existing limits in mmap(2) sufficient?
+ * posixshmcontrol(1) allows users to inspect the state of the memory
+ * objects. Per-uid swap resource limit controls total amount of
+ * memory that user can consume for anonymous objects, including
+ * shared.
*/
#include <sys/cdefs.h>