Commit b9d2a17b authored by Bagas Sanjaya's avatar Bagas Sanjaya Committed by Tejun Heo
Browse files

docs: cgroup-v1: use bullet lists for list of stat file tables



The stat file section contains three tables, where the leading texts for
them are subsection heading. Organize them in the bullet list, while
demoting headings into normal text.

Signed-off-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent f7423bb7
Loading
Loading
Loading
Loading
+53 −54
Original line number Diff line number Diff line
@@ -519,10 +519,9 @@ will be charged as a new owner of it.
5.2 stat file
-------------

memory.stat file includes following statistics
memory.stat file includes following statistics:

per-memory cgroup local status
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  * per-memory cgroup local status

    =============== ===============================================================
    cache           # of bytes of page cache memory.
@@ -534,7 +533,8 @@ pgpgin # of charging events to the memory cgroup. The charging
                    event happens each time a page is accounted as either mapped
                    anon page(RSS) or cache page(Page Cache) to the cgroup.
    pgpgout         # of uncharging events to the memory cgroup. The uncharging
		event happens each time a page is unaccounted from the cgroup.
                    event happens each time a page is unaccounted from the
                    cgroup.
    swap            # of bytes of swap usage
    dirty           # of bytes that are waiting to get written back to the disk.
    writeback       # of bytes of file/anon cache that are queued for syncing to
@@ -543,17 +543,17 @@ inactive_anon # of bytes of anonymous and swap cache memory on inactive
                    LRU list.
    active_anon     # of bytes of anonymous and swap cache memory on active
                    LRU list.
inactive_file	# of bytes of file-backed memory and MADV_FREE anonymous memory(
                LazyFree pages) on inactive LRU list.
    inactive_file   # of bytes of file-backed memory and MADV_FREE anonymous
                    memory (LazyFree pages) on inactive LRU list.
    active_file     # of bytes of file-backed memory on active LRU list.
    unevictable     # of bytes of memory that cannot be reclaimed (mlocked etc).
    =============== ===============================================================

status considering hierarchy (see memory.use_hierarchy settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  * status considering hierarchy (see memory.use_hierarchy settings):

    ========================= ===================================================
hierarchical_memory_limit # of bytes of memory limit with regard to hierarchy
    hierarchical_memory_limit # of bytes of memory limit with regard to
                              hierarchy
                              under which the memory cgroup is
    hierarchical_memsw_limit  # of bytes of memory+swap limit with regard to
                              hierarchy under which memory cgroup is.
@@ -564,8 +564,7 @@ total_<counter> # hierarchical version of <counter>, which in
                              <counter>, i.e. total_cache
    ========================= ===================================================

The following additional stats are dependent on CONFIG_DEBUG_VM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  * additional vm parameters (depends on CONFIG_DEBUG_VM):

    ========================= ========================================
    recent_rotated_anon       VM internal parameter. (see mm/vmscan.c)