05 Jun, 2007

1 commit

  • If the system supports hypervisor based statistics, allow them to
    be fetched, enabled, and disabled via sysfs.

    Enable and disable via the boolean:

    /sys/devices/systems/cpu/cpuN/mmustat_enable

    Statistic values are provided under:

    /sys/devices/systems/cpu/cpuN/mmu_status/

    Signed-off-by: David S. Miller

    David Miller
     

31 May, 2007

1 commit


29 May, 2007

3 commits


16 May, 2007

1 commit

  • Hypervisor interfaces need to be negotiated in order to use
    some API calls reliably. So add a small set of interfaces
    to request API versions and query current settings.

    This allows us to fix some bugs in the hypervisor console:

    1) If we can negotiate API group CORE of at least major 1
    minor 1 we can use con_read and con_write which can improve
    console performance quite a bit.

    2) When we do a console write request, we should hold the
    spinlock around the whole request, not a byte at a time.
    What would happen is that it's easy for output from
    different cpus to get mixed with each other.

    3) Use consistent udelay() based polling, udelay(1) each
    loop with a limit of 1000 polls to handle stuck hypervisor
    console.

    Signed-off-by: David S. Miller

    David S. Miller
     

20 Mar, 2006

10 commits