Thread (4 messages) 4 messages, 2 authors, 2012-01-10

Re: [PATCH] block_dev: Suppress bdev_cache_init() kmemleak warninig

flat view

From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2012-01-09 23:03:16
Also in: lkml

On Tue, Jan 10, 2012 at 01:44:36AM +0300, Sergey Senozhatsky wrote:
due to attempt to mark pointer to `struct vfsmount' as a gray object, which
is embedded into `struct mount' returned from alloc_vfsmnt(). Pass actual
allocated `struct mount' pointer to kmemleak_not_leak() instead.
*snort*

how about turning bd_mnt into a static instead and to hell with messing with
annotations?  It's not like one word of .bss was worth those convolutions...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help