core.c (d2fc88a61b4ea99f574bde16e92718e22f312136) core.c (c3bc8fd637a9623f5c507bd18f9677effbddf584)
1/*
2 * kernel/sched/core.c
3 *
4 * Core kernel scheduler code and related syscalls
5 *
6 * Copyright (C) 1991-2002 Linus Torvalds
7 */
8#include "sched.h"

--- 3175 unchanged lines hidden (view full) ---

3184}
3185
3186#else /* !CONFIG_NO_HZ_FULL */
3187static inline void sched_tick_start(int cpu) { }
3188static inline void sched_tick_stop(int cpu) { }
3189#endif
3190
3191#if defined(CONFIG_PREEMPT) && (defined(CONFIG_DEBUG_PREEMPT) || \
1/*
2 * kernel/sched/core.c
3 *
4 * Core kernel scheduler code and related syscalls
5 *
6 * Copyright (C) 1991-2002 Linus Torvalds
7 */
8#include "sched.h"

--- 3175 unchanged lines hidden (view full) ---

3184}
3185
3186#else /* !CONFIG_NO_HZ_FULL */
3187static inline void sched_tick_start(int cpu) { }
3188static inline void sched_tick_stop(int cpu) { }
3189#endif
3190
3191#if defined(CONFIG_PREEMPT) && (defined(CONFIG_DEBUG_PREEMPT) || \
3192 defined(CONFIG_PREEMPT_TRACER))
3192 defined(CONFIG_TRACE_PREEMPT_TOGGLE))
3193/*
3194 * If the value passed in is equal to the current preempt count
3195 * then we just disabled preemption. Start timing the latency.
3196 */
3197static inline void preempt_latency_start(int val)
3198{
3199 if (preempt_count() == val) {
3200 unsigned long ip = get_lock_parent_ip();

--- 3889 unchanged lines hidden ---
3193/*
3194 * If the value passed in is equal to the current preempt count
3195 * then we just disabled preemption. Start timing the latency.
3196 */
3197static inline void preempt_latency_start(int val)
3198{
3199 if (preempt_count() == val) {
3200 unsigned long ip = get_lock_parent_ip();

--- 3889 unchanged lines hidden ---