* [merged] mm-mempolicyc-fix-wrong-sp_node-insertion.patch removed from -mm tree
@ 2013-03-11 20:16 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2013-03-11 20:16 UTC (permalink / raw)
To: dhillf, davej, hughd, kosaki.motohiro, mgorman, sasha.levin,
stable, mm-commits
The patch titled
Subject: mm/mempolicy.c: fix wrong sp_node insertion
has been removed from the -mm tree. Its filename was
mm-mempolicyc-fix-wrong-sp_node-insertion.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Hillf Danton <dhillf@gmail.com>
Subject: mm/mempolicy.c: fix wrong sp_node insertion
n->end is accessed in sp_insert(). Thus it should be update
before calling sp_insert(). This mistake may make kernel panic.
Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Dave Jones <davej@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/mempolicy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/mempolicy.c~mm-mempolicyc-fix-wrong-sp_node-insertion mm/mempolicy.c
--- a/mm/mempolicy.c~mm-mempolicyc-fix-wrong-sp_node-insertion
+++ a/mm/mempolicy.c
@@ -2391,8 +2391,8 @@ restart:
*mpol_new = *n->policy;
atomic_set(&mpol_new->refcnt, 1);
sp_node_init(n_new, n->end, end, mpol_new);
- sp_insert(sp, n_new);
n->end = start;
+ sp_insert(sp, n_new);
n_new = NULL;
mpol_new = NULL;
break;
_
Patches currently in -mm which might be from dhillf@gmail.com are
rmap-recompute-pgoff-for-unmapping-huge-page.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-11 20:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-11 20:16 [merged] mm-mempolicyc-fix-wrong-sp_node-insertion.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.