[PATCH 0/2] bpf/umd possible deadcode

linux@treblig.org posted 2 patches 1 year, 2 months ago
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
[PATCH 0/2] bpf/umd possible deadcode
Posted by linux@treblig.org 1 year, 2 months ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>


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.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

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
Re: [PATCH 0/2] bpf/umd possible deadcode
Posted by Dr. David Alan Gilbert 1 year ago
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 
> 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@treblig.org>
> 
> 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   |_______/