Skip to contentSkip to conversation

slab-document-kmalloc_order.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 5, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] slab-document-kmalloc_order.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 05 Jun 2014 12:49:29 -0700

The patch titled
Subject: slab: document kmalloc_order
has been removed from the -mm tree. Its filename was
slab-document-kmalloc_order.patch

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

------------------------------------------------------
From: Vladimir Davydov <[email protected]>
Subject: slab: document kmalloc_order

---

 mm/slab_common.c |    5 +++++
 1 file changed, 5 insertions(+)
mm/slab_common.c renamed from mm/slab_common.c~slab-document-kmalloc_order +5 -0
diff -puN mm/slab_common.c~slab-document-kmalloc_order mm/slab_common.c
@@ -582,6 +582,11 @@ void __init create_kmalloc_caches(unsign
 }
 #endif /* !CONFIG_SLOB */
 
+/*
+ * To avoid unnecessary overhead, we pass through large allocation requests
+ * directly to the page allocator. We use __GFP_COMP, because we will need to
+ * know the allocation order to free the pages properly in kfree.
+ */
 void *kmalloc_order(size_t size, gfp_t flags, unsigned int order)
 {
 	void *ret;

_

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

origin.patch
linux-next.patch