Re: [patch for-3.7 v3] mm, mempolicy: hold task->mempolicy refcountwhile reading numa_maps.

From: Andrew Morton
Date: Mon Oct 22 2012 - 16:56:14 EST


On Mon, 22 Oct 2012 11:47:31 +0900
Kamezawa Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

> (2012/10/19 18:28), David Rientjes wrote:
>
> > Looks good, but the patch is whitespace damaged so it doesn't apply. When
> > that's fixed:
> >
> > Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
>
> Sorry, I hope this one is not broken...
>
> ...
>
> --- a/fs/proc/internal.h
> +++ b/fs/proc/internal.h
> @@ -12,6 +12,7 @@
> #include <linux/sched.h>
> #include <linux/proc_fs.h>
> struct ctl_table_header;
> +struct mempolicy;
>
> extern struct proc_dir_entry proc_root;
> #ifdef CONFIG_PROC_SYSCTL
> @@ -74,6 +75,9 @@ struct proc_maps_private {
> #ifdef CONFIG_MMU
> struct vm_area_struct *tail_vma;
> #endif
> +#ifdef CONFIG_NUMA
> + struct mempolicy *task_mempolicy;
> +#endif
> };

The mail client space-stuffed it.

We merged this three days ago, in 9e7814404b77c3e8920b. Please check
that it landed OK - there's a newline fixup in there but it looks good
to me.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/