函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-27 06:38:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cpumask_next_and

函数原型:static inline unsigned int cpumask_next_and(int n, const struct cpumask *srcp, const struct cpumask *andp)

返回类型:unsigned int

参数:

类型参数名称
intn
const struct cpumask *srcp
const struct cpumask *andp
175  返回:n加1
调用者
名称描述
wq_select_unbound_cpuWhen queueing an unbound work item to a wq, prefer local CPU if allowed* by wq_unbound_cpumask. Otherwise, round robin among the allowed ones to* avoid perturbing sensitive tasks.
blk_mq_hctx_next_cpuIt'd be great if the workqueue API had a way to pass* in a mask and had some smarts for more clever placement.* For now we just round-robin here, switching for every* BLK_MQ_CPU_WORK_BATCH queued items.