Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2019 09:28:50 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348508 - stable/12/sys/kern
Message-ID:  <201906020928.x529Sor3021113@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Jun  2 09:28:50 2019
New Revision: 348508
URL: https://svnweb.freebsd.org/changeset/base/348508

Log:
  MFC r348433:
  Remove TODO comment after posixshmcontrol(1) added.

Modified:
  stable/12/sys/kern/uipc_shm.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/uipc_shm.c
==============================================================================
--- stable/12/sys/kern/uipc_shm.c	Sun Jun  2 09:27:38 2019	(r348507)
+++ stable/12/sys/kern/uipc_shm.c	Sun Jun  2 09:28:50 2019	(r348508)
@@ -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>



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