Re: [PATCH 4/4] cpuidle - support multiple drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >>
> >> eg.
> >> cpu0: acpi_idle
> >> cpu1: acpi_idle
> >>
> > 
> > Is this allowed? I thought sysfs files can output only 1 line of data?
> 
> Ah yeah :)
> 
> Does it make sense to put the following files:
> 
> /sys/devices/system/cpu/cpu0/cpuidle/driver
>  => acpi_idle
> /sys/devices/system/cpu/cpu1/cpuidle/driver
>  => acpi_idle
> 

Sounds like a reasonable idea.

> and the content of the file:
> 
> /sys/devices/system/cpu/cpuidle/current_driver will show the driver
> associated with current cpu ?
> 

I think that's ok.

Cheers,

Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux