diff options
author | Ira Weiny <ira.weiny@intel.com> | 2021-11-02 23:29:01 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-11-15 22:02:58 +0300 |
commit | 5e2411ae8071612396cd25017e29f9ce0662a5ff (patch) | |
tree | 279185378363e2201d3953281e23dfaecec717f0 /tools/perf/scripts/python/stackcollapse.py | |
parent | 888e034a74f41643dee6a8142c98946b8be00bf0 (diff) | |
download | linux-5e2411ae8071612396cd25017e29f9ce0662a5ff.tar.xz |
cxl/memdev: Change cxl_mem to a more descriptive name
The 'struct cxl_mem' object actually represents the state of a CXL
device within the driver. Comments indicating that 'struct cxl_mem' is a
device itself are incorrect. It is data layered on top of a CXL Memory
Expander class device. Rename it 'struct cxl_dev_state'. The 'struct'
cxl_memdev' structure represents a Linux CXL memory device object, and
it uses services and information provided by 'struct cxl_dev_state'.
Update the structure name, function names, and the kdocs to reflect the
real uses of this structure.
Some helper functions that were previously prefixed "cxl_mem_" are
renamed to just "cxl_".
Acked-by: Ben Widawsky <ben.widawsky@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20211102202901.3675568-3-ira.weiny@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions