On 2016/12/1 23:08, Sudeep Holla wrote:
This patch removes the redundant sysfs cacheinfo code by reusing the recently introduced generic cacheinfo infrastructure through the commit 246246cbde5e ("drivers: base: support cpu cache information interface to userspace via sysfs")Signed-off-by: Sudeep Holla <[email protected]> Cc: Tony Luck <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Hanjun Guo <[email protected]> Cc: [email protected] --- arch/ia64/kernel/topology.c | 384 ++++++++++++++------------------------------ 1 file changed, 117 insertions(+), 267 deletions(-) v1->v2: - Rebased on top -next that has a patch introducing cpu_map_populated - Also added SMP related macros that I missed in v1 Hi, This is repost of the patch that was posted before several times to remove duplicate code. Since I don't have the platform to test, I was hoping to get some testing. This time Hanjun has kindly agreed to do some testing. Thanks a lot Hanjun in advance. You need to base this on top linux-next as there are few patches there. Take your time as this is not urgent at all.
You are welcome, I will test it next week :) Thanks Hanjun

