summaryrefslogtreecommitdiffstats
path: root/kernel/locking/rtmutex_api.c
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2021-08-06 23:02:49 +1200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-13 10:27:49 +0200
commitbb9ec13d156e85dfd6a8afd0bb61ccf5736ed257 (patch)
tree6ec90b5485d9d196659b0c6a463acb013e97cd1c /kernel/locking/rtmutex_api.c
parent291f93ca339f5b5e6e90ad037bb8271f0f618165 (diff)
downloadlinux-stable-bb9ec13d156e85dfd6a8afd0bb61ccf5736ed257.tar.gz
linux-stable-bb9ec13d156e85dfd6a8afd0bb61ccf5736ed257.tar.bz2
linux-stable-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 <gregkh@linuxfoundation.org> Cc: "Rafael J. Wysocki" <rafael@kernel.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Signed-off-by: Barry Song <song.bao.hua@hisilicon.com> Link: https://lore.kernel.org/r/20210806110251.560-4-song.bao.hua@hisilicon.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking/rtmutex_api.c')
0 files changed, 0 insertions, 0 deletions