[ANNOUNCE] rt-tests-1.10

2020-12-22 Thread John Kacur
are always welcome! Enjoy! John Kacur Anders Roxell (1): Makefile: manpages: only add get_cyclictest_snapshot if PYLIB Daniel Wagner (36): cyclictest: Use numa library helpers in get_available_cpus() cyclicdeadline: Streamline usage output and man page cyclicdeadline: Add long command

[ANNOUNCE] rt-tests-1.9

2020-09-21 Thread John Kacur
! John Kacur Clark Williams (1): pi_stress: limit the number of inversion groups to the number of online cores Daniel Wagner (4): rt-utils: Move timestamp calc helper to common header rt-utils: Move time defininitions to common header rt-utils: Move ARRAY_SIZE to common header

Re: [PATCH] rt-tests: backfire: Don't include asm/uaccess.h directly

2019-09-17 Thread John Kacur
On Tue, 17 Sep 2019, Sultan Alsawaf wrote: > On Mon, Sep 16, 2019 at 11:57:32PM +0200, John Kacur wrote: > > Signed-off-by: John Kacur > > But please in the future > > 1. Don't cc lkml on this > > 2. Include the maintainers in your patch > > Hi, > > T

Re: [PATCH] rt-tests: backfire: Don't include asm/uaccess.h directly

2019-09-17 Thread John Kacur
On Tue, 17 Sep 2019, Sebastian Andrzej Siewior wrote: > On 2019-09-16 23:57:32 [+0200], John Kacur wrote: > > Signed-off-by: John Kacur > > Hmmm. I remember this thing came up years ago in the Debian BTS and then > that backfire module got removed from the Debi

Re: [PATCH] rt-tests: backfire: Don't include asm/uaccess.h directly

2019-09-16 Thread John Kacur
gt; index aaf9c4a..a8ac9f5 100644 > --- a/src/backfire/backfire.c > +++ b/src/backfire/backfire.c > @@ -30,8 +30,8 @@ > #include > #include > #include > +#include > > -#include > #include > > #define BACKFIRE_MINOR MISC_DYNAMIC_MINOR > -- > 2.23.

[ANNOUNCE] rt-tests-1.5

2019-08-14 Thread John Kacur
welcome. John Kacur Clone git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git branches Branches unstable/devel/latest (rt-tests: Version 1.5) unstable/devel/latest-devel (for latest development of Version 1.5) tarballs are available here https://kernel.org/pub/linux/utils/rt-tests older

Re: [ANNOUNCE] New release rt-tests-1.4

2019-06-21 Thread John Kacur
On Fri, 21 Jun 2019, David Runge wrote: > Hi! > > On 2019-06-20 15:26:30 (+0200), John Kacur wrote: > > We haven't had a release in a while as people were content to work > > from git. However, in order to make it easier to use, test, and put > > into distribution

[ANNOUNCE] New release rt-tests-1.4

2019-06-20 Thread John Kacur
with everyone working the code we can flush out some bugs and aim for a new stable branch. So, have fun, and send in your patches and reports! John Kacur Clone git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git branches Branches unstable/devel/latest (rt-tests: Version 1.4) unstable/devel

Re: BUG: trace-cmd: trace-cmd record -e failure

2019-04-15 Thread John Kacur
On Mon, 15 Apr 2019, John Kacur wrote: > This is a long standing but in trace-cmd. > > [root@pq6-0 tmp]# trace-cmd record -p function -e sched:* sleep 1 > plugin 'function' > none > trace-cmd: Invalid argument > Failed filter of > /sys/kernel/debug/tracing/events/

BUG: trace-cmd: trace-cmd record -e failure

2019-04-15 Thread John Kacur
kes longer to hit the limit. Rewriting "common_pid" over and over again for example, is probably unnecessary with some reworking. John Kacur

[PATCH] rt-tests: Makefile: ssdd: Incoroporate ssdd into the rt-tests Makefile

2019-01-14 Thread John Kacur
Incoroporate ssdd into the rt-tests build Signed-off-by: John Kacur --- Makefile | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 06f399cc629d..16cd2f9bdd03 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,8 @@ sources = cyclictest.c

[PATCH] Add ssdd test to the rt-tests suite

2019-01-14 Thread John Kacur
/22876: EXITING, no error forktest#9/22882: EXITING, no error forktest#1/22873: EXITING, no error All tests PASSED. Signed-off-by: Joe Korty Signed-off-by: John Kacur --- src/ssdd/ssdd.c | 315 1 file changed, 315 insertions(+) create mode 100644

Re: [ptrace, rt] erratic behaviour in PTRACE_SINGLESET on 4.13-rt and later.

2019-01-14 Thread John Kacur
Sebastian: I added the test from Joe Korty to rt-tests. Working on integrating it into the build, but I wanted to make it available before that so you could send me your patches. Repo: git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git Branch: unstable/devel/latest Thanks John Kacur

[ANNOUNCE]rt-tests-1.3 New Devlopment version of rt-tests

2018-04-30 Thread John Kacur
/pub/scm/utils/rt-tests/rt-tests.git https://kernel.googlesource.com/pub/scm/utils/rt-tests/rt-tests.git Branch unstable/devel/latest Tar ball https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-1.3.tar.gz Enjoy! John Kacur

[ANNOUNCE]rt-tests-1.3 New Devlopment version of rt-tests

2018-04-30 Thread John Kacur
/pub/scm/utils/rt-tests/rt-tests.git https://kernel.googlesource.com/pub/scm/utils/rt-tests/rt-tests.git Branch unstable/devel/latest Tar ball https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-1.3.tar.gz Enjoy! John Kacur

[PATCH] trace-cmd: Fix segmentation fault in trace-snapshot

2017-03-21 Thread John Kacur
write_file function Signed-off-by: John Kacur <jka...@redhat.com> --- trace-snapshot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trace-snapshot.c b/trace-snapshot.c index 9d3608c49563..771b065ccfa4 100644 --- a/trace-snapshot.c +++ b/trace-snapshot.c @@ -42,7 +42,

[PATCH] trace-cmd: Fix segmentation fault in trace-snapshot

2017-03-21 Thread John Kacur
write_file function Signed-off-by: John Kacur --- trace-snapshot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trace-snapshot.c b/trace-snapshot.c index 9d3608c49563..771b065ccfa4 100644 --- a/trace-snapshot.c +++ b/trace-snapshot.c @@ -42,7 +42,8 @@ static void write_file(

[tip:irq/core] irq/Documentation: Correct result of echnoing 5 to smp_affinity

2016-07-10 Thread tip-bot for John Kacur
Commit-ID: 99e9d958726c04cec3e36902d8583fdd8cb5b1bb Gitweb: http://git.kernel.org/tip/99e9d958726c04cec3e36902d8583fdd8cb5b1bb Author: John Kacur <jka...@redhat.com> AuthorDate: Fri, 17 Jun 2016 15:05:15 +0200 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Sun, 10 Ju

[tip:irq/core] irq/Documentation: Correct result of echnoing 5 to smp_affinity

2016-07-10 Thread tip-bot for John Kacur
Commit-ID: 99e9d958726c04cec3e36902d8583fdd8cb5b1bb Gitweb: http://git.kernel.org/tip/99e9d958726c04cec3e36902d8583fdd8cb5b1bb Author: John Kacur AuthorDate: Fri, 17 Jun 2016 15:05:15 +0200 Committer: Ingo Molnar CommitDate: Sun, 10 Jul 2016 16:55:04 +0200 irq/Documentation: Correct

Re: [PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system

2016-06-24 Thread John Kacur
On Thu, 23 Jun 2016, Steven Rostedt wrote: > On Thu, 23 Jun 2016 14:11:51 +0200 > John Kacur <jka...@redhat.com> wrote: > > > > index 9c50456f7419..f530488545e0 100644 > > --- a/src/sched_deadline/cyclicdeadline.c > > +++ b/src/sched_deadline/cyclicdeadlin

Re: [PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system

2016-06-24 Thread John Kacur
On Thu, 23 Jun 2016, Steven Rostedt wrote: > On Thu, 23 Jun 2016 14:11:51 +0200 > John Kacur wrote: > > > > index 9c50456f7419..f530488545e0 100644 > > --- a/src/sched_deadline/cyclicdeadline.c > > +++ b/src/sched_deadline/cyclicdeadline.c > > @@ -

[PATCH 1/3] rt-tests: Makefile, change version to 1.1

2016-06-23 Thread John Kacur
Rethinking the naming scheme, so changing the development line from 2.0 to 1.1 Signed-off-by: John Kacur <jka...@redhat.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a54d82bd8964..d60282e05931 100644 --- a/Makefile +++ b/Ma

[PATCH 1/3] rt-tests: Makefile, change version to 1.1

2016-06-23 Thread John Kacur
Rethinking the naming scheme, so changing the development line from 2.0 to 1.1 Signed-off-by: John Kacur --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a54d82bd8964..d60282e05931 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4

[PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system

2016-06-23 Thread John Kacur
- Add cyclicdeadline and deadline_test to the Makefile - Conditionally define _GNU_SOURCE in the new programs - Add the new programs to the .gitignore file Signed-off-by: John Kacur <jka...@redhat.com> --- .gitignore | 2 ++ Makefile

[PATCH 0/3] rt-tests: sched_deadline tests

2016-06-23 Thread John Kacur
Kacur John Kacur (3): rt-tests: Makefile, change version to 1.1 rt-tests: Add cyclicdeadline and deadline_test rt-tests: Add cyclicdeadline and deadline_test to the Make system .gitignore |2 + Makefile| 13 +- src/sched_deadline

[PATCH 2/3] rt-tests: Add cyclicdeadline and deadline_test

2016-06-23 Thread John Kacur
Add cyclicdeadline and deadline_test - these are two programs written by Steven Rostedet to test the functionality and performance of SCHED_DEADLINE Signed-off-by: John Kacur <jka...@redhat.com> --- src/sched_deadline/cyclicdeadline.c | 1267 + src/sched_de

[PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system

2016-06-23 Thread John Kacur
- Add cyclicdeadline and deadline_test to the Makefile - Conditionally define _GNU_SOURCE in the new programs - Add the new programs to the .gitignore file Signed-off-by: John Kacur --- .gitignore | 2 ++ Makefile| 11 ++- src

[PATCH 0/3] rt-tests: sched_deadline tests

2016-06-23 Thread John Kacur
Kacur John Kacur (3): rt-tests: Makefile, change version to 1.1 rt-tests: Add cyclicdeadline and deadline_test rt-tests: Add cyclicdeadline and deadline_test to the Make system .gitignore |2 + Makefile| 13 +- src/sched_deadline

[PATCH 2/3] rt-tests: Add cyclicdeadline and deadline_test

2016-06-23 Thread John Kacur
Add cyclicdeadline and deadline_test - these are two programs written by Steven Rostedet to test the functionality and performance of SCHED_DEADLINE Signed-off-by: John Kacur --- src/sched_deadline/cyclicdeadline.c | 1267 + src/sched_deadline/deadline_test.c | 2097

[PATCH] Documentation: Correct result of echnoing 5 to smp_affinity

2016-06-17 Thread John Kacur
echo 5 > /proc/irq/10/smp_affinity means only the first and third (not fourth) cpus can handle irqs That is, cpu0 is the first cpu and cpu2 is the third cpu Signed-off-by: John Kacur <jka...@redhat.com> --- Documentation/filesystems/proc.txt | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] Documentation: Correct result of echnoing 5 to smp_affinity

2016-06-17 Thread John Kacur
echo 5 > /proc/irq/10/smp_affinity means only the first and third (not fourth) cpus can handle irqs That is, cpu0 is the first cpu and cpu2 is the third cpu Signed-off-by: John Kacur --- Documentation/filesystems/proc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[ANNOUNCE] rt-tests version 1.0

2016-05-13 Thread John Kacur
to discuss that with the list before you spend too much time on them. Of course you can always maintain something on the side until you overwhelm us with the worth of your new ideas! Happy Hacking, Cheers! John Kacur To fetch the latest version Clone one of the following if needed. git

[ANNOUNCE] rt-tests version 1.0

2016-05-13 Thread John Kacur
to discuss that with the list before you spend too much time on them. Of course you can always maintain something on the side until you overwhelm us with the worth of your new ideas! Happy Hacking, Cheers! John Kacur To fetch the latest version Clone one of the following if needed. git

Re: [PATCH] cyclictest: stop any tracing after hitting a breaktrace threshold

2016-05-04 Thread John Kacur
d-by: Luiz Capitulino <lcapitul...@redhat.com> > -- Sorry, resending with a sane mailer I don't see a better solution for now, so adding Luiz Reviewed by Signed-off-by: John Kacur <jka...@redhat.com> and pushed to devel

Re: [PATCH] cyclictest: stop any tracing after hitting a breaktrace threshold

2016-05-04 Thread John Kacur
> -- Sorry, resending with a sane mailer I don't see a better solution for now, so adding Luiz Reviewed by Signed-off-by: John Kacur and pushed to devel

Re: [PATCH] cyclictest: avoid using libnuma cpumask parsing functions

2016-04-19 Thread John Kacur
On Thu, 14 Apr 2016, Luiz Capitulino wrote: > On Wed, 13 Apr 2016 15:37:00 -0500 > Clark Williams wrote: > > > John, > > > > I ran into issues with parsing cpu masks when trying to run this command: > > > > sudo ./cyclictest -i100 -qmu -h 2000 -p95 -t1 -a3 > > > > I

Re: [PATCH] cyclictest: avoid using libnuma cpumask parsing functions

2016-04-19 Thread John Kacur
On Thu, 14 Apr 2016, Luiz Capitulino wrote: > On Wed, 13 Apr 2016 15:37:00 -0500 > Clark Williams wrote: > > > John, > > > > I ran into issues with parsing cpu masks when trying to run this command: > > > > sudo ./cyclictest -i100 -qmu -h 2000 -p95 -t1 -a3 > > > > I had previously booted a

Re: [PATCH] cyclictest: avoid using libnuma cpumask parsing functions

2016-04-19 Thread John Kacur
On Wed, 13 Apr 2016, Clark Williams wrote: > John, > > I ran into issues with parsing cpu masks when trying to run this command: > > sudo ./cyclictest -i100 -qmu -h 2000 -p95 -t1 -a3 > > I had previously booted a 4-core system with these boot options: > > isolcpus=3 nohz_full=3

Re: [PATCH] cyclictest: avoid using libnuma cpumask parsing functions

2016-04-19 Thread John Kacur
On Wed, 13 Apr 2016, Clark Williams wrote: > John, > > I ran into issues with parsing cpu masks when trying to run this command: > > sudo ./cyclictest -i100 -qmu -h 2000 -p95 -t1 -a3 > > I had previously booted a 4-core system with these boot options: > > isolcpus=3 nohz_full=3

[ANNOUNCE] rt-tests-v0.97

2016-03-31 Thread John Kacur
will beome 1.0 (unless we need a v0.99) devel/v0.98 I'll create the development line for 2.0 once we freeze 1.0 Thanks for all your hardwork Cheers! John Kacur Clark Williams (4): Makefile: fixed dropped quote in help target text hwlatdetect: handle hwlat_detector being builtin rather than module

[ANNOUNCE] rt-tests-v0.97

2016-03-31 Thread John Kacur
will beome 1.0 (unless we need a v0.99) devel/v0.98 I'll create the development line for 2.0 once we freeze 1.0 Thanks for all your hardwork Cheers! John Kacur Clark Williams (4): Makefile: fixed dropped quote in help target text hwlatdetect: handle hwlat_detector being builtin rather than module

[PATCH] trace-cmd: trace-cmd.c call free only once on tracing and path

2015-12-03 Thread John Kacur
>From 33102b6423ba64798d91aee9de4ecb21189dd49e Mon Sep 17 00:00:00 2001 From: John Kacur Date: Thu, 3 Dec 2015 23:29:05 +0100 Subject: [PATCH] trace-cmd: don't call free on tracing and path more than once In version trace-cmd-stable-v2.2 it is possible to call free on tracing and path more t

[PATCH] trace-cmd: trace-cmd.c call free only once on tracing and path

2015-12-03 Thread John Kacur
>From 33102b6423ba64798d91aee9de4ecb21189dd49e Mon Sep 17 00:00:00 2001 From: John Kacur <jka...@redhat.com> Date: Thu, 3 Dec 2015 23:29:05 +0100 Subject: [PATCH] trace-cmd: don't call free on tracing and path more than once In version trace-cmd-stable-v2.2 it is possible to call free o

[PATCH] trace-cmd: Documentation, include *.5 files in .gitignore

2015-11-18 Thread John Kacur
>From 7935646fed739d2bd102f71766a2700a56d6258b Mon Sep 17 00:00:00 2001 From: John Kacur Date: Wed, 18 Nov 2015 15:30:15 +0100 Subject: [PATCH] trace-cmd: Documentation, include *.5 files in .gitignore Most trace-cmd man pages are *.1 but we have trace-cmd.dat.5 now with the .5 ending.

[PATCH] trace-cmd: Documentation, include *.5 files in .gitignore

2015-11-18 Thread John Kacur
>From 7935646fed739d2bd102f71766a2700a56d6258b Mon Sep 17 00:00:00 2001 From: John Kacur <jka...@redhat.com> Date: Wed, 18 Nov 2015 15:30:15 +0100 Subject: [PATCH] trace-cmd: Documentation, include *.5 files in .gitignore Most trace-cmd man pages are *.1 but we have trace-cmd.

Re: [PATCH] trace-cmd: record crashes if -f is used before -e event.

2015-11-17 Thread John Kacur
har *output = NULL; > const char *option; > struct event_list *event; > - struct event_list *last_event; > + struct event_list *last_event = NULL; > struct tracecmd_event_list *list; > struct buffer_instance *instance = _instance; > enum trac

Re: [PATCH] trace-cmd: record crashes if -f is used before -e event.

2015-11-17 Thread John Kacur
gv) > const char *output = NULL; > const char *option; > struct event_list *event; > - struct event_list *last_event; > + struct event_list *last_event = NULL; > struct tracecmd_event_list *list; > struct buffer_instance *instance = _inst

[PATCH] trace-cmd: Makefile: Determine install in lib or lib64

2015-11-13 Thread John Kacur
all to lib or lib64 Original patch from Jon Stanley found in Fedora git repo, modified to omit extraneous parts and simplifiy it a bit. Signed-off-by: John Kacur --- Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 507af59be

[PATCH] trace-cmd: Makefile: Determine install in lib or lib64

2015-11-13 Thread John Kacur
in order to determine whether to install to lib or lib64 Original patch from Jon Stanley found in Fedora git repo, modified to omit extraneous parts and simplifiy it a bit. Signed-off-by: John Kacur <jka...@redhat.com> --- Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff -

[ANNOUNCE] rt-tests-v0.96

2015-10-22 Thread John Kacur
: rename arch from bionic to android Android: Expand match for android in ostype rt-sched.h: do not unconditionally define syscall-numbers John Kacur (6): cyclictest: Clean-ups in timerthread before working on it Makefile: OBJDIR should be an order-only-prerequisite Makefile: Move TARGETS

[ANNOUNCE] rt-tests-v0.96

2015-10-22 Thread John Kacur
: rename arch from bionic to android Android: Expand match for android in ostype rt-sched.h: do not unconditionally define syscall-numbers John Kacur (6): cyclictest: Clean-ups in timerthread before working on it Makefile: OBJDIR should be an order-only-prerequisite Makefile: Move TARGETS

[ANNOUNCE] rt-tests-v0.95

2015-10-07 Thread John Kacur
redefine of CPUSET back to uclib John Kacur (11): Explicitly separate VPATH paths with a colon build: Generate .o, .a, and .d files in bld dir signaltest: call process_options before calling check_privs signaltest: Check the status of pthread_create rt-utils: Add John Kacur to the copyright

[ANNOUNCE] rt-tests-v0.95

2015-10-07 Thread John Kacur
redefine of CPUSET back to uclib John Kacur (11): Explicitly separate VPATH paths with a colon build: Generate .o, .a, and .d files in bld dir signaltest: call process_options before calling check_privs signaltest: Check the status of pthread_create rt-utils: Add John Kacur to the copyright

[ANNOUNCE]rt-tests-0.94

2015-09-21 Thread John Kacur
-switch to Makefile Makefile: add librttest to rt-migrate-test android: adjust target for android John Kacur (3): Fix VERSION in rt-migrate-test numa_on_and_available: Remove from main in cyclictest Version bump to v0.94 Josh Cartwright (8): rt-tests: workaround poor gzip implementations

[ANNOUNCE]rt-tests-0.94

2015-09-21 Thread John Kacur
-switch to Makefile Makefile: add librttest to rt-migrate-test android: adjust target for android John Kacur (3): Fix VERSION in rt-migrate-test numa_on_and_available: Remove from main in cyclictest Version bump to v0.94 Josh Cartwright (8): rt-tests: workaround poor gzip implementations

Re: [ANNOUNCE] rt-tests-0.93

2015-08-17 Thread John Kacur
On Mon, 17 Aug 2015, Uwe Kleine-König wrote: > Hello John, > > On Thu, Aug 13, 2015 at 05:20:26PM +0100, John Kacur wrote: > > Clark Williams and I are pleased to announce a new rt-tests release. > > Note we have a new git location, > > make sure you update your r

Re: [ANNOUNCE] rt-tests-0.93

2015-08-17 Thread John Kacur
On Mon, 17 Aug 2015, Uwe Kleine-König wrote: Hello John, On Thu, Aug 13, 2015 at 05:20:26PM +0100, John Kacur wrote: Clark Williams and I are pleased to announce a new rt-tests release. Note we have a new git location, make sure you update your repo to one of the following git

[ANNOUNCE] rt-tests-0.93

2015-08-13 Thread John Kacur
bump to v0.93 John Kacur (6): Fix warning: unused variable ‘c’ Fix possible exit on error without releasing mutex Create a .gitattribute file to specify what files git-archive should ignore Add .tar files to .gitignore Change VERSION_STRING to VERSION Create an rt-tests.tar file

[ANNOUNCE] rt-tests-0.93

2015-08-13 Thread John Kacur
bump to v0.93 John Kacur (6): Fix warning: unused variable ‘c’ Fix possible exit on error without releasing mutex Create a .gitattribute file to specify what files git-archive should ignore Add .tar files to .gitignore Change VERSION_STRING to VERSION Create an rt-tests.tar file

Re: [RFC][PATCH 0/2] preempt: Track unmatched preempt_enable() to preempt_disable()

2014-01-16 Thread John Kacur
ore.c | 63 > ++--- > kernel/trace/Kconfig| 1 + > lib/Kconfig.debug | 20 > 4 files changed, 82 insertions(+), 4 deletions(-) > -- fwiw - I have found this feature useful in the past, and would love to see it mainstream. Thanks John Kacur -- 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.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC][PATCH 0/2] preempt: Track unmatched preempt_enable() to preempt_disable()

2014-01-16 Thread John Kacur
| 20 4 files changed, 82 insertions(+), 4 deletions(-) -- fwiw - I have found this feature useful in the past, and would love to see it mainstream. Thanks John Kacur -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH] [SCSI]: Remove Kconfig text referring to non-existent scsi_wait_scan_module

2013-09-20 Thread John Kacur
The scsi_wait_scan_module was removed in linux-3.6 with commit 6072609d9bb91ff54aee3ef29304bd5b4fc88aae Remove the text referring to it under config SCSI_SCAN_ASYNC Signed-off-by: John Kacur --- drivers/scsi/Kconfig | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/scsi/Kconfig

[PATCH] [SCSI]: Remove Kconfig text referring to non-existent scsi_wait_scan_module

2013-09-20 Thread John Kacur
The scsi_wait_scan_module was removed in linux-3.6 with commit 6072609d9bb91ff54aee3ef29304bd5b4fc88aae Remove the text referring to it under config SCSI_SCAN_ASYNC Signed-off-by: John Kacur jka...@redhat.com --- drivers/scsi/Kconfig | 7 --- 1 file changed, 7 deletions(-) diff --git

Re: [PATCH] hpsa: fix warning with smp_processor_id() in preemptible

2013-08-12 Thread John Kacur
- Original Message - > * John Kacur | 2013-07-26 16:42:30 [+0200]: > > >Signed-off-by: John Kacur > >Acked-by: Stephen > > ping. > > I checked the branches for-next, scsi-fixes, fixes and misc at [0] and I > didn't see it. I'm going to take this

Re: [PATCH] hpsa: fix warning with smp_processor_id() in preemptible

2013-08-12 Thread John Kacur
- Original Message - * John Kacur | 2013-07-26 16:42:30 [+0200]: Signed-off-by: John Kacur jka...@redhat.com Acked-by: Stephen scame...@beardog.cce.hp.com ping. I checked the branches for-next, scsi-fixes, fixes and misc at [0] and I didn't see it. I'm going to take

[PATCH] hpsa: fix warning with smp_processor_id() in preemptible

2013-07-26 Thread John Kacur
>From 4c01ac362210c38cdbaddd0a75c24c7070e77dfa Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 26 Jul 2013 16:06:18 +0200 Subject: [PATCH] hpsa: fix warning with smp_processor_id() in preemptible section Signed-off-by: John Kacur On a 3.6-rt (real-time patch) kernel we are see

Re: hpsa - BUG: using smp_processor_id() in preemptible [00000000 00000000] code: kworker/u:0/6

2013-07-26 Thread John Kacur
- Original Message - > On Fri, Jul 26, 2013 at 06:28:02AM -0400, John Kacur wrote: > > > > > > - Original Message - > > > [Adding missing cc to linux-scsi] > > > On Thu, 2013-07-25 at 23:33 +0200, John Kacur wrote: > > > > Hi

Re: hpsa - BUG: using smp_processor_id() in preemptible [00000000 00000000] code: kworker/u:0/6

2013-07-26 Thread John Kacur
- Original Message - > [Adding missing cc to linux-scsi] > On Thu, 2013-07-25 at 23:33 +0200, John Kacur wrote: > > Hi > > > > We're seeing this on a 3.6 kernel with the real-time patch applied, but it > > looks like it is relevant with the real-t

Re: hpsa - BUG: using smp_processor_id() in preemptible [00000000 00000000] code: kworker/u:0/6

2013-07-26 Thread John Kacur
- Original Message - [Adding missing cc to linux-scsi] On Thu, 2013-07-25 at 23:33 +0200, John Kacur wrote: Hi We're seeing this on a 3.6 kernel with the real-time patch applied, but it looks like it is relevant with the real-time patch in the latest kernel This should read

Re: hpsa - BUG: using smp_processor_id() in preemptible [00000000 00000000] code: kworker/u:0/6

2013-07-26 Thread John Kacur
- Original Message - On Fri, Jul 26, 2013 at 06:28:02AM -0400, John Kacur wrote: - Original Message - [Adding missing cc to linux-scsi] On Thu, 2013-07-25 at 23:33 +0200, John Kacur wrote: Hi We're seeing this on a 3.6 kernel with the real-time patch

[PATCH] hpsa: fix warning with smp_processor_id() in preemptible

2013-07-26 Thread John Kacur
From 4c01ac362210c38cdbaddd0a75c24c7070e77dfa Mon Sep 17 00:00:00 2001 From: John Kacur jka...@redhat.com Date: Fri, 26 Jul 2013 16:06:18 +0200 Subject: [PATCH] hpsa: fix warning with smp_processor_id() in preemptible section Signed-off-by: John Kacur jka...@redhat.com On a 3.6-rt (real-time

hpsa - BUG: using smp_processor_id() in preemptible [00000000 00000000] code: kworker/u:0/6

2013-07-25 Thread John Kacur
smp_processor_id() % h->nreply_queues; + raw_smp_processor_id() % h->nreply_queues; } } Thanks John Kacur -- 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

hpsa - BUG: using smp_processor_id() in preemptible [00000000 00000000] code: kworker/u:0/6

2013-07-25 Thread John Kacur
)) c-Header.ReplyQueue = - smp_processor_id() % h-nreply_queues; + raw_smp_processor_id() % h-nreply_queues; } } Thanks John Kacur -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH trace-cmd 2/2] git-housekeeping: Add the .gitattributes file

2013-05-29 Thread John Kacur
By adding the .gitattributes file, git-archive can be informed not to includes files such as .gitignore and ironically .gitattributes Signed-off-by: John Kacur --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b

[PATCH trace-cmd 1/2] Makefile: add libdir variable

2013-05-29 Thread John Kacur
This will allow build scripts such as rpm to set libdir=lib64 Signed-off-by: John Kacur --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 83329ca..d53cde3 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,7 @@ html_install = $(prefix

[PATCH trace-cmd 2/2] git-housekeeping: Add the .gitattributes file

2013-05-29 Thread John Kacur
By adding the .gitattributes file, git-archive can be informed not to includes files such as .gitignore and ironically .gitattributes Signed-off-by: John Kacur jka...@redhat.com --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git

[PATCH trace-cmd 1/2] Makefile: add libdir variable

2013-05-29 Thread John Kacur
This will allow build scripts such as rpm to set libdir=lib64 Signed-off-by: John Kacur jka...@redhat.com --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 83329ca..d53cde3 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,7

Re: [ANNOUNCE] 3.8.10-rt6

2013-04-30 Thread John Kacur
On Mon, 29 Apr 2013, Clark Williams wrote: > On Mon, 29 Apr 2013 22:12:02 +0200 > Sebastian Andrzej Siewior wrote: > > - suspend / resume seems to program program the timer wrong and wait > > ages until it continues. > > > > It has to be something we're doing when we apply RT to

Re: [ANNOUNCE] 3.8.10-rt6

2013-04-30 Thread John Kacur
On Mon, 29 Apr 2013, Clark Williams wrote: On Mon, 29 Apr 2013 22:12:02 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: - suspend / resume seems to program program the timer wrong and wait ages until it continues. It has to be something we're doing when we

Re: [ANNOUNCE] 3.8.4-rt2

2013-04-17 Thread John Kacur
On Mon, Apr 8, 2013 at 8:30 PM, Sebastian Andrzej Siewior wrote: > * Paul Gortmaker | 2013-04-05 19:35:51 [-0400]: > >>Thanks for the work in putting this together. Just a heads up that the >>split queue fails on a patch with no author/date/subject as follows: >> >>[...] >>git am of

Re: [ANNOUNCE] 3.8.4-rt2

2013-04-17 Thread John Kacur
On Mon, Apr 8, 2013 at 8:30 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: * Paul Gortmaker | 2013-04-05 19:35:51 [-0400]: Thanks for the work in putting this together. Just a heads up that the split queue fails on a patch with no author/date/subject as follows: [...] git am of

Re: [ANNOUNCE] 3.6.11.1-rt32

2013-04-12 Thread John Kacur
On Tue, 2 Apr 2013, Carsten Emde wrote: > Steven, > > > I'm pleased to announce the 3.6.11.1-rt32 stable release. > Unfortunately, there is another compile error: > drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_wait_for_error’: > drivers/gpu/drm/i915/i915_gem.c:118:3: warning: passing

Re: [ANNOUNCE] 3.6.11.1-rt32

2013-04-12 Thread John Kacur
On Tue, 2 Apr 2013, Carsten Emde wrote: Steven, I'm pleased to announce the 3.6.11.1-rt32 stable release. Unfortunately, there is another compile error: drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_wait_for_error’: drivers/gpu/drm/i915/i915_gem.c:118:3: warning: passing

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 1:01 PM, John Kacur wrote: > On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang wrote: >> From: Yong Zhang >> >> Otherwise, below warning is shown somtimes when running some test: > > It would be nice to know which test! > ->o SNIP Luis p

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang wrote: > From: Yong Zhang > > Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test! ->o SNIP -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang yong.zha...@gmail.com wrote: From: Yong Zhang yong.zh...@windriver.com Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test! -o SNIP -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 1:01 PM, John Kacur jka...@redhat.com wrote: On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang yong.zha...@gmail.com wrote: From: Yong Zhang yong.zh...@windriver.com Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test

Re: [RFC][PATCH RT] acpi/rt: Convert acpi lock back to a raw_spinlock_t

2013-02-13 Thread John Kacur
On Wed, 13 Feb 2013, Thomas Gleixner wrote: > On Wed, 13 Feb 2013, John Kacur wrote: > > > > Thanks Steven. That looks way better than the previous revert. > > I can't tell as I haven't seen the previous revert. And looks good is > not really a good review criteria.

Re: [RFC][PATCH RT 4/4 v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2013-02-13 Thread John Kacur
On Thu, 13 Dec 2012, Steven Rostedt wrote: > I didn't get a chance to test the latest IPI patch series on the 40 core > box, and only had my 4 way box to test on. But I was able to test it > last night and found some issues. > > The RT_PUSH_IPI doesn't get automatically set because just doing

Re: [RFC][PATCH RT] acpi/rt: Convert acpi lock back to a raw_spinlock_t

2013-02-13 Thread John Kacur
On Wed, 13 Feb 2013, Steven Rostedt wrote: > We hit the following bug with 3.6-rt: > > [5.898990] BUG: scheduling while atomic: swapper/3/0/0x0002 > [5.898991] no locks held by swapper/3/0. > [5.898993] Modules linked in: > [5.898996] Pid: 0, comm: swapper/3 Not tainted

Re: [RFC][PATCH RT] acpi/rt: Convert acpi lock back to a raw_spinlock_t

2013-02-13 Thread John Kacur
On Wed, 13 Feb 2013, Steven Rostedt wrote: We hit the following bug with 3.6-rt: [5.898990] BUG: scheduling while atomic: swapper/3/0/0x0002 [5.898991] no locks held by swapper/3/0. [5.898993] Modules linked in: [5.898996] Pid: 0, comm: swapper/3 Not tainted

Re: [RFC][PATCH RT 4/4 v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2013-02-13 Thread John Kacur
On Thu, 13 Dec 2012, Steven Rostedt wrote: I didn't get a chance to test the latest IPI patch series on the 40 core box, and only had my 4 way box to test on. But I was able to test it last night and found some issues. The RT_PUSH_IPI doesn't get automatically set because just doing the

Re: [RFC][PATCH RT] acpi/rt: Convert acpi lock back to a raw_spinlock_t

2013-02-13 Thread John Kacur
On Wed, 13 Feb 2013, Thomas Gleixner wrote: On Wed, 13 Feb 2013, John Kacur wrote: Thanks Steven. That looks way better than the previous revert. I can't tell as I haven't seen the previous revert. And looks good is not really a good review criteria. Absolutely true, and I wasn't

[PATCH] x86: Use enum instead of literals for trap values

2013-01-22 Thread John Kacur
-off-by: John Kacur --- arch/x86/include/asm/traps.h | 25 + arch/x86/kernel/irqinit.c|2 +- arch/x86/kernel/traps.c | 120 ++--- 3 files changed, 90 insertions(+), 57 deletions(-) diff --git a/arch/x86/include/asm/traps.h b/arch/x86

[PATCH RT] Fix v3.2.37-rt55 build break

2013-01-22 Thread John Kacur
-by: John Kacur diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index 0012d09..88eae2a 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h @@ -89,4 +89,29 @@ asmlinkage void smp_thermal_interrupt(void); asmlinkage void mce_threshold_interrupt(void

[PATCH RT] Fix v3.2.37-rt55 build break

2013-01-22 Thread John Kacur
Conflicts: arch/x86/kernel/traps.c Signed-off-by: John Kacur jka...@redhat.com diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index 0012d09..88eae2a 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h @@ -89,4 +89,29 @@ asmlinkage void

[PATCH] x86: Use enum instead of literals for trap values

2013-01-22 Thread John Kacur
2 Conflicts: arch/x86/kernel/traps.c Signed-off-by: John Kacur jka...@redhat.com --- arch/x86/include/asm/traps.h | 25 + arch/x86/kernel/irqinit.c|2 +- arch/x86/kernel/traps.c | 120 ++--- 3 files changed, 90 insertions(+), 57

[BUG RT] v3.6.11-rt25: BUG unable to handle kernel NULL pointer dereference

2013-01-14 Thread John Kacur
Hello Our test systems are getting the following type of BUGs on v3.6.11-rt25 kernels Test 1: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] kmem_cache_alloc_node+0x51/0x180 PGD a2d39067 PUD b1641067 PMD 0 Oops: [#1] PREEMPT SMP Modules linked in: sunrpc

[BUG RT] v3.6.11-rt25: BUG unable to handle kernel NULL pointer dereference

2013-01-14 Thread John Kacur
Hello Our test systems are getting the following type of BUGs on v3.6.11-rt25 kernels Test 1: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [811573f1] kmem_cache_alloc_node+0x51/0x180 PGD a2d39067 PUD b1641067 PMD 0 Oops: [#1] PREEMPT SMP Modules

Re: [PATCH 01/13] HW-latency: hardware latency test 0.10

2012-11-04 Thread John Kacur
On Mon, Nov 5, 2012 at 2:59 AM, Luming Yu wrote: > > This patch is the first step to test some basic hardware functions like > TSC to help people understand if there is any hardware latency as well > as throughput problem exposed on bare metal or left behind by BIOS or > interfered by SMI.

  1   2   >