Linux Test Project
 help / color / mirror / Atom feed
From: Basavaraju <basava@linux.vnet.ibm.com>
To: ltp@lists.linux.it
Subject: [LTP]  [PATCH] cpuset: change default cpuset mount value
Date: Thu, 07 Apr 2016 15:06:03 +0530	[thread overview]
Message-ID: <57062A03.70705@linux.vnet.ibm.com> (raw)

Hi,

Earlier cpuset is mounted under /dev/cpuset by default. This behaviour is changed in RHEL7.1 and RHEL7.2 Distributions

by default, Now its mounting under /sys/fs/cgroup/cpuset.


[root@localhost ~]# mount | grep cpuset
cgroup on /sys/fs/cgroup/cpuset type cgroup 
(rw,nosuid,nodev,noexec,relatime,cpuset)
[root@localhost ~]#

Signed-off-by: Basavaraju.G<basava@linux.vnet.ibm.com>
Tested-by: Basavaraju.G<basava@linux.vnet.ibm.com>


diff --git a/testcases/kernel/controllers/cpuset/cpuset_funcs.sh 
b/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
index cd7000e..4c5a17b 100755
--- a/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
+++ b/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
@@ -35,7 +35,7 @@ fi
  N_NODES=${N_NODES#*-*}
  N_NODES=$(($N_NODES + 1))

-CPUSET="/dev/cpuset"
+CPUSET="/sys/fs/cgroup/cpuset"
  CPUSET_TMP="/tmp/cpuset_tmp"

  HOTPLUG_CPU="1"


Best Regards,
Basavaraju.G


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160407/c3291688/attachment.html>

             reply	other threads:[~2016-04-07  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07  9:36 Basavaraju [this message]
2016-04-07 15:31 ` [LTP] [PATCH] cpuset: change default cpuset mount value Cyril Hrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57062A03.70705@linux.vnet.ibm.com \
    --to=basava@linux.vnet.ibm.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox