<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Jeff Moyer wrote:
<blockquote TYPE=CITE>==> Regarding Re: [Crash-utility] crash version 4.0-2.11
is available; Dave Anderson <anderson@redhat.com> adds:
<p>>>
<br>>> "kmem_cache_s" got renamed to "kmem_cache" in the latest git :(
Time to
<br>>> update crash again .. :(
<p>anderson> Hopefully it's just a name change (again...) without other
<br>anderson> changes that will require a new kmem "version" within crash.
<p>Here's the git log:
<p>Author: Pekka J Enberg <penberg@cs.Helsinki.FI>
<br>Date:   Mon Nov 7 00:58:01 2005 -0800
<p>    [PATCH] mm: rename kmem_cache_s to kmem_cache
<p>    This patch renames struct kmem_cache_s to kmem_cache
so we can start using
<br>    it instead of kmem_cache_t typedef.
<p>    Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
<br>    Signed-off-by: Andrew Morton <akpm@osdl.org>
<br>    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
<p>Sounds like just a name change to me.
<p>-Jeff</blockquote>
<tt>Thanks -- googling that commit shows this as the only change to slab.c:</tt><tt></tt>
<p><tt>  --- 2.6.orig/mm/slab.c</tt>
<br><tt>  +++ 2.6/mm/slab.c</tt>
<br><tt>  @@ -368,7 +368,7 @@ static inline void kmem_list3_init(struc</tt>
<br><tt>   * manages a cache.</tt>
<br><tt>   */</tt><tt></tt>
<p><tt>  -struct kmem_cache_s {</tt>
<br><tt>  +struct kmem_cache {</tt>
<br><tt>   /* 1) per-cpu data, touched during every alloc/free
*/</tt>
<br><tt>   struct array_cache *array[NR_CPUS];</tt>
<br><tt>   unsigned int batchcount;</tt>
<p><tt>Phew...</tt>
<br><tt></tt> 
<br><tt></tt> </html>