Thread (14 messages) 14 messages, 4 authors, 2014-06-03

Re: [PATCH 2/3] cnic: Don't take cnic_dev_lock in cnic_alloc_uio_rings()

From: Benjamin Poirier <hidden>
Date: 2014-05-30 22:33:23

On 2014/05/30 16:18, Michael Chan wrote:
We are allocating memory with GFP_KERNEL under spinlock.  Since this is
the only call manipulating the cnic_udev_list and it is always under
rtnl_lock, cnic_dev_lock can be safely removed.
In that case, the many other instances of cnic_dev_lock throughout cnic
should also be removed, no?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help