Thread (24 messages) 24 messages, 3 authors, 2016-02-28

Re: [PATCHv6 1/3] rdmacg: Added rdma cgroup controller

From: Haggai Eran <hidden>
Date: 2016-02-25 14:42:19
Also in: linux-rdma, lkml

On 25/02/2016 16:26, Parav Pandit wrote:
quoted
Can we call kfree() with spin_lock held? All these years I tend to
avoid doing so.
Also it doesn't look correct to hold the lock while freeing the memory
which is totally unrelated to the lock.
With that I think current code appears ok with exception that its
duplicated at two place for code readability around lock.
What say?
Yes, the only thing that bothered me there was the duplication.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help