1. 02 Apr, 2013 2 commits
  2. 24 Mar, 2013 1 commit
  3. 22 Mar, 2013 7 commits
  4. 21 Mar, 2013 3 commits
    • Takuya Yoshikawa's avatar
      KVM: MMU: Rename kvm_mmu_free_some_pages() to make_mmu_pages_available() · 81f4f76b
      Takuya Yoshikawa authored
      The current name "kvm_mmu_free_some_pages" should be used for something
      that actually frees some shadow pages, as we expect from the name, but
      what the function is doing is to make some, KVM_MIN_FREE_MMU_PAGES,
      shadow pages available: it does nothing when there are enough.
      
      This patch changes the name to reflect this meaning better; while doing
      this renaming, the code in the wrapper function is inlined into the main
      body since the whole function will be inlined into the only caller now.
      Signed-off-by: default avatarTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      81f4f76b
    • Takuya Yoshikawa's avatar
      KVM: MMU: Move kvm_mmu_free_some_pages() into kvm_mmu_alloc_page() · 7ddca7e4
      Takuya Yoshikawa authored
      What this function is doing is to ensure that the number of shadow pages
      does not exceed the maximum limit stored in n_max_mmu_pages: so this is
      placed at every code path that can reach kvm_mmu_alloc_page().
      
      Although it might have some sense to spread this function in each such
      code path when it could be called before taking mmu_lock, the rule was
      changed not to do so.
      
      Taking this background into account, this patch moves it into
      kvm_mmu_alloc_page() and simplifies the code.
      
      Note: the unlikely hint in kvm_mmu_free_some_pages() guarantees that the
      overhead of this function is almost zero except when we actually need to
      allocate some shadow pages, so we do not need to care about calling it
      multiple times in one path by doing kvm_mmu_get_page() a few times.
      Signed-off-by: default avatarTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      7ddca7e4
    • Marcelo Tosatti's avatar
      Merge remote-tracking branch 'upstream/master' into queue · 2ae33b38
      Marcelo Tosatti authored
      Merge reason:
      
      From: Alexander Graf <agraf@suse.de>
      
      "Just recently this really important patch got pulled into Linus' tree for 3.9:
      
      commit 1674400a
      Author: Anton Blanchard <anton <at> samba.org>
      Date:   Tue Mar 12 01:51:51 2013 +0000
      
      Without that commit, I can not boot my G5, thus I can't run automated tests on it against my queue.
      
      Could you please merge kvm/next against linus/master, so that I can base my trees against that?"
      
      * upstream/master: (653 commits)
        PCI: Use ROM images from firmware only if no other ROM source available
        sparc: remove unused "config BITS"
        sparc: delete "if !ULTRA_HAS_POPULATION_COUNT"
        KVM: Fix bounds checking in ioapic indirect register reads (CVE-2013-1798)
        KVM: x86: Convert MSR_KVM_SYSTEM_TIME to use gfn_to_hva_cache functions (CVE-2013-1797)
        KVM: x86: fix for buffer overflow in handling of MSR_KVM_SYSTEM_TIME (CVE-2013-1796)
        arm64: Kconfig.debug: Remove unused CONFIG_DEBUG_ERRORS
        arm64: Do not select GENERIC_HARDIRQS_NO_DEPRECATED
        inet: limit length of fragment queue hash table bucket lists
        qeth: Fix scatter-gather regression
        qeth: Fix invalid router settings handling
        qeth: delay feature trace
        sgy-cts1000: Remove __dev* attributes
        KVM: x86: fix deadlock in clock-in-progress request handling
        KVM: allow host header to be included even for !CONFIG_KVM
        hwmon: (lm75) Fix tcn75 prefix
        hwmon: (lm75.h) Update header inclusion
        MAINTAINERS: Remove Mark M. Hoffman
        xfs: ensure we capture IO errors correctly
        xfs: fix xfs_iomap_eof_prealloc_initial_size type
        ...
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      2ae33b38
  5. 20 Mar, 2013 3 commits
  6. 19 Mar, 2013 19 commits
  7. 18 Mar, 2013 5 commits