Thread (1 message) 1 message, 1 author, 2012-08-17

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

From: Daniel Wagner <hidden>
Date: 2012-08-17 07:55:27
Also in: cgroups

On 17.08.2012 09:35, Li Zefan wrote:
quoted
+#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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help