Re: [PATCH-next] sched/headers: Clean up <linux/sched.h>
From: Juri Lelli
Date: Fri Feb 16 2018 - 04:44:41 EST
On 15/02/18 17:52, Peter Zijlstra wrote:
> On Thu, Feb 15, 2018 at 10:43:18AM -0500, Christopher Diaz Riveros wrote:
[...]
> > @@ -437,20 +437,28 @@ struct sched_dl_entity {
> > * during sched_setattr(), they will remain the same until
> > * the next sched_setattr().
> > */
> > - u64 dl_runtime; /* Maximum runtime for each instance */
> > - u64 dl_deadline; /* Relative deadline of each instance */
> > - u64 dl_period; /* Separation of two instances (period) */
> > - u64 dl_bw; /* dl_runtime / dl_period */
> > - u64 dl_density; /* dl_runtime / dl_deadline */
> > + /* Maximum runtime for each instance */
> > + u64 dl_runtime;
> > + /* Relative deadline of each instance */
> > + u64 dl_deadline;
> > + /* Separation of two instances (period) */
> > + u64 dl_period;
> > + /* dl_runtime / dl_period */
> > + u64 dl_bw;
> > + /* dl_runtime / dl_deadline */
> > + u64 dl_density;
>
> That's a whole lot less readable :/
Yep. :(