History log of /external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8fdec6a5db522f3194615668c6a22531d7f72e2f 14-Nov-2016 Cyril Hrubis <chrubis@suse.cz> cpuset: Make use of tst_kvcmp

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
ac6342fcfe9eed5cc73adffa9bfdfd1cb8decc1d 06-Nov-2014 Jan Stancek <jstancek@redhat.com> controllers/cpuset: update to use test.sh

Remove useless returns and ret code checking.

cpuset_memory_spread_testset.sh:
- treat node with not enough memory as TCONF, not failure

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
c793aee5f06b46bdc8171814df71df3c90d47c7d 17-Oct-2013 Cyril Hrubis <chrubis@suse.cz> controllers/cpuset: Fix cleanup.

On some systems (found on SLES10) cpuset mounts aren't listed in the output
from mount (they are not in /etc/mtab at all), so we switch to the /proc/mounts
instead.

Also fix a race in the loop that kills processes that are left in the currently
mounted cpuset. The problem is that if you kill a LTP test, the cleanup is
still executed and the test takes some time to finish which results in EBUSY in
the umount that is executed right after the loop. The fix is to kill the
processes with -9 (SIGKILL) which makes them exit immediately.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
08dcfbb5a4ebad9319c54935a600ab936708c6da 17-Oct-2013 Cyril Hrubis <chrubis@suse.cz> controllers/cpuset: Fix check for root.

The $USER == root check may fail (for example if you did su and the user stayed
set to whatever was there before). Moreover rest of the LTP uses euid == 0 to
check if you have root privileges, so let's stick to it.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
d266efb30fd17c290de5bbdf55afcfbbcce3315a 04-Oct-2013 Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> controllers/cpuset: required number of nodes

Initially these testcases required a host with 4 CPUs
and 3 memory nodes minumum. This prevented to run the
testcases on widely used 2-memory-nodes configuration.

And in fact the testcases only need 2 memory nodes, and
a few needs 4 CPUs.

Modified the checks accordingly. Now "ideal" minumum
configuration of a host is 4 CPUs and 2 memory nodes.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
e44edbaf213f3e3a5499aa123f86e60e633617a1 04-Oct-2013 Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> controllers/cpuset: reorganization

A separate name is assigned to each cpuset shell testcase (which
was invoked earlier by run_cpuset_test.sh).

This will simplify results analysis.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
27f2cc5998cd63a26a3c3d679bd1dec40cf741e7 01-Oct-2013 Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> controllers/cpuset: removed bash sweetnesses

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
58e4d417516cf8265f7c01c930c2b993fe8729ca 18-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> let testcases use the new api commands tst_ncpus/_max

Change the testcases use the new api commands tst_ncpus/_max
to get the CPUS onlined and configured.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh
ef77253961f909f87e82e6d2b620e87af33e9665 09-Oct-2009 yaberauneya <yaberauneya> 1. Please see README.mk-devel for a full description of the changes
from a Make perspective.
2. Several files were changed to accomodate correct installation
practices, most notably ones in testcases/network/{ipv6,tcp_cmds},
testcases/kernel/sched/hyperthreading/ht_enabled/..., and some items
in tools/..., and also to avoid collisions as far as installed
testcases (scripts, compiled C apps) were concerned.
3. Several apps weren't autoconf safe and some autoconf tests and
conditional statements have been placed in sourcecode and in Makefiles
to either a) prevent the tests from being built / installed or b) turn
the tests into dummy apps which print out TCONF messages due to
lack-of-build support.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_funcs.sh