1. 24 10月, 2007 5 次提交
    • A
      9p: fix memleak in fs/9p/v9fs.c · 0a976297
      Adrian Bunk 提交于
      This patch fixes a memory leak introduced by
      commit ba17674f.
      
      Spotted by the Coverity checker.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
      0a976297
    • E
      9p: add virtio transport · b530cc79
      Eric Van Hensbergen 提交于
      This adds a transport to 9p for communicating between guests and a host
      using a virtio based transport.
      Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
      
      b530cc79
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · 0b776eb5
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        mlx4_core: Increase command timeout for INIT_HCA to 10 seconds
        IPoIB/cm: Use common CQ for CM send completions
        IB/uverbs: Fix checking of userspace object ownership
        IB/mlx4: Sanity check userspace send queue sizes
        IPoIB: Rewrite "if (!likely(...))" as "if (unlikely(!(...)))"
        IB/ehca: Enable large page MRs by default
        IB/ehca: Change meaning of hca_cap_mr_pgsize
        IB/ehca: Fix ehca_encode_hwpage_size() and alloc_fmr()
        IB/ehca: Fix masking error in {,re}reg_phys_mr()
        IB/ehca: Supply QP token for SRQ base QPs
        IPoIB: Use round_jiffies() for ah_reap_task
        RDMA/cma: Fix deadlock destroying listen requests
        RDMA/cma: Add locking around QP accesses
        IB/mthca: Avoid alignment traps when writing doorbells
        mlx4_core: Kill mlx4_write64_raw()
      0b776eb5
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-lguest · 0d681009
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-lguest: (45 commits)
        Use "struct boot_params" in example launcher
        Loading bzImage directly.
        Revert lguest magic and use hook in head.S
        Update lguest documentation to reflect the new virtual block device name.
        generalize lgread_u32/lgwrite_u32.
        Example launcher handle guests not being ready for input
        Update example launcher for virtio
        Lguest support for Virtio
        Remove old lguest I/O infrrasructure.
        Remove old lguest bus and drivers.
        Virtio helper routines for a descriptor ringbuffer implementation
        Module autoprobing support for virtio drivers.
        Virtio console driver
        Block driver using virtio.
        Net driver using virtio
        Virtio interface
        Boot with virtual == physical to get closer to native Linux.
        Allow guest to specify syscall vector to use.
        Rename "cr3" to "gpgdir" to avoid x86-specific naming.
        Pagetables to use normal kernel types
        ...
      0d681009
    • H
      Fix synchronize_irq races with IRQ handler · a98ce5c6
      Herbert Xu 提交于
      As it is some callers of synchronize_irq rely on memory barriers
      to provide synchronisation against the IRQ handlers.  For example,
      the tg3 driver does
      
      	tp->irq_sync = 1;
      	smp_mb();
      	synchronize_irq();
      
      and then in the IRQ handler:
      
      	if (!tp->irq_sync)
      		netif_rx_schedule(dev, &tp->napi);
      
      Unfortunately memory barriers only work well when they come in
      pairs.  Because we don't actually have memory barriers on the
      IRQ path, the memory barrier before the synchronize_irq() doesn't
      actually protect us.
      
      In particular, synchronize_irq() may return followed by the
      result of netif_rx_schedule being made visible.
      
      This patch (mostly written by Linus) fixes this by using spin
      locks instead of memory barries on the synchronize_irq() path.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a98ce5c6
  2. 23 10月, 2007 35 次提交