Re: [PATCH v2] kernel/entry: Remove some redundancy checks on syscall works
From: Khalid Ali
Date: Sat Jun 21 2025 - 03:11:16 EST
> Same prefix comment as for the other patch.
I will fix on v3 if agree with me this one.
> You also missed the fact that audit_syscall_entry() has yet another
> check for audit context, which means there is still redundancy, right?
There will be a redundancy always. You told me earlier of this patch it is for performance,
however my patch makes consistent by replacing the upper context check to checking work bit.
We can't do anything about audit_syscall_entry() because it is used in multiple places.
Is there a problem if we just replace the upper context check with work bit as i did in this patch.