diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2021-04-14 18:49:54 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-04-16 16:32:39 +0200 |
commit | d68e6799a5c87f415d3bfa0dea49caee28ab00d1 (patch) | |
tree | d3f99ae29d392b8c9a3fb79c303eabfab7fe2c11 /fs/fcntl.c | |
parent | cface0326a6c2ae5c8f47bd466f07624b3e348a7 (diff) |
perf: Cap allocation order at aux_watermark
Currently, we start allocating AUX pages half the size of the total
requested AUX buffer size, ignoring the attr.aux_watermark setting. This,
in turn, makes intel_pt driver disregard the watermark also, as it uses
page order for its SG (ToPA) configuration.
Now, this can be fixed in the intel_pt PMU driver, but seeing as it's the
only one currently making use of high order allocations, there is no
reason not to fix the allocator instead. This way, any other driver
wishing to add this support would not have to worry about this.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210414154955.49603-2-alexander.shishkin@linux.intel.com
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions