[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] kmalloc after down_write?
- From: Ming Zhang <mingz ele uri edu>
- To: dm-devel redhat com
- Subject: [dm-devel] kmalloc after down_write?
- Date: Fri, 19 Nov 2004 13:10:41 -0500
I am reading dm-snap.c and found that in register_snapshot(),
http://lxr.linux.no/source/drivers/md/dm-snap.c?v=2.6.8.1#L159,
the kmalloc is called with rwsem held. I am not sure if this is a good
one since kmalloc may sleep as well.
ming
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]