aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorTian Tao <[email protected]>2021-08-06 11:02:49 +0000
committerGreg Kroah-Hartman <[email protected]>2021-08-13 08:27:49 +0000
commitbb9ec13d156e85dfd6a8afd0bb61ccf5736ed257 (patch)
tree6ec90b5485d9d196659b0c6a463acb013e97cd1c /lib/bitmap.c
parentlib: test_bitmap: add bitmap_print_bitmask/list_to_buf test cases (diff)
downloadkernel-bb9ec13d156e85dfd6a8afd0bb61ccf5736ed257.tar.gz
kernel-bb9ec13d156e85dfd6a8afd0bb61ccf5736ed257.zip
topology: use bin_attribute to break the size limitation of cpumap ABI
Reading /sys/devices/system/cpu/cpuX/topology/ returns cpu topology. However, the size of this file is limited to PAGE_SIZE because of the limitation for sysfs attribute. This patch moves to use bin_attribute to extend the ABI to be more than one page so that cpumap bitmask and list won't be potentially trimmed. Cc: Greg Kroah-Hartman <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Tian Tao <[email protected]> Signed-off-by: Barry Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions