mm: don't include <linux/dax.h> in <linux/mempolicy.h>
Subsystems (4)
PATCH 1/1 mm: don't include <linux/dax.h> in <linux/mempolicy.h>
Not required at all, and having this causes a huge kernel rebuild as soon as something in dax.h changes.
Signed-off-by Christoph Hellwig <[email protected]>
--- include/linux/mempolicy.h | 1 - mm/memory-failure.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-)
include/linux/mempolicy.h +0 -1
@@ -8,7 +8,6 @@#include <linux/sched.h> #include <linux/mmzone.h> -#include <linux/dax.h> #include <linux/slab.h> #include <linux/rbtree.h> #include <linux/spinlock.h>
mm/memory-failure.c +1 -0
@@ -39,6 +39,7 @@#include <linux/kernel-page-flags.h> #include <linux/sched/signal.h> #include <linux/sched/task.h> +#include <linux/dax.h> #include <linux/ksm.h> #include <linux/rmap.h> #include <linux/export.h>
Signature · 1 line
2.30.2
Quoted 4 lines · Christoph Hellwig
Not required at all, and having this causes a huge kernel rebuild as soon as something in
dax.hchanges.Signed-off-by Christoph Hellwig <[email protected]>
Looks good to me.
Reviewed-by Naoya Horiguchi <[email protected]>
Quoted 3 lines · Christoph Hellwig
Not required at all, and having this causes a huge kernel rebuild as soon as something in
dax.hchanges.
Looks good.
Reviewed-by Dan Williams <[email protected]>