* [folded-merged] ksm-introduce-ksm_max_page_sharing-per-page-deduplication-limit-fix-3.patch removed from -mm tree
@ 2016-04-01 21:11 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-04-01 21:11 UTC (permalink / raw)
To: aarcange, mm-commits
The patch titled
Subject: ksm: validate STABLE_NODE_DUP_HEAD conditional to gcc version
has been removed from the -mm tree. Its filename was
ksm-introduce-ksm_max_page_sharing-per-page-deduplication-limit-fix-3.patch
This patch was dropped because it was folded into ksm-introduce-ksm_max_page_sharing-per-page-deduplication-limit.patch
------------------------------------------------------
From: Andrea Arcangeli <aarcange@redhat.com>
Subject: ksm: validate STABLE_NODE_DUP_HEAD conditional to gcc version
BUILD_BUG_ON can only validate this successfully on recent gcc.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/ksm.c | 2 ++
1 file changed, 2 insertions(+)
diff -puN mm/ksm.c~ksm-introduce-ksm_max_page_sharing-per-page-deduplication-limit-fix-3 mm/ksm.c
--- a/mm/ksm.c~ksm-introduce-ksm_max_page_sharing-per-page-deduplication-limit-fix-3
+++ a/mm/ksm.c
@@ -621,8 +621,10 @@ static void remove_node_from_stable_tree
* from &migrate_nodes. This will verify that future list.h changes
* don't break STABLE_NODE_DUP_HEAD.
*/
+#if GCC_VERSION >= 40903 /* only recent gcc can handle it */
BUILD_BUG_ON(STABLE_NODE_DUP_HEAD <= &migrate_nodes);
BUILD_BUG_ON(STABLE_NODE_DUP_HEAD >= &migrate_nodes + 1);
+#endif
if (stable_node->head == &migrate_nodes)
list_del(&stable_node->list);
_
Patches currently in -mm which might be from aarcange@redhat.com are
ksm-introduce-ksm_max_page_sharing-per-page-deduplication-limit.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-01 21:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01 21:11 [folded-merged] ksm-introduce-ksm_max_page_sharing-per-page-deduplication-limit-fix-3.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.