From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: =?utf-8?B?562U5aSNOiBQUk9CTEVNOiBjZ3Jv?= =?utf-8?Q?up?= cost too much memory when transfer small files to tmpfs Date: Fri, 24 Jul 2020 13:35:30 +0200 Message-ID: <20200724113530.GH4061@dhcp22.suse.cz> References: <2E04DD7753BE0E4ABABF0B664610AD6F2620CAF7@dggeml528-mbx.china.huawei.com> <20200724075508.GF4061@dhcp22.suse.cz> <2E04DD7753BE0E4ABABF0B664610AD6F2620D4F6@dggeml528-mbx.china.huawei.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <2E04DD7753BE0E4ABABF0B664610AD6F2620D4F6-vMFu1QFWtjo1LvNSbZiozgK1hpo4iccwjNknBlVQO8k@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: jingrui Cc: "tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , Lizefan , "hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org" , "vdavydov.dev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org" , "linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org" , "cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , caihaomin , "Weiwei (N)" On Fri 24-07-20 09:35:26, jingrui wrote: > > On Friday, July 24, 2020 3:55 PM, Michal Hocko wrote: > > > What is the reason to run under !root cgroup in those sessions if you do not care about accounting anyway? > > The systemd not support run those sessions under root cgroup, disable > pam-systemd will not create session/cgroup, but this is not safe and make > systemd-logind not work. Could you be more specific please? -- Michal Hocko SUSE Labs