mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/3] slab: export ksize to modules
@ 2007-02-21  8:06 Pekka J Enberg
  2007-02-21  8:14 ` Muli Ben-Yehuda
  2007-02-21  8:56 ` Arjan van de Ven
  0 siblings, 2 replies; 6+ messages in thread
From: Pekka J Enberg @ 2007-02-21  8:06 UTC (permalink / raw)
  To: akpm; +Cc: clameter, linux-kernel, jsipek, unionfs, bunk, hooanon05

From: Pekka Enberg <penberg@cs.helsinki.fi>

This exports ksize in slab and slob allocators to modules.

Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---
 mm/slab.c |    1 +
 mm/slob.c |    2 ++
 2 files changed, 3 insertions(+)

Index: 2.6/mm/slab.c
===================================================================
--- 2.6.orig/mm/slab.c	2007-02-21 09:46:16.000000000 +0200
+++ 2.6/mm/slab.c	2007-02-21 09:46:25.000000000 +0200
@@ -4485,3 +4485,4 @@
 
 	return obj_size(virt_to_cache(objp));
 }
+EXPORT_SYMBOL(ksize);
Index: 2.6/mm/slob.c
===================================================================
--- 2.6.orig/mm/slob.c	2007-02-21 09:46:28.000000000 +0200
+++ 2.6/mm/slob.c	2007-02-21 09:46:42.000000000 +0200
@@ -240,6 +240,8 @@
 	return ((slob_t *)block - 1)->units * SLOB_UNIT;
 }
 
+EXPORT_SYMBOL(ksize);
+
 struct kmem_cache {
 	unsigned int size, align;
 	const char *name;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-21 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-21  8:06 [PATCH 2/3] slab: export ksize to modules Pekka J Enberg
2007-02-21  8:14 ` Muli Ben-Yehuda
2007-02-21  8:22   ` Pekka J Enberg
2007-02-21 18:33   ` Christoph Lameter
2007-02-21  8:56 ` Arjan van de Ven
2007-02-21  9:03   ` Pekka J Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®