Re: [PATCH 6/7] psi: pressure stall information for CPU, memory, and IO

From: Johannes Weiner
Date: Tue May 08 2018 - 10:04:03 EST


On Tue, May 08, 2018 at 11:04:09AM +0800, kbuild test robot wrote:
> 118 #else /* CONFIG_PSI */
> 119 static inline void psi_enqueue(struct task_struct *p, u64 now)
> 120 {
> 121 }
> 122 static inline void psi_dequeue(struct task_struct *p, u64 now)
> 123 {
> 124 }
> 125 static inline void psi_ttwu_dequeue(struct task_struct *p) {}
> > 126 {
> 127 }

Stupid last-minute cleanup reshuffling. v2 will have:

diff --git a/kernel/sched/stats.h b/kernel/sched/stats.h
index cb4a68bcf37a..ff6256b3d216 100644
--- a/kernel/sched/stats.h
+++ b/kernel/sched/stats.h
@@ -122,7 +122,7 @@ static inline void psi_enqueue(struct task_struct *p, u64 now)
static inline void psi_dequeue(struct task_struct *p, u64 now)
{
}
-static inline void psi_ttwu_dequeue(struct task_struct *p) {}
+static inline void psi_ttwu_dequeue(struct task_struct *p)
{
}
#endif /* CONFIG_PSI */