On Wed, Feb 26, 2025 at 07:28:17PM +0000, Juntong Deng wrote: > This patch declare context-sensitive kfunc groups that can be used by > different SCX operations. > > In SCX, some kfuncs are context-sensitive and can only be used in > specific SCX operations. > > Currently context-sensitive kfuncs can be grouped into UNLOCKED, > CPU_RELEASE, DISPATCH, ENQUEUE, SELECT_CPU. > > In this patch enum scx_ops_kf_flags was added to represent these groups, > which is based on scx_kf_mask. > > SCX_OPS_KF_ANY is a special value that indicates kfuncs can be used in > any context. > > scx_ops_context_flags is used to declare the groups of kfuncs that can > be used by each SCX operation. An SCX operation can use multiple groups > of kfuncs. > Can you merge this into the next patch? I don't think separating this out helps with reviewing. Thanks. -- tejun