Re: Glibc recvmsg from kernel netlink socket hangs forever

2016-03-11 Thread Jun Wang
> On 09/25/2015 08:55 AM, Herbert Xu wrote: >> On Thu, Sep 24, 2015 at 10:34:10PM -0700, Guenter Roeck wrote: >>> >>> Any idea what may be needed for 4.1 ? >>> I am currently trying https://patchwork.ozlabs.org/patch/473041/, >> >> This patch should not make any difference on 4.1 and later because

Re: Sleeping in RCU list traversal

2007-10-07 Thread Jun WANG
> Hello. > > Thank you for pointing out. > > Jun WANG wrote: > > >rcu_read_lock(); > > >list_for_each_rcu(p, ...) { > > > ptr = list_entry(p, struct ..., list); > > > /* Grab a reference to "ptr". */ > > > rcu_rea

Re:Sleeping in RCU list traversal

2007-10-07 Thread Jun WANG
ical section in which it was acquired is just as illegal as doing so with normal locking. Jun Wang - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTE