函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:kernel\cgroup\cpuset.c Create Date:2022-07-27 12:20:03
首页 Copyright©Brick

3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
/*
 * Keep top_cpuset.mems_allowed tracking node_states[N_MEMORY].
 * Call this routine anytime after node_states[N_MEMORY] changes.
 * See cpuset_update_active_cpus() for CPU hotplug handling.
 */
static int cpuset_track_online_nodes(struct notifier_block *self,
                unsigned long action, void *arg)
{
    schedule_work(&cpuset_hotplug_work);
    return NOTIFY_OK;
}