Re: [patch for-3.7 v3] mm, mempolicy: hold task->mempolicy refcount while reading numa_maps.
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2012-10-22 20:56:21
Also in:
lkml
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2012-10-22 20:56:21
Also in:
lkml
On Mon, 22 Oct 2012 11:47:31 +0900 Kamezawa Hiroyuki [off-list ref] wrote:
(2012/10/19 18:28), David Rientjes wrote:quoted
Looks good, but the patch is whitespace damaged so it doesn't apply. When that's fixed: Acked-by: David Rientjes <rientjes@google.com>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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>