linux/kernel/sched/isolation.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  Housekeeping management. Manage the targets for routine code that can run on
 *  any CPU: unbound workqueues, timers, kthreads and any offloadable work.
 *
 * Copyright (C) 2017 Red Hat, Inc., Frederic Weisbecker
 * Copyright (C) 2017-2018 SUSE, Frederic Weisbecker
 *
 */

enum hk_flags {};

DEFINE_STATIC_KEY_FALSE(housekeeping_overridden);
EXPORT_SYMBOL_GPL();

struct housekeeping {};

static struct housekeeping housekeeping;

bool housekeeping_enabled(enum hk_type type)
{}
EXPORT_SYMBOL_GPL();

int housekeeping_any_cpu(enum hk_type type)
{}
EXPORT_SYMBOL_GPL();

const struct cpumask *housekeeping_cpumask(enum hk_type type)
{}
EXPORT_SYMBOL_GPL();

void housekeeping_affine(struct task_struct *t, enum hk_type type)
{}
EXPORT_SYMBOL_GPL();

bool housekeeping_test_cpu(int cpu, enum hk_type type)
{}
EXPORT_SYMBOL_GPL();

void __init housekeeping_init(void)
{}

static void __init housekeeping_setup_type(enum hk_type type,
					   cpumask_var_t housekeeping_staging)
{}

static int __init housekeeping_setup(char *str, unsigned long flags)
{}

static int __init housekeeping_nohz_full_setup(char *str)
{}
__setup();

static int __init housekeeping_isolcpus_setup(char *str)
{}
__setup();