Messages in this thread | | | Date | Fri, 1 Jul 2022 16:37:00 +0200 (CEST) | From | Christoph Lameter <> | Subject | Re: [PATCH v1] mm/slub: enable debugging memory wasting of kmalloc |
| |
On Fri, 1 Jul 2022, Feng Tang wrote:
> static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, > - unsigned long addr, struct kmem_cache_cpu *c) > + unsigned long addr, struct kmem_cache_cpu *c, unsigned int orig_size) > {
It would be good to avoid expanding the basic slab handling functions for kmalloc. Can we restrict the mods to the kmalloc related functions?
| |