linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: John Ogness <john.ogness@linutronix.de>,
	Petr Mladek <pmladek@suse.com>,
	rcu@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-team@meta.com, rostedt@goodmis.org,
	Frederic Weisbecker <frederic@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	linux-trace-kernel@vger.kernel.org
Subject: Re: [PATCH rcu v2] 4/5] rcu-tasks: Move RCU Tasks self-tests to core_initcall()
Date: Thu, 6 Feb 2025 10:02:49 +0100	[thread overview]
Message-ID: <20250206090249.G7TXOt0y@linutronix.de> (raw)
In-Reply-To: <2a7774e4-a3fc-48d5-97b0-6f74396e7f93@paulmck-laptop>

On 2025-02-05 15:50:14 [-0800], Paul E. McKenney wrote:
> diff --git a/include/linux/printk.h b/include/linux/printk.h
> index 4217a9f412b2..d658d7e81bef 100644
> --- a/include/linux/printk.h
> +++ b/include/linux/printk.h
> @@ -207,6 +207,7 @@ void printk_legacy_allow_panic_sync(void);
>  extern bool nbcon_device_try_acquire(struct console *con);
>  extern void nbcon_device_release(struct console *con);
>  void nbcon_atomic_flush_unsafe(void);
> +bool pr_flush(int timeout_ms, bool reset_on_progress);
> diff --git a/kernel/reboot.c b/kernel/reboot.c
> index a701000bab34..a84828d0757b 100644
> --- a/kernel/reboot.c
> +++ b/kernel/reboot.c
> @@ -704,6 +704,7 @@ void kernel_power_off(void)
>  	migrate_to_reboot_cpu();
>  	syscore_shutdown();
>  	pr_emerg("Power down\n");
> +	pr_flush(1000, 1);

this could be true instead 1 given that the type is bool

>  	kmsg_dump(KMSG_DUMP_SHUTDOWN);
>  	machine_power_off();
>  }

Sebastian

  parent reply	other threads:[~2025-02-06  9:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <43f70961-1884-42bf-b303-1d33665d99d2@paulmck-laptop>
2025-01-30 18:53 ` [PATCH rcu v2] 4/5] rcu-tasks: Move RCU Tasks self-tests to core_initcall() Paul E. McKenney
2025-02-04 10:26   ` Sebastian Andrzej Siewior
2025-02-04 11:51     ` Paul E. McKenney
2025-02-04 16:34       ` Sebastian Andrzej Siewior
2025-02-04 20:20         ` Paul E. McKenney
2025-02-05 14:50           ` Paul E. McKenney
2025-02-05 19:54             ` John Ogness
2025-02-05 20:10               ` Paul E. McKenney
2025-02-05 20:31                 ` Paul E. McKenney
2025-02-05 21:22                   ` John Ogness
2025-02-05 21:55                     ` Paul E. McKenney
2025-02-05 22:20                       ` John Ogness
2025-02-05 22:31                         ` John Ogness
2025-02-05 23:50                           ` Paul E. McKenney
2025-02-06  8:28                             ` John Ogness
2025-02-06  9:58                               ` Paul E. McKenney
2025-02-06  9:02                             ` Sebastian Andrzej Siewior [this message]
2025-02-06  9:59                               ` Paul E. McKenney
2025-02-06 10:18                                 ` Paul E. McKenney
2025-02-06 11:06                             ` Petr Mladek
2025-02-06 16:32                               ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250206090249.G7TXOt0y@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=frederic@kernel.org \
    --cc=john.ogness@linutronix.de \
    --cc=kernel-team@meta.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=paulmck@kernel.org \
    --cc=pmladek@suse.com \
    --cc=rcu@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).