[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251021143122.268730-1-tanze@kylinos.cn>
Date: Tue, 21 Oct 2025 22:31:19 +0800
From: tanze <tanze@...inos.cn>
To: mchehab@...nel.org,
mingo@...nel.org,
hverkuil@...nel.org,
tskd08@...il.com
Cc: linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org,
tanze <tanze@...inos.cn>
Subject: [PATCH 0/3] media: Optimize the code using vmalloc_array
Change array_size() to vmalloc_array(), Due to vmalloc_array() is optimized better,
uses fewer instructions, and handles overflow more concisely
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
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(-)
--
2.25.1
Powered by blists - more mailing lists