[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180216.154101.1707041533181015167.davem@davemloft.net>
Date: Fri, 16 Feb 2018 15:41:01 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: rahul.lakkireddy@...lsio.com
Cc: netdev@...r.kernel.org, ganeshgr@...lsio.com,
nirranjan@...lsio.com, indranil@...lsio.com
Subject: Re: [PATCH net-next] cxgb4: append firmware dump to vmcore in
kernel panic
From: Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
Date: Thu, 15 Feb 2018 19:24:42 +0530
> Register callback to panic_notifier_list. Invoke dump collect routine
> to append dump to vmcore.
>
> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
> Signed-off-by: Ganesh Goudar <ganeshgr@...lsio.com>
There is absolutely no precedence for a networking driver dumping
things into the vmcore image on a panic.
And I don't think this is a good idea.
Really, this commit message should have explained why this is desired
and in what context it is legitimate for this driver in particular
to do it.
A very detailed, long, complete commit message is especially important
when you are deciding to blaze you own trail and do something no other
networking driver has done before.
I get really upset when I see changes like this, because you give me
no preparation for what I'm about to read in the patch and therefore
I have to go into this routine asking you to explain things properly.
But as-is, I see this panic notifier as a really bad idea.
Thanks.
Powered by blists - more mailing lists