Re: [PATCH v7 2/4] uprobe: use original page when all uprobes are removed

From: Srikar Dronamraju
Date: Wed Jun 26 2019 - 02:00:27 EST


* Song Liu <songliubraving@xxxxxx> [2019-06-25 16:53:23]:

> Currently, uprobe swaps the target page with a anonymous page in both
> install_breakpoint() and remove_breakpoint(). When all uprobes on a page
> are removed, the given mm is still using an anonymous page (not the
> original page).
>
> This patch allows uprobe to use original page when possible (all uprobes
> on the page are already removed).
>
> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> Signed-off-by: Song Liu <songliubraving@xxxxxx>
>
Looks good to me.

Reviewed-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

--
Thanks and Regards
Srikar Dronamraju