Skip to content

dynamically create "cache" and "cpufreq" entries with CPU hotplug

Ashok Raj lkml 1 version In review

Get series with b4
b4 am 20051021203818.753754000@araj-sfield

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4introduce get_cpu_sysdev() to retrieve a sysfs entry for a cpu.drivers/base/cpu.c include/linux/cpu.h+18 -00 replies
2/4create and destroy cache sysfs entries based on cpu notifiers.arch/i386/kernel/cpu/intel_cacheinfo.c+44 -160 replies
3/4Remove cpu_sys_devices in cpufreq subsystem.drivers/cpufreq/cpufreq.c+3 -130 replies
4/4create and destroy cpufreq sysfs entries based on cpu notifiers.drivers/cpufreq/cpufreq.c drivers/cpufreq/cpufreq_stats.c+102 -82 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] dynamically create "cache" and "cpufreq" entries with CPU hotplug

Hi,

[Resend... somehow first post never made out of here..]

This fixes the 2 entries in /sys/devices/system/cpu/cpuX to be created when CPU is onlined, and removed when they are offlined.

Andrew: please consider for next -mm.

Cheers,
ashok