From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: Re: [Suggestion] kernel: cgroup: mount failure in LTP cgroup_regression_test.sh Date: Thu, 21 Nov 2013 10:21:13 +0800 Message-ID: <528D6E19.4080100@gmail.com> References: <527C9D9B.8090802@asianux.com> <20131120173549.GO28946@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+wbF+obd4VnGp8YmWY3T/9B8Uk3cbU7UawaeGTCoI/U=; b=gl4Je5hS3dlD0Y+FPhfuVwmFlvJ8Cg/8m36D4q3s+XreQMNTZxsGDk0aMAex1cPduO UoXl4iViaio+tbFHMRfxd8riJExlf61mllCpdeq1hSARQqk48bjVynPuF8uuY6RXtIad iSMvIrKaoHe0deeAS1S0t698Rd9nxQ/iB00Ia8DmnGigXBDVVmD1TQ8dWNSddA9rtrJA mc4ukTgBHEZlYb5zqQtgj1P51k7o8jNCNP9OE+Z/lhLOtOYYViKWW1C5n6/JERJfv8U/ E5YslZPOU5g3SOy8u9KsSceiSmc66n+0uBDjZ2NKY/CvCyRI6kBKGYFlMjCwdTd0nDeK Mo1g== In-Reply-To: <20131120173549.GO28946-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Chen Gang , containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" On 11/21/2013 01:35 AM, Tejun Heo wrote: > Hello, > > Sorry about the delay. > Oh, No problem, every members time resources are expensive, thank you for your reply. > On Fri, Nov 08, 2013 at 04:15:23PM +0800, Chen Gang wrote: >> After simplify, the related operation, environments and output are: >> >> [root@gchenlinux tmp]# df -Th | grep cgroup >> tmpfs tmpfs 1001M 0 1001M 0% /sys/fs/cgroup >> [root@gchenlinux tmp]# lsof | grep cgroup | grep -v grep >> systemd 1 root 6r DIR 0,18 0 5998 /sys/fs/cgroup/systemd/system >> [root@gchenlinux tmp]# cat /proc/cgroups >> #subsys_name hierarchy num_cgroups enabled >> cpuset 3 4 1 >> cpu 4 35 1 >> cpuacct 4 35 1 >> freezer 5 4 1 >> [root@gchenlinux tmp]# mkdir cgroup >> [root@gchenlinux tmp]# mount -t cgroup -o freezer,cpuacct xxx cgroup/ >> mount: xxx already mounted or cgroup/ busy >> >> Is it real issue of cgroup? If it is, I will/should continue analyzing. > > Hmmm... I'm a bit confused. What is it testing? "cat /proc/cgroup" > is showing that freezer is already mounted and the kernel seems to > have correctly refused to mount it in a different hierarchy. What am > I missing here? > Hmm... I am not quit familiar about it, either, but at least I can contact related LTP members (I guess they can make sure about it). Excuse me, I am changing/finding new job, so I should not use Asianux Corporation mail again. And it seems I can not be focus on upstream kernel as much as before. :-( But at least, I will/should continue providing some contributions (more or less) to Public Open Source as volunteers. And for upstream kernel, I plan to make 1-3 patches per month (mainly for cross compiling). - if can not get companies support, I can not provide enough time resource on upstream kernel (I have to get pay check for family). - New company may mainly focus on open source tool chains (not only kernel), so I will/should also provide some contributions to them (e.g. KVM, GCC ...). At last, sorry again for I have to give up 10 patches per month for upstream kernel. Thanks. -- Chen Gang