1. 19 Apr, 2009 5 commits
    • Marcelo Tosatti's avatar
      virtio: fix suspend when using virtio_balloon · 84a139a9
      Marcelo Tosatti authored
      Break out of wait_event_interruptible() if freezing has been requested,
      in the vballoon thread. Without this change vballoon refuses to stop and
      the system can't suspend.
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: stable@kernel.org
      84a139a9
    • Rusty Russell's avatar
      lguest: fix guest crash on non-linear addresses in gdt pvops · a489f0b5
      Rusty Russell authored
      Fixes guest crash 'lguest: bad read address 0x4800000 len 256'
      
      The new per-cpu allocator ends up handing a non-linear address to
      write_gdt_entry.  We do __pa() on it, and hand it to the host, which
      kills us.
      
      I've long wanted to make the hypercall "LOAD_GDT_ENTRY" to match the IDT
      code, but had no pressing reason until now.
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: lguest@ozlabs.org
      a489f0b5
    • Matias Zabaljauregui's avatar
      lguest: fix crash on vmlinux images · 88df781a
      Matias Zabaljauregui authored
      Typical message: 'lguest: unhandled trap 6 at 0x418726 (0x0)'
      
      vmlinux guests were broken by 4cd8b5e2
      'lguest: use KVM hypercalls', which rewrites guest text from kvm hypercalls
      to trap 31.
      
      The Launcher mmaps the kernel image.  The Guest executes and
      immediately faults in the first text page (read-only).  Then it hits a
      hypercall, and we rewrite that hypercall, causing a copy-on-write.
      But the Guest pagetables still refer to the old page: we fault again,
      but as Host we see the hypercall already rewritten, and pass the fault
      back to the Guest.  The Guest hasn't set up an IDT yet, so we kill it.
      
      This doesn't happen with bzImages: they unpack themselves and so the
      text pages are already read-write.
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Tested-by: default avatarPatrick McHardy <kaber@trash.net>
      88df781a
    • Linus Torvalds's avatar
      Remove 'recurse into child resources' logic from 'reserve_region_with_split()' · ff54250a
      Linus Torvalds authored
      This function is not actually used right now, since the original use
      case for it was done with insert_resource_expand_to_fit() instead.
      
      However, we now have another usage case that wants to basically do a
      "reserve IO resource, splitting around existing resources", however that
      one doesn't actually want the "recurse into the conflicting resource"
      logic at all.
      
      And since recursing into the conflicting resource was the most complex
      part, and isn't wanted, just remove it.  Maybe we'll some day want both
      versions, but we can just resurrect the logic then.
      Tested-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ff54250a
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 8d4ab5da
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        cifs: when renaming don't try to unlink negative dentry
        cifs: remove unneeded bcc_ptr update in CIFSTCon
        cifs: add cFYI messages with some of the saved strings from ssetup/tcon
        cifs: fix buffer size for tcon->nativeFileSystem field
        cifs: fix unicode string area word alignment in session setup
        [CIFS] Fix build break caused by change to new current_umask helper function
        [CIFS] Fix sparse warnings
        [CIFS] Add support for posix open during lookup
        cifs: no need to use rcu_assign_pointer on immutable keys
        cifs: remove dnotify thread code
        [CIFS] remove some build warnings
        cifs: vary timeout on writes past EOF based on offset (try #5)
        [CIFS] Fix build break from recent DFS patch when DFS support not enabled
        Remote DFS root support.
        [CIFS] Endian convert UniqueId when reporting inode numbers from server files
        cifs: remove some pointless conditionals before kfree()
        cifs: flush data on any setattr
      8d4ab5da
  2. 18 Apr, 2009 10 commits
  3. 17 Apr, 2009 25 commits