]> git.baikalelectronics.ru Git - kernel.git/commit
printk: get caller_id/timestamp after migration disable
authorJohn Ogness <john.ogness@linutronix.de>
Thu, 21 Apr 2022 21:22:41 +0000 (23:28 +0206)
committerPetr Mladek <pmladek@suse.com>
Fri, 22 Apr 2022 19:30:57 +0000 (21:30 +0200)
commita6f44dd08c130e834f297332a95b63fc346c206f
treeedadcccad1fff272390ad9d4db0abf34db3793ad
parent059ea22402dd55add50ec0f517e87895e4ffd033
printk: get caller_id/timestamp after migration disable

Currently the local CPU timestamp and caller_id for the record are
collected while migration is enabled. Since this information is
CPU-specific, it should be collected with migration disabled.

Migration is disabled immediately after collecting this information
anyway, so just move the information collection to after the
migration disabling.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220421212250.565456-7-john.ogness@linutronix.de
kernel/printk/printk.c