Skip to content
  1. Jul 20, 2007
    • Avi Kivity's avatar
      KVM: MMU: Store nx bit for large page shadows · d55e2cb2
      Avi Kivity authored
      
      
      We need to distinguish between large page shadows which have the nx bit set
      and those which don't.  The problem shows up when booting a newer smp Linux
      kernel, where the trampoline page (which is in real mode, which uses the
      same shadow pages as large pages) is using the same mapping as a kernel data
      page, which is mapped using nx, causing kvm to spin on that page.
      
      Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
      d55e2cb2
    • Paul Mundt's avatar
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt authored
      
      
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      20c2df83
  2. Jul 19, 2007
    • Avi Kivity's avatar
      i386: Allow KVM on i386 nonpae · 2d9ce177
      Avi Kivity authored
      
      
      Currently, CONFIG_X86_CMPXCHG64 both enables boot-time checking of
      the cmpxchg64b feature and enables compilation of the set_64bit() family.
      Since the option is dependent on PAE, and since KVM depends on set_64bit(),
      this effectively disables KVM on i386 nopae.
      
      Simplify by removing the config option altogether: the boot check is made
      dependent on CONFIG_X86_PAE directly, and the set_64bit() family is exposed
      without constraints.  It is up to users to check for the feature flag (KVM
      does not as virtualiation extensions imply its existence).
      
      Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2d9ce177
  3. Jul 16, 2007
Loading