Re: [RFC 00/19] Kernel API Specification Framework

2025-06-25 Thread Cyril Hrubis
a syscall if one of the input parameters is invalid other than generating and running a C test in userspace. For that part the syscall description does not need to be build into the kernel either, it may be just a build artifact that gets installed with the kernel image. -- Cyril Hrubis chru...@suse.cz

Re: [RFC 00/19] Kernel API Specification Framework

2025-06-24 Thread Cyril Hrubis
ioctl's can be applied to. +1 There are many different kinds of file descriptors and they differ wildy in what operations they support. Maybe we would need a subclass for a file descriptor, something as: fd:file fd:timerfd fd:pidfs ... -- Cyril Hrubis chru...@suse.cz

Re: [RFC 00/19] Kernel API Specification Framework

2025-06-24 Thread Cyril Hrubis
generate a valid syscall parameters into the kernel. Rather than that the information should encoded in the extended types, if we do that well enough we can generate combination of different valid and invalid parameters for the tests based on that. -- Cyril Hrubis chru...@suse.cz

[ANNOUNCE] The Linux Test Project has been released for JANUARY 2021

2021-01-21 Thread Cyril Hrubis
t. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20200930.. 88 Petr Vorel 52 Cyril Hrubis 25 Martin Doucha 19 Yang Xu 18 Viresh Kumar 10 Xiao Yang 8 Alexey Kodanev 8 Amir Goldstein 8 Feiyu Zhu

Re: [PATCH 1/2] syscalls: avoid time() using __cvdso_gettimeofday in use-level's VDSO

2020-11-25 Thread Cyril Hrubis
> For clock REALTIME #1 is anyway an issue, so I think documenting this > proper is the right thing to do. > > Thoughts? I guess that ideally BUGS section for time(2) and clock_gettime(2) should be updated with this explanation. -- Cyril Hrubis chru...@suse.cz

Re: [Y2038][time namespaces] Question regarding CLOCK_REALTIME support plans in Linux time namespaces

2020-11-03 Thread Cyril Hrubis
n with it took me a week to write a first prototype from a scratch. [1] https://github.com/metan-ucw/runltp-ng -- Cyril Hrubis chru...@suse.cz

Re: [Y2038][time namespaces] Question regarding CLOCK_REALTIME support plans in Linux time namespaces

2020-10-30 Thread Cyril Hrubis
what's exactly wrong with moving the system time forward for a duration of the test? -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [PATCH] syscalls/ptrace10: Add new regression test

2020-10-14 Thread Cyril Hrubis
Hi! > > I would like to avoid triggering the "your system may be vunerable" > > messages on fixed kernel, hence the separate test. > > Good point, go ahead with a separate test then. Thanks for the review, pushed. -- Cyril Hrubis chru...@suse.cz

[LTP] [ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2020

2020-09-30 Thread Cyril Hrubis
, new tests, bugs, comments or questions should go to to our mailing list at l...@lists.linux.it. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20200515.. 70 Petr Vorel 66 Viresh Kumar 37 Cyril Hrubis 35 Yang Xu 33 M

Re: [LTP] [PATCH] syscalls/ptrace10: Add new regression test

2020-09-11 Thread Cyril Hrubis
e the separate test. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [PATCH v2] syscall/ptrace08: Simplify the test.

2020-09-10 Thread Cyril Hrubis
g addr; > > AFAICT, we're not compiling with --std=c99 so older compilers may > complain about the variable declaration here. The default std for gcc has been at least gnu90 for ages, which includes subset of c99 features as well including this one. So unless you explicitly pass --std=c90 or older it will work just fine. I've moved the declaration to the top of the function nevertheless. -- Cyril Hrubis chru...@suse.cz

[PATCH] syscalls/ptrace10: Add new regression test

2020-09-04 Thread Cyril Hrubis
New regression test for a kernel commit: commit bd14406b78e6daa1ea3c1673bda1ffc9efdeead0 Author: Jiri Olsa Date: Mon Aug 27 11:12:25 2018 +0200 perf/hw_breakpoint: Modify breakpoint even if the new attr has disabled set Signed-off-by: Cyril Hrubis CC: Andy Lutomirski CC: Peter Zijlstra

Re: [LTP] [PATCH v2] syscall/ptrace08: Simplify the test.

2020-09-04 Thread Cyril Hrubis
perf/hw_breakpoint: Modify breakpoint even if the new attr has disabled set -- Cyril Hrubis chru...@suse.cz

[PATCH v2] syscall/ptrace08: Simplify the test.

2020-09-04 Thread Cyril Hrubis
that enables the breakpoint fails properly after the dr0 has been set to an address in the kernel range. Signed-off-by: Cyril Hrubis CC: Andy Lutomirski CC: Peter Zijlstra CC: Thomas Gleixner CC: Alexandre Chartre --- testcases/kernel/syscalls/ptrace/ptrace08.c | 136 +++- 1

Re: [LTP] [PATCH] syscall/ptrace08: Simplify the test.

2020-09-04 Thread Cyril Hrubis
to the dr7 as it should have been. -- Cyril Hrubis chru...@suse.cz

[PATCH] syscall/ptrace08: Simplify the test.

2020-09-04 Thread Cyril Hrubis
, which made the test fail for no good reason. So this patch changes the test to read the breakpoint address back instead, which also means that we can drop the /proc/kallsyms parsing as well. Signed-off-by: Cyril Hrubis CC: Andy Lutomirski CC: Peter Zijlstra CC: Thomas Gleixner CC: Alexandre

Re: [LTP] [x86/entry] 2bbc68f837: ltp.ptrace08.fail

2020-08-14 Thread Cyril Hrubis
one of the previous emails? I guess that this would end up as a per-architecture mess of ifdefs if we wanted to hardcode it. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [x86/entry] 2bbc68f837: ltp.ptrace08.fail

2020-08-12 Thread Cyril Hrubis
ptrace() set break on a kernel address"); -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [PATCH] selftests: vdso: hash entry size on alpha, s390x is 8 bytes

2020-08-05 Thread Cyril Hrubis
Hi! As much as it's worth the changes looks good to me. @Jan: I guess that we can as well fix this in LTP first then we can try to get the kernel version fixed... -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [blk] 6e6fcbc27e: ltp.fs_fill.fail

2020-07-27 Thread Cyril Hrubis
ded up stuck in kernel and could not be killed. So this looks like deadlock somewhere in filesystem code. -- Cyril Hrubis chru...@suse.cz

Re: strace of io_uring events?

2020-07-17 Thread Cyril Hrubis
as I do not have to fish for documentation or read library source code when debugging. Think of all the poor kernel QA folks that will cry in despair when you decided not to submit manual pages. There is plenty of stuff documented there that most C programmers shouldn't touch, I do not consider this to be a valid excuse. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [x86/entry] 2bbc68f837: ltp.ptrace08.fail

2020-06-17 Thread Cyril Hrubis
l code the write to register 7 enables the breakpoints and what we attempt here is to change an invalid address to a valid one after we enabled the breakpoint but that's as far I can go. So does anyone has an idea how to trigger the bug without the do_debug function address? Would any valid kernel function address suffice? -- Cyril Hrubis chru...@suse.cz

Re: [LTP] 303cc571d1: ltp.setns01.fail

2020-06-15 Thread Cyril Hrubis
has changed from EINVAL to EBADF in a case we pass file descriptor to a regular file to setns(). -- Cyril Hrubis chru...@suse.cz

[LTP] [ANNOUNCE] The Linux Test Project has been released for MAY 2020

2020-05-15 Thread Cyril Hrubis
mailing list at l...@lists.linux.it. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20200120.. 105 Petr Vorel 49 Yang Xu 38 Viresh Kumar 35 Martin Doucha 33 Cyril Hrubis 11 Richard Palethorpe 10 Jan Stancek

Re: [LTP] [fs] ce436509a8: ltp.openat203.fail

2020-04-28 Thread Cyril Hrubis
hat. But then again, > this would be a bit ugly -- having CHECK_FIELDS would make this simpler. Any pointers how can be the size figured out without relying on the E2BIG we are testing for? Does the kernel export it somewhere? -- Cyril Hrubis chru...@suse.cz

EPERM failures for repeated runs

2019-10-22 Thread Cyril Hrubis
RM in userspace? -- Cyril Hrubis chru...@suse.cz

[ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2019

2019-09-30 Thread Cyril Hrubis
elines https://github.com/linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at l...@lists.linux.it. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20190517.. 68 Petr Vo

Re: [LTP] sched_football: Validity of testcase

2019-09-13 Thread Cyril Hrubis
ing with the rest of the threads. > A note about my testing methodology: > After I realized, that the execution often failed due to the offense thread > running after referee set the_ball to 0, I replaced the loop with just > usleep(1), for faster iteration. > I tested on ubuntu 19.04 with linux 5.0.0-27 running in vmware and > a custom yocto distribution running linux 4.19.59 (with and without rt > patches) -- Cyril Hrubis chru...@suse.cz

Re: Linux-next-20190823: x86_64/i386: prot_hsymlinks.c:325: Failed to run cmd: useradd hsym

2019-08-26 Thread Cyril Hrubis
ailure to write to /etc/passwd probably means that filesystem is full or some problem happend and how is remounted RO. I do not see the kernel messages from this job anywhere at the job pages, is it stored somewhere? -- Cyril Hrubis chru...@suse.cz

Re: [LTP] 56cbb429d9: ltp.fs_fill.fail

2019-07-25 Thread Cyril Hrubis
ke mkfs.vfat got EBUSY after the loop device was succesfully umounted. We do run the test in a loop for several filesystems and the loop generally does: next: mkfs mount test umount goto next; -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [mm] 8c7829b04c: ltp.overcommit_memory01.fail

2019-05-20 Thread Cyril Hrubis
Hi! > commit: 8c7829b04c523cdc732cb77f59f03320e09f3386 ("mm: fix false-positive > OVERCOMMIT_GUESS failures") This has been reported on the LTP ML already, LTP tests needs to be adjusted, see: http://lists.linux.it/pipermail/ltp/2019-May/011962.html -- Cyril Hrubis chru...@suse.cz

[ANNOUNCE] The Linux Test Project has been released for May 2019

2019-05-17 Thread Cyril Hrubis
omments or questions should go to to our mailing list at l...@lists.linux.it. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20190115.. 40 Petr Vorel 39 Enji Cooper 28 Cyril Hrubis 17 Alexey Kodanev 15 Petr Vorel 15

Re: [PATCH] mm,mremap: Bail out earlier in mremap_to under map pressure

2019-03-01 Thread Cyril Hrubis
a similar fix for mmap() with MAP_FIXED that caused a LTP test to fail and was fixed in: commit e8420a8ece80b3fe810415ecf061d54ca7fab266 Author: Cyril Hrubis Date: Mon Apr 29 15:08:33 2013 -0700 mm/mmap: check for RLIMIT_AS before unmapping And I haven't heard of any breakages so far s

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-28 Thread Cyril Hrubis
Hi! > > Of course, there aren't any tests for RWF_NOWAIT in xfstests. Are there > > any in LTP? Just FYI I've send a patch with basic RWF_NOWAIT test for review to LTP ML and also CCed mailing lists from this thread. https://lkml.org/lkml/2019/1/28/416 -- Cyril Hrubis chru...@suse.cz

[PATCH] syscalls/preadv203: Add basic RWF_NOWAIT test

2019-01-28 Thread Cyril Hrubis
From: Cyril Hrubis We are attempting to trigger the EAGAIN path for the RWF_NOWAIT flag. In order to do so the test runs three threads: * nowait_reader: reads from a random offset from a random file with RWF_NOWAIT flag and expects to get EAGAIN and short read

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-17 Thread Cyril Hrubis
l turn these into automated tests and maintain them for free. LTP is also used in many QA departements around the word so such tests will end up executed in different environments also for free. Sadly this does not happen much and there are only few exceptions so far. But maybe I wasn't shouting loudly enough. -- Cyril Hrubis chru...@suse.cz

[LTP] [ANNOUNCE] The Linux Test Project has been released for JANUARY 2019

2019-01-15 Thread Cyril Hrubis
gs, comments or questions should go to to our mailing list at l...@lists.linux.it. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20180926.. 41 Petr Vorel 28 Amir Goldstein 25 Alexey Kodanev 25 Xiao Yang 16 Jan Stancek

[LTP] [ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2018

2018-09-26 Thread Cyril Hrubis
tions should go to to our mailing list at l...@lists.linux.it. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20180515.. 61 Petr Vorel 31 Xiao Yang 28 Cyril Hrubis 25 Alexey Kodanev 18 Jan Stancek 13 Li Wang

[LTP] [ANNOUNCE] The Linux Test Project has been released for MAY 2018

2018-05-15 Thread Cyril Hrubis
inux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at l...@lists.linux.it. CREDITS === Many thanks to the people contributing to this release: git shortlog -s -e -n 20180118.. 76 Petr Vorel 38 Cyril Hrubis 3

Re: [LTP] [lkp-robot] [sched/deadline] e0367b1267: WARNING:at_kernel/sched/sched.h:#assert_clock_updated

2018-01-25 Thread Cyril Hrubis
un but the sched one was simply picked first here. > Thanks for pointing this out. Glad to help :-). -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [lkp-robot] [sched/deadline] e0367b1267: WARNING:at_kernel/sched/sched.h:#assert_clock_updated

2018-01-25 Thread Cyril Hrubis
Hi! > Hummm, wondering how LTP sched tests could trigger this, since a quick > grep into ltp didn't show DEADLINE usage. See kernel/syscalls/sched_setattr/sched_setattr01.c -- Cyril Hrubis chru...@suse.cz

[LTP] [ANNOUNCE] The Linux Test Project has been released for JANUARY 2018

2018-01-18 Thread Cyril Hrubis
thub.com/linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at l...@lists.linux.it. -- Cyril Hrubis chru...@suse.cz

Re: [PATCH 2/2] mmap.2: MAP_FIXED updated documentation

2017-12-13 Thread Cyril Hrubis
name? Or do we ask BFDL[1] to choose the name? [1] https://en.wikipedia.org/wiki/Benevolent_dictator_for_life -- Cyril Hrubis chru...@suse.cz

Re: [PATCH 2/2] mmap.2: MAP_FIXED updated documentation

2017-12-13 Thread Cyril Hrubis
Hi! > Pretty map everyone agreed MAP_FIXED_SAFE was a bad > name. MAP_FIXED_NOREPLACE (IIRC) was best replacement. For what it's worth I do agree here. -- Cyril Hrubis chru...@suse.cz

Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-08 Thread Cyril Hrubis
ains both HPUXMAP_FIXED and HPUXMAP_REPLACE. [1] https://github.com/dspinellis/unix-history-repo -- Cyril Hrubis chru...@suse.cz

Re: [PATCH v2] mmap.2: MAP_FIXED updated documentation

2017-12-07 Thread Cyril Hrubis
see a reason why this cannot be done properly, this is just about exporting one simple constant to userspace after all. > Or maybe you're thinking that since the SHMLBA cannot be put in the man > pages, we could instead provide MapAlignment as sort of a different > way to document the requirement? This is my intention as well. -- Cyril Hrubis chru...@suse.cz

Re: [PATCH v2] mmap.2: MAP_FIXED updated documentation

2017-12-06 Thread Cyril Hrubis
we had this information exported somehere so that we do not have to rely on per-architecture ifdefs. What about adding MapAligment or something similar to the /proc/meminfo? -- Cyril Hrubis chru...@suse.cz

Re: [PATCH v2] mmap.2: MAP_FIXED updated documentation

2017-12-04 Thread Cyril Hrubis
ge mapping addresses." Which should at least hint the reader that this is architecture specific. -- Cyril Hrubis chru...@suse.cz

Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-01 Thread Cyril Hrubis
ould probably be a best fit. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] Towards 4.14 LTS

2017-11-21 Thread Cyril Hrubis
hes for SLES kernels. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] Towards 4.14 LTS

2017-11-20 Thread Cyril Hrubis
d other bells and whistles are a nice to have, but at the end of the day you usually need someone to reproduce/look at the problem, possibly check the source code, report a bug, etc. Hence it does not make much sense to have an automated system without dedicated engineers assigned to review the test

Re: [LTP] [lkp-robot] [x86/topology] 379a4bb988: dmesg.WARNING:at_arch/x86/events/intel/uncore.c:#uncore_change_type_ctx

2017-10-26 Thread Cyril Hrubis
Looking at the test it may need a kernel source unpacked /usr/src/linux as well. Short HOWTO for building LTP from git is here: https://github.com/linux-test-project/ltp/blob/master/doc/mini-howto-building-ltp-from-git.txt And we do have (unofficional) packages for some SUSE distributions:

[LTP] [ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2017

2017-09-29 Thread Cyril Hrubis
Guidelines https://github.com/linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at l...@lists.linux.it. -- Cyril Hrubis chru...@suse.cz

Re: kernel of next-20170602 call trace when run add_key02 in LTP

2017-06-05 Thread Cyril Hrubis
7 is ok, but > next-20170502 fail. > Is it bug? Looks like a kernel bug to me. The test is a very simple one that just does: add_key("keyring", "wjkey", NULL, 0, KEY_SPEC_THREAD_KEYRING)); And expects success. Also CCing LTP ML and relevant maintainers. -- Cyril Hrubis chru...@suse.cz

Re: commit f5f99309 (sock: do not set sk_err in sock_dequeue_err_skb) has broken ping

2017-06-01 Thread Cyril Hrubis
ueue, but that's a > flawed assumption. > > Would you mind trying another shot in the darkness please? Thanks! This patch seems to fix the issue, I've tried several times and poll() just timeouts, haven't seen a single POLLERR in the ping strace. You can add my Tested-by: for

Re: commit f5f99309 (sock: do not set sk_err in sock_dequeue_err_skb) has broken ping

2017-06-01 Thread Cyril Hrubis
2 ee_type = 3 ee_code = 1 ee_info = 0 ee_data = 0 So we get EHOSTUNREACH on SO_EE_ORIGIN_ICMP. -- Cyril Hrubis chru...@suse.cz

Re: commit f5f99309 (sock: do not set sk_err in sock_dequeue_err_skb) has broken ping

2017-06-01 Thread Cyril Hrubis
Hi! > Thank you for the confirmation. Could you please try the following > patch to see if it fixes your issue? Does not seem to help, I still got the same bussy loop. -- Cyril Hrubis chru...@suse.cz

Re: commit f5f99309 (sock: do not set sk_err in sock_dequeue_err_skb) has broken ping

2017-06-01 Thread Cyril Hrubis
#x27;ve also have sent a fix to iputils on > https://github.com/iputils/iputils/pull/75. Would you be kind to try > that pull request as well? That fixed the problem, you can add: Tested-by: Cyril Hrubis -- Cyril Hrubis chru...@suse.cz

commit f5f99309 (sock: do not set sk_err in sock_dequeue_err_skb) has broken ping

2017-06-01 Thread Cyril Hrubis
sock: do not set sk_err in sock_dequeue_err_skb -- Cyril Hrubis chru...@suse.cz

[ANNOUNCE] The Linux Test Project has been released for May 2017

2017-05-16 Thread Cyril Hrubis
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines https://github.com/linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at l...@lists.linux.it. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [lkp-robot] [KEYS] bdf7c0f8bf: ltp.add_key02.fail

2017-04-20 Thread Cyril Hrubis
yscall will fail for > more than one reason, it's not guaranteed which error code you'll get.) That is quite common problem with LTP testcases. Do you care to send a patch or should I fix that? > In any case, once we have a fix merged, it would be nice for there to be an > ltp > test added for the "NULL payload with nonzero length" case with one of the key > types that crashed the kernel. Here as well, feel free to send a patch or at least point us to a reproducer that could be turned into a testcase. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [lkp-robot] [fs] 99f64a2676: ltp.creat08.fail & ltp.open10.fail

2017-02-07 Thread Cyril Hrubis
testing exactly the corner case the patch is fixing. So the tests needs to be fixed once this patch hits mainline. And the best fix is to expect the SGID flag to be cleared on newer kernels. -- Cyril Hrubis chru...@suse.cz

[LTP] [ANNOUNCE] The Linux Test Project has been released for JANUARY 2017

2017-01-16 Thread Cyril Hrubis
b.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines https://github.com/linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at l...@lists.linux.it. -- Cyril Hrubis chru...@suse.cz

Re: Formal description of system call interface

2016-11-21 Thread Cyril Hrubis
consider that not all file descriptors or files are equal, so we may end up with some classes of files and file descriptors some of them suitable for different subsets of operations. I think that defining classes of objects and defining how syscalls transform their state may yield something usab

Re: Formal description of system call interface

2016-11-21 Thread Cyril Hrubis
up with something quite complex with a large set of exceptions from the rules. > Cyril, Tavis, can you come up with some set of predicates that can be > checked automatically yet still useful? > We can start small, e.g. "must not alter virtual address space". I will try to thing about this a bit. -- Cyril Hrubis chru...@suse.cz

Re: Formal description of system call interface

2016-11-07 Thread Cyril Hrubis
could write a classes of verify functions, something as check_file_exits() and use them to check the results accordingly. I'm not sure if something like this is really doable or in the scope of this project, but it may be worth a try. -- Cyril Hrubis chru...@suse.cz

[ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2016

2016-09-20 Thread Cyril Hrubis
/wiki/Test-Writing-Guidelines https://github.com/linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at ltp-l...@lists.linux.it -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-23 Thread Cyril Hrubis
less or equal than 20ms and if this fact is documented. If we wanted to be pedantic about this the man page shoud be patched... Also this gives us reasonably safe upper bound on timer expiration to be something as: sleep_time * 1.125 + 20ms Does this sounds reasonable now? -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-23 Thread Cyril Hrubis
the test uses gettimeofday() to measure the elapsed time, it should use CLOCK_MONOTONIC instead. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-23 Thread Cyril Hrubis
in futex() and if it wakes too late it will fail to fill buffers. In practice this worked fine for me for years. -- Cyril Hrubis chru...@suse.cz

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-22 Thread Cyril Hrubis
And also fix the test to use the CLOCK_MONOTONIC timer. And of course the error margin must not be used when we check that the elapsed time wasn't shorter than we expected. Does that sound reasonable? -- Cyril Hrubis chru...@suse.cz

[LTP] [ANNOUNCE] The Linux Test Project has been released for MAY 2016

2016-05-10 Thread Cyril Hrubis
ts or questions should go to to our mailing list at l...@lists.linux.it. -- Cyril Hrubis chru...@suse.cz

[ANNOUNCE] The Linux Test Project has been released for JANUARY 2016

2016-01-26 Thread Cyril Hrubis
ts, bugs, comments or questions should go to to our new mailing list at l...@lists.linux.it PS: Special thanks to Italian Linux Society (www.ils.org) that provides us with rock solid mailing list hosting. This release wouldn't be possible without their kind help. -- Cyril Hrubis chru...@suse.cz

Re: [PATCH] mm: fix incorrect behavior when process virtual address space limit is exceeded

2015-11-18 Thread Cyril Hrubis
ny little bit which should be fixed. The fix looks good to me. -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.h

Re: [LTP] LTP and commit e1d7ba8735551ed7 ("time: Always make sure wall_to_monotonic isn't positive")

2015-09-24 Thread Cyril Hrubis
/blob/20150903/testcases/kernel/syscalls/settimeofday/settimeofday01.c > > [2] > > https://github.com/linux-test-project/ltp/blob/20150903/testcases/kernel/timers/clock_settime/clock_settime02.c Both should be fixed in latest git. -- Cyril Hrubis chru...@suse.cz -- To unsub

Re: LTP and commit e1d7ba8735551ed7 ("time: Always make sure wall_to_monotonic isn't positive")

2015-09-15 Thread Cyril Hrubis
ue to current time + small amount. I will have a look at the second test as well. > [1] > https://github.com/linux-test-project/ltp/blob/20150903/testcases/kernel/syscalls/settimeofday/settimeofday01.c > [2] > https://github.com/linux-test-project/ltp/blob/20150903/testcases/kernel/tim

[ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2015

2015-09-03 Thread Cyril Hrubis
bugs, comments or questions should go to to our mailing list at ltp-l...@lists.sourceforge.net. PS: We had numerous troubles with mailing list on sourceforge, if you are aware of good and free mailing list hosting service please let us know. -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from

Re: [PATCHv2 1/1] Documentation: describe how to add a system call

2015-07-30 Thread Cyril Hrubis
27;t be hard at all. [1] https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#221-basic-test-structure [2] https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#224-safe-macros -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the line "u

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Cyril Hrubis
e portable way i.e. POSIX would be getting compiler flags with getconf but as this is a Linux kernel testsuite I would not bother with that. Hmm, and it looks like this is not implemented on Linux anyway. -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the li

Re: [PATCH 1/5] selftests: Add futex functional tests

2015-05-12 Thread Cyril Hrubis
Hi! > I'm happy to do that, but I would like to make sure I'm doing the right > thing. The right thing here is to add -pthread to CFLAGS which sets both flags for preprocessor and linker (see man gcc). -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the l

LTP] [ANNOUNCE] The Linux Test Project has been released for APRIL 2015

2015-04-20 Thread Cyril Hrubis
/Test-Writing-Guidelines https://github.com/linux-test-project/ltp/wiki/BuildSystem https://lwn.net/Articles/625969/ https://lwn.net/Articles/630542/ Patches, new tests, bugs, comments or questions should go to to our mailing list at ltp-list@ltp-l...@lists.sourceforge.net. -- Cyril Hrubis chru...@su

Re: futex(2) man page update help request

2015-02-16 Thread Cyril Hrubis
as been commited in: https://github.com/linux-test-project/ltp/commit/6270ba2ebe999ffdb1364e5e814d7e56070a0198 Some of these are losely based on futextest some are written from scratch. The requeue operation, pi futexes and bitset are not covered yet. -- Cyril Hrubis chru...@suse.cz -- To unsubsc

Re: [LTP] The Linux Test Project has been released for JANUARY 2015

2015-01-29 Thread Cyril Hrubis
test cases to complain loudly if the > > process is found running. > > > > Good idea. And should be fixed in latest git. Now the testcases complain about the failure, give a hint what may be causing it, and if the umount() is not the the syscall under test, it's retrie

Re: [LTP] The Linux Test Project has been released for JANUARY 2015

2015-01-20 Thread Cyril Hrubis
t; Yupp, that popped up. > How can I disable that gvfsd (here: Ubuntu/precise? Just kill the process, or run the testcases via ssh session. > And can this issue be documented? Hmm, maybe we can change the test cases to complain loudly if the process is found running. -- Cyril Hrubis chru...@suse

Re: [LTP] The Linux Test Project has been released for JANUARY 2015

2015-01-20 Thread Cyril Hrubis
from EBUSY while trying to umount filesystems. Do you have gvfsd-trash running? That thing is known to probe newly mounted filesystems preventing them from being unmounted for a certain amount of time. -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the line "u

Re: [LTP] The Linux Test Project has been released for JANUARY 2015

2015-01-19 Thread Cyril Hrubis
f you browse the files on sf.net there is small circle with i on the right, that, when clicked on shows md5 and sha1. These were generated by sf.net servers but I've checked that they match the files I've created. -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the

The Linux Test Project has been released for JANUARY 2015

2015-01-19 Thread Cyril Hrubis
linux-test-project/ltp/wiki/BuildSystem Patches, new tests, bugs, comments or questions should go to to our mailing list at ltp-l...@lists.sourceforge.net. -- Cyril Hrubis chru...@suse.cz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: futex(2) man page update help request

2014-11-26 Thread Cyril Hrubis
le test example as well as description of the interfaces. > > > Thanks Cyril, > > I'll follow up with you in a couple weeks most likely. I have some urgent > things that will be taking all my time and then some until then. Feel free > to poke me though if I lose track of

[PATCH] mm/mmap: Check for RLIMIT_AS before unmapping

2013-04-02 Thread Cyril Hrubis
can't be triggered from the brk syscall). The vm_brk() is called only from binmft handlers so it shouldn't be triggered unless binmft handler created overlapping mappings. Signed-off-by: Cyril Hrubis --- mm/mmap.c | 50 ++ 1 file changed, 4

[PATCH] mm/mmap: Check for RLIMIT_AS before unmapping

2013-03-25 Thread Cyril Hrubis
can't be triggered from the brk syscall). The vm_brk() is called only from binmft handlers so it shouldn't be triggered unless binmft handler created overlapping mappings. Signed-off-by: Cyril Hrubis --- mm/mmap.c | 50 ++ 1 file changed, 4