[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=W9MUKYMusgUbq9RW8Hm9b+TtEMyrj6jfHrpe9twy5tvA@mail.gmail.com>
Date: Wed, 10 Feb 2021 07:57:12 -0800
From: Doug Anderson <dianders@...omium.org>
To: Daniel Thompson <daniel.thompson@...aro.org>
Cc: Jason Wessel <jason.wessel@...driver.com>,
Davidlohr Bueso <dave@...olabs.net>,
Emil Renner Berthing <kernel@...il.dk>,
kgdb-bugreport@...s.sourceforge.net,
LKML <linux-kernel@...r.kernel.org>,
Patch Tracking <patches@...aro.org>
Subject: Re: [PATCH] kgdb: Remove kgdb_schedule_breakpoint()
Hi,
On Wed, Feb 10, 2021 at 6:25 AM Daniel Thompson
<daniel.thompson@...aro.org> wrote:
>
> To the very best of my knowledge there has never been any in-tree
> code that calls this function. It exists largely to support an
> out-of-tree driver that provides kgdb-over-ethernet using the
> netpoll API.
>
> kgdboe has been out-of-tree for more than 10 years and I don't
> recall any serious attempt to upstream it at any point in the last
> five. At this stage it looks better to stop carrying this code in
> the kernel and integrate the code into the out-of-tree driver
> instead.
>
> The long term trajectory for the kernel looks likely to include
> effort to remove or reduce the use of tasklets (something that has
> also been true for the last 10 years). Thus the main real reason
> for this patch is to make explicit that the in-tree kgdb features
> do not require tasklets.
>
> Signed-off-by: Daniel Thompson <daniel.thompson@...aro.org>
> ---
>
> Notes:
> During this cycle two developers have proposed tidying up the
> DECLARE_TASKLET_OLD() in the debug core. Both threads ended with a
> suggestion to remove kgdb_schedule_breakpoint() but I don't recall
> seeing a follow up patch for either thread... so I wrote it myself.
>
> include/linux/kgdb.h | 1 -
> kernel/debug/debug_core.c | 26 --------------------------
> 2 files changed, 27 deletions(-)
Reviewed-by: Douglas Anderson <dianders@...omium.org>
Powered by blists - more mailing lists