]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge tag 'v4.6-rc3' into drm-intel-next-queued
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Apr 2016 17:21:06 +0000 (19:21 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Apr 2016 17:25:13 +0000 (19:25 +0200)
Linux 4.6-rc3

Backmerge requested by Chris Wilson to make his patches apply cleanly.
Tiny conflict in vmalloc.c with the (properly acked and all) patch in
drm-intel-next:

commit 4da56b99d99e5a7df2b7f11e87bfea935f909732
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 4 14:46:42 2016 +0100

    mm/vmap: Add a notifier for when we run out of vmap address space

and Linus' tree.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
1  2 
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_dmabuf.c
drivers/gpu/drm/i915/i915_gem_userptr.c
mm/vmalloc.c

Simple merge
diff --cc mm/vmalloc.c
index 12d27ac303aebd82ff21f3fe9b3655dee4cf8b0a,ae7d20b447ffbd74da85e85201ed668d758d9e1b..293889d7f482995daf8d39de6174698fbeea20be
@@@ -473,19 -468,9 +473,19 @@@ overflow
                purged = 1;
                goto retry;
        }
 +
 +      if (gfpflags_allow_blocking(gfp_mask)) {
 +              unsigned long freed = 0;
 +              blocking_notifier_call_chain(&vmap_notify_list, 0, &freed);
 +              if (freed > 0) {
 +                      purged = 0;
 +                      goto retry;
 +              }
 +      }
 +
        if (printk_ratelimit())
-               pr_warn("vmap allocation for size %lu failed: "
-                       "use vmalloc=<size> to increase size.\n", size);
+               pr_warn("vmap allocation for size %lu failed: use vmalloc=<size> to increase size\n",
+                       size);
        kfree(va);
        return ERR_PTR(-EBUSY);
  }