Commit d792db6
printk: console_unblank: use srcu console list iterator
Use srcu console list iteration for console list traversal.
Document why the console_lock is still necessary. Note that this
is a preparatory change for when console_lock no longer provides
synchronization for the console list.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20221116162152.193147-19-john.ogness@linutronix.de1 parent 12f1da5 commit d792db6
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3000 | 3000 | | |
3001 | 3001 | | |
3002 | 3002 | | |
| 3003 | + | |
3003 | 3004 | | |
3004 | 3005 | | |
3005 | | - | |
3006 | | - | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
3007 | 3011 | | |
3008 | 3012 | | |
3009 | 3013 | | |
| |||
3013 | 3017 | | |
3014 | 3018 | | |
3015 | 3019 | | |
3016 | | - | |
3017 | | - | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
3018 | 3024 | | |
| 3025 | + | |
| 3026 | + | |
| 3027 | + | |
3019 | 3028 | | |
3020 | 3029 | | |
3021 | 3030 | | |
| |||
0 commit comments