* [PATCH] tiny kmem_cache_destroy doc tweak
@ 2002-09-18 21:31 John Levon
0 siblings, 0 replies; only message in thread
From: John Levon @ 2002-09-18 21:31 UTC (permalink / raw)
To: trivial; +Cc: torvalds, linux-kernel
Make it clear that _destroy() won't do the kmem_cache_free()s for you (it seems).
Against 2.5.36
thanks
john
--- linux-linus/mm/slab.c Wed Sep 18 19:48:54 2002
+++ linux/mm/slab.c Wed Sep 18 22:27:32 2002
@@ -1018,6 +1018,8 @@
* cache being allocated each time a module is loaded and unloaded, if the
* module doesn't have persistent in-kernel storage across loads and unloads.
*
+ * The cache must be empty before calling this function.
+ *
* The caller must guarantee that noone will allocate memory from the cache
* during the kmem_cache_destroy().
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-18 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-18 21:31 [PATCH] tiny kmem_cache_destroy doc tweak John Levon
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®