Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-28 15:30:56
Last Modify:2020-03-17 22:28:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Wrapper for mpol_rebind_policy() that just requires task* pointer, and updates task mempolicy.* Called with task's alloc_lock held.

Proto:void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
const nodemask_t *new
369  mpol_rebind_policy - Migrate a policy to a different set of nodes* Per-vma policies are protected by mmap_sem. Allocations using per-task* policies are protected by task->mems_allowed_seq to prevent a premature