Re: new warning on sysrq kernel crash trigger

From: Rik van Riel
Date: Mon Dec 14 2015 - 12:07:27 EST


On 12/14/2015 11:24 AM, Ani Sinha wrote:
> Rik, any comments?

Another good option is to simply ignore this warning, or drop
the rcu_read_lock before doing the alt-syrsq-c action.

After all, alt-sysrq-c is "crash the system, take a crash dump",
which is not an action the system ever returns from.

static struct sysrq_key_op sysrq_crash_op = {
.handler = sysrq_handle_crash,
.help_msg = "crash(c)",
.action_msg = "Trigger a crash",
.enable_mask = SYSRQ_ENABLE_DUMP,
};

--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/