Subject: Re: [PATCH v0 3/5] cgroup: Protect access to task_cls_classid() when built as module

From: Daniel Wagner <[email-masked]>
Date: Fri, 17 Aug 2012 09:55:27 +0200

On 17.08.2012 09:35, Li Zefan wrote:
>> +#if IS_ENABLED(CONFIG_NET_CLS_CGROUP)
>> +extern struct static_key cgroup_cls_enabled;
>> +#define clscg_enabled static_key_false(&cgroup_cls_enabled)
>> +#endif
>> +
> 
> If it's built-in, clscg_enabled is always true (after we call cgroup_subsys_init at
> boot), so we don't need jump label at all.

Okay. I'll update the patches so that only the module built contain the
jump labels.

daniel