summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarco Crivellari <marco.crivellari@suse.com>2025-11-06 17:33:41 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2025-11-10 16:18:48 +0530
commit47c303ba6e8090f5941cc264bf207ccbda13586c (patch)
treec6dda84ea815f26443c69e2a8b085e0c2773019a /tools/perf/scripts/python
parent58f5d39d5ed8f2e43f230389ea0d59791afdcd55 (diff)
downloadkernel-47c303ba6e8090f5941cc264bf207ccbda13586c.tar.gz
cpufreq: tegra194: add WQ_PERCPU to alloc_workqueue users
Currently if a user enqueues a work item using schedule_delayed_work() the used wq is "system_wq" (per-cpu wq) while queue_delayed_work() use WORK_CPU_UNBOUND (used when a cpu is not specified). The same applies to schedule_work() that is using system_wq and queue_work(), that makes use again of WORK_CPU_UNBOUND. This lack of consistency cannot be addressed without refactoring the API. alloc_workqueue() treats all queues as per-CPU by default, while unbound workqueues must opt-in via WQ_UNBOUND. This default is suboptimal: most workloads benefit from unbound queues, allowing the scheduler to place worker threads where they’re needed and reducing noise when CPUs are isolated. This continues the effort to refactor workqueue APIs, which began with the introduction of new workqueues and a new alloc_workqueue flag in: commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq") commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag") This change adds a new WQ_PERCPU flag to explicitly request alloc_workqueue() to be per-cpu when WQ_UNBOUND has not been specified. With the introduction of the WQ_PERCPU flag (equivalent to !WQ_UNBOUND), any alloc_workqueue() caller that doesn’t explicitly specify WQ_UNBOUND must now use WQ_PERCPU. Once migration is complete, WQ_UNBOUND can be removed and unbound will become the implicit default. Suggested-by: Tejun Heo <tj@kernel.org> Signed-off-by: Marco Crivellari <marco.crivellari@suse.com> [ Viresh: Fixed Subject ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
d=4416df03ddf28566bb7c0169d9bd1e696d567899'>media: Replace file->private_data access with custom functionsLaurent Pinchart 2025-08-13media: Replace file->private_data access with file_to_v4l2_fh()Laurent Pinchart 2025-08-13media: Wrap file->private_data access with a helper functionLaurent Pinchart 2025-08-13media: ti: vpe: Store v4l2_fh pointer in file->private_dataLaurent Pinchart 2025-07-10media: ti: j721e-csi2rx: fix list_del corruptionJulien Massot 2025-07-10media: ti: j721e-csi2rx: Allow passing cache hints from user-spaceDevarsh Thakkar 2025-06-17media: platform: ti: Remove unused vpdma_update_dma_addrDr. David Alan Gilbert 2025-05-09media: omap3isp: use sgtable-based scatterlist wrappersMarek Szyprowski 2025-04-30media: platform: use (t,l)/wxh format for rectangleHans Verkuil 2025-04-30media: omap3isp: drop wait_prepare/finish callbacksHans Verkuil 2025-04-25media: davinci: vpif: Fix memory leak in probe error pathDmitry Nikiforov 2025-04-25media: ti: cal: Add streams supportTomi Valkeinen 2025-04-25media: ti: cal: Fix wrong goto on error pathTomi Valkeinen 2025-04-25media: ti: cal: Use printk's fourcc formattingTomi Valkeinen 2025-03-05media: platform: ti: Remove unused omap3isp_print_statusDr. David Alan Gilbert 2025-03-04media: omap3isp: Use syscon_regmap_lookup_by_phandle_argsKrzysztof Kozlowski 2025-03-04media: omap3isp: Handle ARM dma_iommu_mappingRobin Murphy 2025-02-15media: v4l: Convert the users of v4l2_get_link_freq to call it on a padSakari Ailus 2024-10-28media: platform: drop vb2_ops_wait_prepare/finishHans Verkuil 2024-10-16media: ti: j721e-csi2rx: Convert comma to semicolonChen Ni 2024-10-12media: platform: ti: omap: fix a typoAndrew Kreimer 2024-10-12media: Switch back to struct platform_driver::remove()Uwe Kleine-König 2024-10-12media: omap3isp: add missing wait_prepare/finish opsHans Verkuil 2024-09-23Merge tag 'media/v6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds 2024-09-04ARM: 9417/1: dma-mapping: Pass device to arm_iommu_create_mapping()Jason Gunthorpe 2024-08-09media: ti: cal: use 'time_left' variable with wait_event_timeout()Wolfram Sang 2024-08-09media: platform: ti: use for_each_endpoint_of_node()Kuninori Morimoto 2024-08-09media: ti: cal: Constify struct media_entity_operationsChristophe JAILLET 2024-06-29media: ti: add missing MODULE_DESCRIPTION() macrosJeff Johnson