aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-12-11 17:35:48 -0800
committerAlexei Starovoitov <ast@kernel.org>2019-12-13 12:58:51 -0800
commit6803ee25f0ead1e836808acb14396bb9a9849113 (patch)
treeb2e7b3306d10c300d91b150867eeb0d57877ae08 /fs
parentMerge branch 'reuseport_to_test_progs' (diff)
downloadlinux-dev-6803ee25f0ead1e836808acb14396bb9a9849113.tar.xz
linux-dev-6803ee25f0ead1e836808acb14396bb9a9849113.zip
libbpf: Extract and generalize CPU mask parsing logic
This logic is re-used for parsing a set of online CPUs. Having it as an isolated piece of code working with input string makes it conveninent to test this logic as well. While refactoring, also improve the robustness of original implementation. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191212013548.1690564-1-andriin@fb.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions