diff options
| author | Eric Dumazet <[email protected]> | 2011-02-14 18:35:22 +0100 |
|---|---|---|
| committer | Pekka Enberg <[email protected]> | 2011-02-23 11:59:30 +0200 |
| commit | b3d41885d9cd0d9db31c8f49e362bae02c96fa3f (patch) | |
| tree | ab8f134456c9ae06ee0532a8ff0b7296e4d51c16 /fs/jbd/commit.c | |
| parent | 63310467a3d1ed6a0460ec1f4268126cd1ceec2e (diff) | |
slub: fix kmemcheck calls to match ksize() hints
Recent use of ksize() in network stack (commit ca44ac38 : net: don't
reallocate skb->head unless the current one hasn't the needed extra size
or is shared) triggers kmemcheck warnings, because ksize() can return
more space than kmemcheck is aware of.
Pekka Enberg noticed SLAB+kmemcheck is doing the right thing, while SLUB
+kmemcheck doesnt.
Bugzilla reference #27212
Reported-by: Christian Casteyde <[email protected]>
Suggested-by: Pekka Enberg <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: David S. Miller <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
CC: Changli Gao <[email protected]>
CC: Andrew Morton <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions