[lkml]   [2021]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 2/4] topology: use bin_attribute to avoid buff overflow
On Thu, Jun 17, 2021 at 10:19:08PM +1200, Barry Song wrote:
> From: Tian Tao <>
> 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. so we use bin_attribute instead of
> attribute to avoid NR_CPUS too big to cause buff overflow.
> Link:
> Signed-off-by: Tian Tao <>
> Reviewed-by: Jonathan Cameron <>
> Cc: Greg Kroah-Hartman <>
> Cc: "Rafael J. Wysocki" <>

As with the other patch, you have to also sign off on this as well.

The link is pointing to a v5 of a different patch series, why put that


greg k-h

 \ /
  Last update: 2021-06-17 12:59    [W:0.095 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site