lkml.org 
[lkml]   [2022]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?

\
 
 \ /
  Last update: 2022-07-01 16:41    [W:0.108 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site