Messages in this thread | | | Date | Wed, 19 Oct 2022 22:10:44 -0700 | From | Kees Cook <> | Subject | Re: [PATCH 1/5] seccomp: don't use semaphore and wait_queue together |
| |
On October 19, 2022 6:10:44 PM PDT, Andrei Vagin <avagin@gmail.com> wrote: >Here is no reason to use two different primitives that do similar things. > >Signed-off-by: Andrei Vagin <avagin@gmail.com> >--- > kernel/seccomp.c | 41 ++++++++++++++++++++++++++++++++++++----- > 1 file changed, 36 insertions(+), 5 deletions(-)
The commit log does not justify adding 29 lines to "do similar things". :) Can you describe the rationale and benefits here a bit more? I assume this to use the the future new wake_up helper?
-- Kees Cook
| |