Thread (19 messages) 19 messages, 6 authors, 2021-03-24

Re: [Patch v3 1/2] cgroup: sev: Add misc cgroup controller

From: Vipin Sharma <hidden>
Date: 2021-03-24 22:10:48
Also in: kvm, linux-doc, lkml

On Wed, Mar 24, 2021 at 09:17:01AM -0700, Jacob Pan wrote:
I didn't mean the users of misc_cgroup will use css directly. I meant if I
want to use misc cgruop in ioasid.c, I have to do the following to avoid
undefined css:
#include <linux/cgroup.h>
#include <linux/misc_cgroup.h>

So it might be simpler if you do #include <linux/cgroup.h> inside
misc_cgroup.h. Then in ioasid.c, I only need to do
#include <linux/misc_cgroup.h>.
Sorry, I misunderstood the comment first time. I agree with you, I will
add cgroup header file in the misc_cgroup.h after  #ifdef
CONFIG_CGROUP_MISC statement.

Thanks
Vipin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help