diff options
author | Valentin Schneider <vschneid@redhat.com> | 2023-07-07 20:21:51 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-08-22 12:13:28 +0300 |
commit | fe4fa4ec9b464f5a93b2010247822fdd3a2a2115 (patch) | |
tree | 7e161ead05604c19a91c9a51807222f03e26c72c /crypto/ctr.c | |
parent | 347d24fc8286e766696cfed112d6a353cb62cb68 (diff) | |
download | linux-fe4fa4ec9b464f5a93b2010247822fdd3a2a2115.tar.xz |
tracing/filters: Optimise cpumask vs cpumask filtering when user mask is a single CPU
Steven noted that when the user-provided cpumask contains a single CPU,
then the filtering function can use a scalar as input instead of a
full-fledged cpumask.
Reuse do_filter_scalar_cpumask() when the input mask has a weight of one.
Link: https://lkml.kernel.org/r/20230707172155.70873-6-vschneid@redhat.com
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Daniel Bristot de Oliveira <bristot@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Leonardo Bras <leobras@redhat.com>
Cc: Frederic Weisbecker <frederic@kernel.org>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions