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-next>] [day] [month] [year] [list]
Message-ID: <5543D184.4070707@redhat.com>
Date:	Fri, 01 May 2015 15:18:28 -0400
From:	Rik van Riel <riel@...hat.com>
To:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Linux kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: RCU recursion? (code inspection)

Hi Paul,

While looking at synchronize_rcu(), I noticed that
synchronize_rcu_expedited() calls synchronize_sched_expedited(),
which can call synchronize_sched() when it is worried about
the counter wrapping, which can call synchronize_sched_expedited()

The code is sufficiently convoluted that I am unsure whether this
recursion can actually happen in practice, but I also did not spot
anything that would stop it.

-- 
All rights reversed
--
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