]> Git Repo - linux.git/blobdiff - mm/slub.c
KVM: X86: TSCDEADLINE MSR emulation fastpath
[linux.git] / mm / slub.c
index 3098e0cf28992a344fc3de08245d0db97dbb3060..332d4b459a907b6a25e8fef7452e26c61604c2ea 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -449,6 +449,7 @@ static DEFINE_SPINLOCK(object_map_lock);
  * not vanish from under us.
  */
 static unsigned long *get_map(struct kmem_cache *s, struct page *page)
+       __acquires(&object_map_lock)
 {
        void *p;
        void *addr = page_address(page);
@@ -465,7 +466,7 @@ static unsigned long *get_map(struct kmem_cache *s, struct page *page)
        return object_map;
 }
 
-static void put_map(unsigned long *map)
+static void put_map(unsigned long *map) __releases(&object_map_lock)
 {
        VM_BUG_ON(map != object_map);
        lockdep_assert_held(&object_map_lock);
This page took 0.033825 seconds and 4 git commands to generate.