]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pcpu: Xen physical cpus online/offline sys interface
authorLiu, Jinsong <jinsong.liu@intel.com>
Mon, 11 Jun 2012 12:38:08 +0000 (20:38 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 19 Jul 2012 19:51:39 +0000 (15:51 -0400)
commit0f54cc86bf5e77e7a6577c8803781e546589fa7f
treed68e9715ac73dd431709ddf2301a313105688b68
parent182ee7cc4eeef0533d3cb327e596b40db5207950
xen/pcpu: Xen physical cpus online/offline sys interface

This patch provide Xen physical cpus online/offline sys interface.
User can use it for their own purpose, like power saving:
by offlining some cpus when light workload it save power greatly.

Its basic workflow is, user online/offline cpu via sys interface,
then hypercall xen to implement, after done xen inject virq back to dom0,
and then dom0 sync cpu status.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Documentation/ABI/testing/sysfs-devices-system-xen_cpu [new file with mode: 0644]
drivers/xen/Makefile
drivers/xen/pcpu.c [new file with mode: 0644]
include/xen/interface/platform.h
include/xen/interface/xen.h