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]
Message-ID: <20210918070836.GA19555@bender.morinfr.org>
Date:   Sat, 18 Sep 2021 09:08:38 +0200
From:   Guillaume Morin <guillaume@...infr.org>
To:     "Paul E. McKenney" <paulmck@...nel.org>,
        linux-kernel@...r.kernel.org
Subject: Re: call_rcu data race patch

On 17 Sep 21:00, Paul E. McKenney wrote:
> That is them!  There are some flags that control their activities:
> 
> o	rcu_data structure's ->nocb_gp_sleep field (rcuog)
> o	rcu_data structure's ->nocb_cb_sleep field (rcuoc)

>From the same kdump:

crash> pd rcu_data:all | grep -E 'nocb_cb_sleep|nocb_gp_sleep|per_cpu'
per_cpu(rcu_data, 0) = $69 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = false, 
per_cpu(rcu_data, 1) = $70 = {
  nocb_gp_sleep = 1 '\001', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 2) = $71 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 3) = $72 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 4) = $73 = {
  nocb_gp_sleep = 1 '\001', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 5) = $74 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 6) = $75 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 7) = $76 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 8) = $77 = {
  nocb_gp_sleep = 1 '\001', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 9) = $78 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 10) = $79 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 11) = $80 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 12) = $81 = {
  nocb_gp_sleep = 1 '\001', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 13) = $82 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 14) = $83 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 15) = $84 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 16) = $85 = {
  nocb_gp_sleep = 1 '\001', 
  nocb_cb_sleep = true, 
per_cpu(rcu_data, 17) = $86 = {
  nocb_gp_sleep = 0 '\000', 
  nocb_cb_sleep = true, 
crash>

-- 
Guillaume Morin <guillaume@...infr.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ