Re: [PATCH 0/2] bpf/umd possible deadcode

From: Dr. David Alan Gilbert
Date: Mon Jan 27 2025 - 08:57:20 EST


* linux@xxxxxxxxxxx (linux@xxxxxxxxxxx) wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
>
> Hi,
> I'm not 100% sure about these, since I'm not quite
> sure how to test it properly.
>
> As far as I can tell the UMD isn't needed by bpf itself
> any more; so I've got one patch that just removes that select.
> But then that leaves no users of umd itself; and I split that
> separately since I saw there was still some discussion this year
> on other uses.

Hi,
Does anyone have any views on this pair?

Thanks,

Dave

> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
>
> Dave
>
> Dr. David Alan Gilbert (2):
> bpf: Don't select USERMODE_DRIVER
> umd: Remove
>
> include/linux/usermode_driver.h | 19 ----
> kernel/Makefile | 1 -
> kernel/bpf/preload/Kconfig | 5 -
> kernel/usermode_driver.c | 191 --------------------------------
> 4 files changed, 216 deletions(-)
> delete mode 100644 include/linux/usermode_driver.h
> delete mode 100644 kernel/usermode_driver.c
>
> --
> 2.47.0
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/