diff options
| author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2023-03-15 14:31:30 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-05 19:42:45 -0700 |
| commit | 668a89907c6b908c4a72ef22e70bbc95efca2000 (patch) | |
| tree | e75a8efd340519c1a35e6d9b8df84592a4b38c0d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 934487e98fdd2d7762e893af7cbe788cfd39ff84 (diff) | |
| download | linux-668a89907c6b908c4a72ef22e70bbc95efca2000.tar.gz linux-668a89907c6b908c4a72ef22e70bbc95efca2000.zip | |
mm/page_reporting: fix MAX_ORDER usage in page_reporting_register()
MAX_ORDER is not inclusive: the maximum allocation order buddy allocator
can deliver is MAX_ORDER-1.
Fix MAX_ORDER usage in page_reporting_register().
Link: https://lkml.kernel.org/r/20230315113133.11326-8-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
