aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 3ede0981f4ac..718fa939b1a7 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -2340,7 +2340,7 @@ perf_mmap_data_init(struct perf_event *event, struct perf_mmap_data *data)
2340 } 2340 }
2341 2341
2342 if (!data->watermark) 2342 if (!data->watermark)
2343 data->watermark = max_t(long, PAGE_SIZE, max_size / 2); 2343 data->watermark = max_size / 2;
2344 2344
2345 2345
2346 rcu_assign_pointer(event->data, data); 2346 rcu_assign_pointer(event->data, data);