lkml.org 
[lkml]   [2023]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 12/36] sched_ext: Implement BPF extensible scheduler class
On Mon, Nov 13, 2023 at 03:04:24PM -0500, Andrea Righi wrote:
> > +#ifdef CONFIG_SCHED_DEBUG
> > +static const char *scx_ops_enable_state_str[] = {
> > + [SCX_OPS_PREPPING] = "prepping",
> > + [SCX_OPS_ENABLING] = "enabling",
> > + [SCX_OPS_ENABLED] = "enabled",
> > + [SCX_OPS_DISABLING] = "disabling",
> > + [SCX_OPS_DISABLED] = "disabled",
> > +};
>
> We may want to move scx_ops_enable_state_str[] outside of
> CONFIG_SCHED_DEBUG, because we're using it later in print_scx_info()
> ("sched_ext: Print sched_ext info when dumping stack"), or we make
> print_scx_info() dependent of CONFIG_SCHED_DEBUG.

Yeah, Changwoo noticed the same problem. Will fix and post an updated patch.

Thanks.

--
tejun

\
 
 \ /
  Last update: 2023-11-20 13:59    [W:0.157 / U:20.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site