On 22/10/2025 05:20, tanze wrote:
> Change array_size() to vmalloc_array(), Due to vmalloc_array() is optimized better,
> uses fewer instructions, and handles overflow more concisely
>
> v1->v2: Update patch #02 #03 due to typos CI robot detected some issues
>
> v1:https://lore.kernel.org/all/20251021143122.268730-1-tanze@kylinos.cn/
>
> tanze (3):
> media: dvb-core: Optimize the code using vmalloc_array
> media: vivid: Optimize the code using vmalloc_array
> media: pt1: Optimize the code using vmalloc_array
FYI: all three patches are duplicates of:
https://lore.kernel.org/linux-media/20250812035310.497233-1-rongqianfeng@vivo.com/
which has already been merged.
So I'm skipping these patches.
Regards,
Hans
>
> drivers/media/dvb-core/dmxdev.c | 4 ++--
> drivers/media/dvb-core/dvb_demux.c | 9 +++++----
> drivers/media/pci/pt1/pt1.c | 2 +-
> drivers/media/test-drivers/vivid/vivid-core.c | 2 +-
> 4 files changed, 9 insertions(+), 8 deletions(-)
>