12 Jan, 2012

2 commits

  • Remove wrapper functions. This makes the allocation type explicit in
    all callers; I used GPF_KERNEL where it seemed obvious, left it at
    GFP_ATOMIC otherwise.

    Signed-off-by: Rusty Russell
    Reviewed-by: Christoph Hellwig

    Rusty Russell
     
  • We were cheating with our barriers; using the smp ones rather than the
    real device ones. That was fine, until rpmsg came along, which is
    used to talk to a real device (a non-SMP CPU).

    Unfortunately, just putting back the real barriers (reverting
    d57ed95d) causes a performance regression on virtio-pci. In
    particular, Amos reports netbench's TCP_RR over virtio_net CPU
    utilization increased up to 35% while throughput went down by up to
    14%.

    By comparison, this branch is in the noise.

    Reference: https://lkml.org/lkml/2011/12/11/22

    Signed-off-by: Rusty Russell

    Rusty Russell
     

30 May, 2011

1 commit


09 Dec, 2010

2 commits

  • This is the userspace part of the tool: it includes a bunch of stubs for
    linux APIs, somewhat simular to linuxsched. This makes it possible to
    recompile the ring code in userspace.

    A small test example is implemented combining this with vhost_test
    module.

    Signed-off-by: Michael S. Tsirkin

    Michael S. Tsirkin
     
  • This adds a test module for vhost infrastructure.
    Intentionally not tied to kbuild to prevent people
    from installing and loading it accidentally.

    Signed-off-by: Michael S. Tsirkin

    Michael S. Tsirkin