diff options
| author | Ingo Molnar <mingo@kernel.org> | 2019-12-10 10:05:45 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2019-12-10 10:12:55 +0100 |
| commit | aee7f91369a80d2cb9bba198331479cc9bfc0ade (patch) | |
| tree | 3e183e3a1d9fe0eab3b0cf712c1d9f87f9f429e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | x86/setup: Enhance the comments (diff) | |
| download | linux-aee7f91369a80d2cb9bba198331479cc9bfc0ade.tar.gz linux-aee7f91369a80d2cb9bba198331479cc9bfc0ade.zip | |
x86/mm/pat: Update the comments in pat.c and pat_interval.c and refresh the code a bit
Tidy up the code:
- add comments explaining the PAT code, the role of the functions and the logic
- fix various typos and grammar while at it
- simplify the file-scope memtype_interval_*() namespace to interval_*()
- simplify stylistic complications such as unnecessary linebreaks
or convoluted control flow
- use the simpler '#ifdef CONFIG_*' pattern instead of '#if defined(CONFIG_*)' pattern
- remove the non-idiomatic newline between late_initcall() and its function definition
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
