summaryrefslogtreecommitdiff
path: root/kernel/params.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2023-03-15 14:31:29 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-04-05 19:42:45 -0700
commit934487e98fdd2d7762e893af7cbe788cfd39ff84 (patch)
tree33f2e534b3a6c9624d54d3b0aebe4a988e14a24d /kernel/params.c
parentfd54349ddb61445a8a42459b3dc09237c55e6f78 (diff)
downloadlinux-934487e98fdd2d7762e893af7cbe788cfd39ff84.tar.gz
linux-934487e98fdd2d7762e893af7cbe788cfd39ff84.tar.bz2
linux-934487e98fdd2d7762e893af7cbe788cfd39ff84.zip
perf/core: fix MAX_ORDER usage in rb_alloc_aux_page()
MAX_ORDER is not inclusive: the maximum allocation order buddy allocator can deliver is MAX_ORDER-1. Fix MAX_ORDER usage in rb_alloc_aux_page(). Link: https://lkml.kernel.org/r/20230315113133.11326-7-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions