diff -NurpP linux-3.6-vs2.3.4.3-noxfs-nocow/mm/slab_vs.h linux-3.6-vs2.3.4.3.1-noxfs-nocow/mm/slab_vs.h --- linux-3.6-vs2.3.4.3-noxfs-nocow/mm/slab_vs.h 2012-10-04 18:47:00.000000000 +0200 +++ linux-3.6-vs2.3.4.3.1-noxfs-nocow/mm/slab_vs.h 2012-10-09 16:28:11.000000000 +0200 @@ -6,24 +6,24 @@ static inline void vx_slab_alloc(struct kmem_cache *cachep, gfp_t flags) { - int what = gfp_zone(cachep->gfpflags); + int what = gfp_zone(cachep->allocflags); struct vx_info *vxi = current_vx_info(); if (!vxi) return; - atomic_add(cachep->buffer_size, &vxi->cacct.slab[what]); + atomic_add(cachep->size, &vxi->cacct.slab[what]); } static inline void vx_slab_free(struct kmem_cache *cachep) { - int what = gfp_zone(cachep->gfpflags); + int what = gfp_zone(cachep->allocflags); struct vx_info *vxi = current_vx_info(); if (!vxi) return; - atomic_sub(cachep->buffer_size, &vxi->cacct.slab[what]); + atomic_sub(cachep->size, &vxi->cacct.slab[what]); }