Skip to content

KFunc cgroup_rstat_updated

v6.1

Keep track of updated rstat_cpu

Definition

cgrp's rstat_cpu on cpu was updated. Put it on the parent's matching rstat_cpu->updated_children list. See the comment on top of cgroup_rstat_cpu definition for details.

Parameters

cgrp: target cgroup

cpu: cpu on which rstat_cpu was updated

void cgroup_rstat_updated(struct cgroup *cgrp, int cpu)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome