Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: powerpc: convert vcpudispatch_stats.txt to ReST

- Add a SPDX header;
- Use standard markup for document title;
- Adjust identation on lists and add blank lines where
needed;
- Add it to the powerpc index.rst file.

Acked-by: Michael Ellerman <mpe@ellerman.id.au> # powerpc
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/a88855cc8b3a97b9b918a33e78e9ad000cf64be1.1592203650.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
599448d8 86de78d2

+13 -5
+1
Documentation/powerpc/index.rst
··· 31 31 transactional_memory 32 32 ultravisor 33 33 vas-api 34 + vcpudispatch_stats 34 35 35 36 .. only:: subproject and html 36 37
+12 -5
Documentation/powerpc/vcpudispatch_stats.txt Documentation/powerpc/vcpudispatch_stats.rst
··· 1 - VCPU Dispatch Statistics: 2 - ========================= 1 + .. SPDX-License-Identifier: GPL-2.0 2 + 3 + ======================== 4 + VCPU Dispatch Statistics 5 + ======================== 3 6 4 7 For Shared Processor LPARs, the POWER Hypervisor maintains a relatively 5 8 static mapping of the LPAR processors (vcpus) to physical processor ··· 23 20 a vcpu as represented by the first field, followed by 8 numbers. 24 21 25 22 The first number corresponds to: 23 + 26 24 1. total vcpu dispatches since the beginning of statistics collection 27 25 28 26 The next 4 numbers represent vcpu dispatch dispersions: 27 + 29 28 2. number of times this vcpu was dispatched on the same processor as last 30 29 time 31 30 3. number of times this vcpu was dispatched on a different processor core 32 31 as last time, but within the same chip 33 32 4. number of times this vcpu was dispatched on a different chip 34 33 5. number of times this vcpu was dispatches on a different socket/drawer 35 - (next numa boundary) 34 + (next numa boundary) 36 35 37 36 The final 3 numbers represent statistics in relation to the home node of 38 37 the vcpu: 38 + 39 39 6. number of times this vcpu was dispatched in its home node (chip) 40 40 7. number of times this vcpu was dispatched in a different node 41 41 8. number of times this vcpu was dispatched in a node further away (numa 42 - distance) 42 + distance) 43 43 44 - An example output: 44 + An example output:: 45 + 45 46 $ sudo cat /proc/powerpc/vcpudispatch_stats 46 47 cpu0 6839 4126 2683 30 0 6821 18 0 47 48 cpu1 2515 1274 1229 12 0 2509 6 0