commit | 7687201e37fabf2b7cf2b828f7ca46bf30e2948f | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Thu Sep 09 12:59:17 2021 +0200 |
committer | Peter Zijlstra <peterz@infradead.org> | Wed Sep 15 17:49:15 2021 +0200 |
tree | 983890044173ba2359c708955bd59d69e8be612e | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f [diff] |
locking/rwbase: Properly match set_and_save_state() to restore_state() Noticed while looking at the readers race. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Will Deacon <will@kernel.org> Link: https://lkml.kernel.org/r/20210909110203.828203010@infradead.org