Re: [PATCH] kgdb: Fix to kill breakpoints on initmem after boot

From: Andrew Morton
Date: Wed Feb 24 2021 - 13:21:55 EST


On Wed, 24 Feb 2021 10:09:25 -0800 Doug Anderson <dianders@xxxxxxxxxxxx> wrote:

> On Wed, Feb 24, 2021 at 12:17 AM Sumit Garg <sumit.garg@xxxxxxxxxx> wrote:
> >
> > Currently breakpoints in kernel .init.text section are not handled
> > correctly while allowing to remove them even after corresponding pages
> > have been freed.
> >
> > Fix it via killing .init.text section breakpoints just prior to initmem
> > pages being freed.
>
> It might be worth it to mention that HW breakpoints aren't handled by
> this patch but it's probably not such a big deal.

I added that to the changelog, thanks.

I'll take your response to be the coveted acked-by :)