Re: [PATCH] staging: axis-fifo: minimize lock duration in write

From: Ethan Tidmore

Date: Sun Mar 01 2026 - 13:39:40 EST


On Sat Feb 28, 2026 at 6:58 PM CST, Josh Law wrote:
> Memory allocation and copy from user space with vmemdup_user() is relatively slow and can sleep. Move it outside the lock to minimize the time the mutex is held, reducing contention for concurrent accesses.
>
> Signed-off-by: Josh Law <objecting@xxxxxxxxxxxxx>
> ---

Hi,

It looks like you've sent a few patches editing the same file with 3?
chained together but the rest just own their own. This is a little
confusing trying to review. Typically you'd make a cover letter and then
chain them all together using git send-email.

Also, keep commit body lines under 75 chars. You should use this script
to catch things like this:

"$ ./scripts/checkpatch.pl --strict <patch>"

Thanks,

ET