Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Git Log


Commit Date  
[858757] by Cyril Hrubis Cyril Hrubis

kernel/firmware: Make use of modules.mk

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-10-02 10:36:28 Tree
[427cbb] by Alexey Kodanev Alexey Kodanev , pushed by Cyril Hrubis Cyril Hrubis

device-drivers: block: enable build and run

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

2013-10-02 10:29:08 Tree
[4970a2] by Alexey Kodanev Alexey Kodanev , pushed by Cyril Hrubis Cyril Hrubis

device-drivers: block: fixes

Fixed test-cases behavior: major number greater than 255 is valid,
empty device name is valid.
Added test-cases results and sysfs files.
Added user-space program which checks each test-case result.
Added command line parameter 'a': run all test-cases.

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

2013-10-02 10:28:53 Tree
[e04703] by Alexey Kodanev Alexey Kodanev , pushed by Cyril Hrubis Cyril Hrubis

device-drivers: block: rename test files and remove run.sh

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

2013-10-02 10:28:26 Tree
[971bcd] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

cpuset/cpuset_load_balance_test: fixes

Fixed lack of '#include "config.h"', perform some cleanup
and set nr_cpus, nr_mems based on environment.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 15:37:53 Tree
[8ddc6c] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

cpuset_memory_spread_test: number of nodes and sync

For unification number of nodes is set based on environment.

OS caches were not reliably dropped after execution of 'dd'
on DATAFILE. And since 'dd' was executed in root cpuset the
caches were spread among all available memory nodes. Because on
consecutive reading of DATAFILE in cpuset_mem_hog didn't increase
memory consumption. This situation caused random failures of
the testcase.

In accordance to Documentation/sysctl/vm.txt to reliably drop caches
we should invoke 'sync' before 'echo N > /proc/sys/vm/drop_caches'.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 15:37:52 Tree
[b5077c] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

cpuset/cpuset_memory_test: fixes

cpuset_memory_test.c:
* lack of "config.h"
* incorrect use of HAVE_LINUX_MEMPOLICY macro
* modification to make use of sigwaitinfo
* some cleanup

cpuset_memory_testset.sh:
* number of cpu and memory nodes are set based on environment
* we send second SIGUSR1 signal to make the child free its resources
* setting nr_hugepages to a value of 2 is not sufficient. Because there
is no guarantee that these hugepages will be allocated on the specified
node
* cleanup and several typos are fixed

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 15:37:52 Tree
[aeafd8] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

cpuset/cpuset_lib: cpuinfo.c compiled incorrectly

Because of lack of '#include "config.h"' cpuinfo.c file
was compiled incorrectly (i.e. final lib libcpu_set.a didn't contain
the functions/variables from cpuinfo.c)

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 15:37:51 Tree
[87156a] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

cpuset/cpuset_syscall_test: fixes

cpuset_syscall_test.c:
I suppose that now there is no need in many '#if' and explicit
definition of functions get_mempolicy, set_mempolicy, mbind.
Including numa.h and numaif.h (as we do in the other testcases)
should be sufficient.

cpuset_syscall_testset.sh:
Since linux kernel 3.8.0 (commit 5606e3877ad8baea42f3a71ebde0a03622bbb551
"mm: numa: Migrate on reference policy") default task memory policy and
its output in /proc/<pid>/numa_maps changed.

For example in 3.7.10 for stack vma /proc/<pid>/numa_maps show:
7fff81e01000 default stack anon=3 dirty=3 N3=3
but in 3.8.0:
7fff08950000 prefer:3 stack anon=5 dirty=5 N2=4 N3=1

So modified a check in test 10 and removed unnessesary checks for "default"
memory policy from tests 14, 15, 16.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 15:37:50 Tree
[08f878] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

cpuset/cpuset_base_ops_test: fix expected error

At least since kernel 3.0.0 writing '0-' to
$CPUSET/N/{cpus, mems} files doesn't raise an error.
Reading content of these files after writing gives '0'.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 15:37:49 Tree
[27f2cc] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

controllers/cpuset: removed bash sweetnesses

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 15:37:48 Tree
[8b458d] by Cyril Hrubis Cyril Hrubis

ltpapicmd.c: Fix the printf() format warnings.

* Fixes printf format warnings

* Remove useless allocations and strcpy()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-10-01 14:23:34 Tree
[2b515b] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

ltpapicmd.c: split main into separate functions

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 14:04:22 Tree
[f2f464] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

tools: added tst_kvercmp2 binary

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-10-01 14:04:22 Tree
[f3b989] by Cyril Hrubis Cyril Hrubis

doc: Add documentation for module.mk

The example Makefile is taken from commit message from the previous
commit by Alexey Kodanev.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-10-01 13:37:02 Tree
[e05a5d] by Alexey Kodanev Alexey Kodanev , pushed by Cyril Hrubis Cyril Hrubis

mk/module.mk: add Makefile to build kernel modules

Makefile example:

ifneq ($(KERNELRELEASE),)

obj-m := module01.o

else

top_srcdir ?= ../../../..
include $(top_srcdir)/include/mk/testcases.mk

REQ_VERSION_MAJOR := 2
REQ_VERSION_PATCH := 6
MAKE_TARGETS := test01 test02 module01.ko

include $(top_srcdir)/include/mk/module.mk
include $(top_srcdir)/include/mk/generic_leaf_target.mk

endif

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

2013-10-01 13:15:49 Tree
[7f5bfb] by MaShimiao MaShimiao , pushed by Cyril Hrubis Cyril Hrubis

setuid/setuid04.c: Fix a double cleanup() error

The cleanup() may be called twice by both the parent and child process
in this testcase leading to a failure.

This patch makes sure cleanup() is called only once by parent process.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

2013-09-26 11:07:50 Tree
[5cdeb8] by Cyril Hrubis Cyril Hrubis

syscalls: syslog: Fix daemon restart on SUSE.

Some distributions (at least SUSE) names the service 'syslog' even if
the syslog binary is named syslog-ng or rsyslog.

This patch adds codepath that tries restart "syslog" service if previous
attempt has failed.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-09-17 14:32:37 Tree
[15f730] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

syscalls/getgroups: use TCID_DEFINE

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-09-17 11:14:43 Tree
[0e7a99] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

setfsgid, setfsuid: clean up and 16-bit version fixes

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-09-16 15:15:37 Tree
[3a7395] by Vinson Lee Vinson Lee , pushed by Jan Stancek Jan Stancek

setgid03.c: fix build

This patch fixes build errors introduced with commit
7dc42c97696f135e1fef92e612ecc66bf8d74318.

setgid03.c:36:23: error: static declaration of ‘getpwnam’ follows non-static declaration
In file included from setgid03.c:24:0:
/usr/include/pwd.h:117:23: note: previous declaration of ‘getpwnam’ was here
setgid03.c:39:1: error: duplicate ‘static’
setgid03.c:40:1: error: duplicate ‘static’

Signed-off-by: Vinson Lee <vlee@twitter.com>
Signed-off-by: Zhouping Liu <zliu@redhat.com>
Signed-off-by: Jan Stancek <jstancek@redhat.com>

2013-09-13 11:18:19 Tree
[565f46] by Cyril Hrubis Cyril Hrubis

device-drivers/rtc: Fix .gitignore

I forget to fix it when the test was renamed.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-09-12 13:39:10 Tree
[61e3e0] by Cyril Hrubis Cyril Hrubis

syscalls: get{egid, euid} Cleanup.

Remove useless comments, decleare local vars static, etc.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-09-12 13:37:49 Tree
[4940d0] by Stanislav Kholmanskikh Stanislav Kholmanskikh , pushed by Cyril Hrubis Cyril Hrubis

getegid, geteuid: fixed 16-bit versions

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>

2013-09-12 13:07:01 Tree
[387534] by Cyril Hrubis Cyril Hrubis

syscalls: setuid04: Make use of tst_{tmpdir,rmdir}

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

2013-09-12 12:58:41 Tree
Older >