lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 16 Jun 2015 11:52:40 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Daniel Wagner <wagi@...om.org>
Cc:	paulmck@...ux.vnet.ibm.com, Alexei Starovoitov <ast@...mgrid.com>,
	Daniel Wagner <daniel.wagner@...-carit.de>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: call_rcu from trace_preempt

On Tue, 16 Jun 2015 11:41:51 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:

> >  	if (l) {
> >  		hlist_del_rcu(&l->hash_node);
> >  		htab->count--;
> > -		kfree_rcu(l, rcu);
> > +		/* kfree_rcu(l, rcu); */
> 
> So this kfree_rcu() is only being used to defer a free, and has nothing
> to do with having to free 'l' from rcu?
> 

If you still require kfree_rcu() but can not call it here, still use an
irq_work, and have the irq_work handler call kfree_rcu().

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ