)]}' { "commit": "3f6c3d29df58f391cf487b50a24ebd24045ba569", "tree": "4c563b754020aa226a98dead459291358ce52609", "parents": [ "31d8aaa87fcef1be5932f3813ea369e21bd3b11d" ], "author": { "name": "Paul E. McKenney", "email": "paulmck@kernel.org", "time": "Thu Dec 15 09:26:09 2022 -0800" }, "committer": { "name": "Paul E. McKenney", "email": "paulmck@kernel.org", "time": "Sat Dec 17 16:12:20 2022 -0800" }, "message": "rcu: Don\u0027t assert interrupts enabled too early in boot\n\nThe rcu_poll_gp_seq_end() and rcu_poll_gp_seq_end_unlocked() both check\nthat interrupts are enabled, as they normally should be when waiting for\nan RCU grace period. Except that it is legal to wait for grace periods\nduring early boot, before interrupts have been enabled for the first time,\nand polling for grace periods is required to work during this time.\nThis can result in false-positive lockdep splats in the presence of\nboot-time-initiated tracing.\n\nThis commit therefore conditions those interrupts-enabled checks on\nrcu_scheduler_active having advanced past RCU_SCHEDULER_INACTIVE, by\nwhich time interrupts have been enabled.\n\nReported-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\nSigned-off-by: Paul E. McKenney \u003cpaulmck@kernel.org\u003e\nTested-by: Steven Rostedt (Google) \u003crostedt@goodmis.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "93416afebd59c7a34ad134136817e8eeceaed4a4", "old_mode": 33188, "old_path": "kernel/rcu/tree.c", "new_id": "83c6baafd517f9a2d89e0fb28e3138aca2bbec8b", "new_mode": 33188, "new_path": "kernel/rcu/tree.c" } ] }