Skip to contentSkip to conversation

mm-page_alloc-factor-setup_pageset-into-pageset_init-and-pageset_set_batch.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-page_alloc-factor-setup_pageset-into-pageset_init-and-pageset_set_batch.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:24:21 -0700

The patch titled
Subject: mm/page_alloc: factor setup_pageset() into pageset_init() and pageset_set_batch()
has been removed from the -mm tree. Its filename was
mm-page_alloc-factor-setup_pageset-into-pageset_init-and-pageset_set_batch.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Cody P Schafer <[email protected]>
Subject: mm/page_alloc: factor setup_pageset() into pageset_init() and pageset_set_batch()

Cc Gilad Ben-Yossef <[email protected]>
Cc KOSAKI Motohiro <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Pekka Enberg <[email protected]>

---

 mm/page_alloc.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-factor-setup_pageset-into-pageset_init-and-pageset_set_batch +7 -2
diff -puN mm/page_alloc.c~mm-page_alloc-factor-setup_pageset-into-pageset_init-and-pageset_set_batch mm/page_alloc.c
@@ -4071,7 +4071,7 @@ static void pageset_set_batch(struct per
 	pageset_update(&p->pcp, 6 * batch, max(1UL, 1 * batch));
 }
 
-static void setup_pageset(struct per_cpu_pageset *p, unsigned long batch)
+static void pageset_init(struct per_cpu_pageset *p)
 {
 	struct per_cpu_pages *pcp;
 	int migratetype;
@@ -4080,11 +4080,16 @@ static void setup_pageset(struct per_cpu
 
 	pcp = &p->pcp;
 	pcp->count = 0;
-	pageset_set_batch(p, batch);
 	for (migratetype = 0; migratetype < MIGRATE_PCPTYPES; migratetype++)
 		INIT_LIST_HEAD(&pcp->lists[migratetype]);
 }
 
+static void setup_pageset(struct per_cpu_pageset *p, unsigned long batch)
+{
+	pageset_init(p);
+	pageset_set_batch(p, batch);
+}
+
 /*
  * setup_pagelist_highmark() sets the high water mark for hot per_cpu_pagelist
  * to the value high for the pageset p.

_

Patches currently in -mm which might be from [email protected] are

origin.patch
zbud-add-to-mm.patch
zswap-add-to-mm.patch
zswap-add-documentation.patch