Re: sched_{set,get}attr() manpage

2014-04-09 Thread Henrik Austad
(). Where's the EBUSY? It can throw this from __sched_setscheduler() when it checks if there's enough bandwidth to run the task. NOTES While the text above (and in SCHED_SETSCHEDULER(2)) talks about processes, in actual fact these system calls are thread specific. -- Henrik

Re: Is there any list for newbie bugs?

2014-03-04 Thread Henrik Austad
nk many kernelhackers leave the easy bugs "just to be nice to newbies" - whenever a bug is discovered they are fixed. However, I discovered http://eudyptula-challenge.org/ a little while ago. Be warned, I haven't tested it, not sure what the challenge is like, but might as well be a good

[PATCH] tile: avoid overflow in ns2cycles

2014-03-04 Thread Henrik Austad
, intermediate value that could overflow. arch/tile/kernel/time.c has a similar pattern in cycles2ns, and this copies the same pattern in this function CC: John Stultz CC: Mike Galbraith CC: Salman Qazi Signed-off-by: Henrik Austad --- arch/tile/kernel/time.c | 10 +- 1 file changed

Re: [RFC][PATCH] clocksource: avoid unnecessary overflow in cyclecounter_cyc2ns()

2014-03-04 Thread Henrik Austad
On Tue, Mar 04, 2014 at 08:36:28AM +0100, Mike Galbraith wrote: > (boing boing boing... hell with it, today doesn't exist;) you lost me at boing.. :) > On Tue, 2014-03-04 at 08:31 +0100, Mike Galbraith wrote: > > On Tue, 2014-03-04 at 08:20 +0100, Henrik Austad wrote: > >

Re: [RFC][PATCH] clocksource: avoid unnecessary overflow in cyclecounter_cyc2ns()

2014-03-04 Thread Henrik Austad
On Tue, Mar 04, 2014 at 08:36:28AM +0100, Mike Galbraith wrote: (boing boing boing... hell with it, today doesn't exist;) you lost me at boing.. :) On Tue, 2014-03-04 at 08:31 +0100, Mike Galbraith wrote: On Tue, 2014-03-04 at 08:20 +0100, Henrik Austad wrote: On Tue, Mar 04, 2014

[PATCH] tile: avoid overflow in ns2cycles

2014-03-04 Thread Henrik Austad
that could overflow. arch/tile/kernel/time.c has a similar pattern in cycles2ns, and this copies the same pattern in this function CC: John Stultz johns...@us.ibm.com CC: Mike Galbraith bitbuc...@online.de CC: Salman Qazi sq...@google.com Signed-off-by: Henrik Austad hen...@austad.us --- arch/tile/kernel

Re: Is there any list for newbie bugs?

2014-03-04 Thread Henrik Austad
to be nice to newbies - whenever a bug is discovered they are fixed. However, I discovered http://eudyptula-challenge.org/ a little while ago. Be warned, I haven't tested it, not sure what the challenge is like, but might as well be a good place to start. Good luck! -- Henrik Austad

Re: [RFC][PATCH] clocksource: avoid unnecessary overflow in cyclecounter_cyc2ns()

2014-03-03 Thread Henrik Austad
< cc->shift) - 1); > + > + return quot * cc->mult + ((rem * cc->mult) >> cc->shift); > } Makes sense to me, for whatever that's worth :) Also, tile could probably do with a similar approach for ns2cycles (not that I have observed any problems, but in the sen

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-03-03 Thread Henrik Austad
On Sat, Mar 01, 2014 at 12:08:36AM +0100, Frederic Weisbecker wrote: > On Fri, Feb 28, 2014 at 10:40:35AM +0100, Henrik Austad wrote: > > On Thu, Feb 27, 2014 at 02:56:20PM +0100, Frederic Weisbecker wrote: > > > Right, or timekeeper_cpumask. > > > > Right, pay

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-03-03 Thread Henrik Austad
On Sat, Mar 01, 2014 at 12:08:36AM +0100, Frederic Weisbecker wrote: On Fri, Feb 28, 2014 at 10:40:35AM +0100, Henrik Austad wrote: On Thu, Feb 27, 2014 at 02:56:20PM +0100, Frederic Weisbecker wrote: Right, or timekeeper_cpumask. Right, paying some attention to a proper, descriptive

Re: [RFC][PATCH] clocksource: avoid unnecessary overflow in cyclecounter_cyc2ns()

2014-03-03 Thread Henrik Austad
with a similar approach for ns2cycles (not that I have observed any problems, but in the sense of being consistent and all). I'll send a patch in a separate email as not to clutter this thread too much :) -- Henrik Austad -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-28 Thread Henrik Austad
On Thu, Feb 27, 2014 at 02:56:20PM +0100, Frederic Weisbecker wrote: > On Thu, Feb 27, 2014 at 09:37:35AM +0100, Henrik Austad wrote: > > On Wed, Feb 26, 2014 at 02:02:42PM +0100, Frederic Weisbecker wrote: > > > > > > -1 could be an option but hmm... >

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-28 Thread Henrik Austad
On Thu, Feb 27, 2014 at 02:56:20PM +0100, Frederic Weisbecker wrote: On Thu, Feb 27, 2014 at 09:37:35AM +0100, Henrik Austad wrote: On Wed, Feb 26, 2014 at 02:02:42PM +0100, Frederic Weisbecker wrote: -1 could be an option but hmm... I don't really like -1, that indicates

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-27 Thread Henrik Austad
On Wed, Feb 26, 2014 at 02:02:42PM +0100, Frederic Weisbecker wrote: > On Wed, Feb 26, 2014 at 09:16:03AM +0100, Henrik Austad wrote: > > On Tue, Feb 25, 2014 at 03:19:09PM +0100, Frederic Weisbecker wrote: > > > On Tue, Feb 25, 2014 at 01:33:55PM +0100, Henrik Austad wrote: &g

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-27 Thread Henrik Austad
On Wed, Feb 26, 2014 at 02:02:42PM +0100, Frederic Weisbecker wrote: On Wed, Feb 26, 2014 at 09:16:03AM +0100, Henrik Austad wrote: On Tue, Feb 25, 2014 at 03:19:09PM +0100, Frederic Weisbecker wrote: On Tue, Feb 25, 2014 at 01:33:55PM +0100, Henrik Austad wrote: From: Henrik Austad haus

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-26 Thread Henrik Austad
On Tue, Feb 25, 2014 at 03:19:09PM +0100, Frederic Weisbecker wrote: > On Tue, Feb 25, 2014 at 01:33:55PM +0100, Henrik Austad wrote: > > From: Henrik Austad > > > > Hi! > > > > This is a rework of the preiovus patch based on the feedback gathered > > from

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-26 Thread Henrik Austad
On Tue, Feb 25, 2014 at 03:19:09PM +0100, Frederic Weisbecker wrote: On Tue, Feb 25, 2014 at 01:33:55PM +0100, Henrik Austad wrote: From: Henrik Austad haus...@cisco.com Hi! This is a rework of the preiovus patch based on the feedback gathered from the last round. I've split it up

[PATCH 3/6] Expose do_timer CPU as RO variable to userspace via sysctl

2014-02-25 Thread Henrik Austad
From: Henrik Austad This allows userspace to see which CPU is currently responsible for handling the do_timer update of the time machinery. sysctl kernel.current_timer_cpu /proc/sys/kernel/current_timer_cpu Note that this value can be fleeting if CONFIG_NO_HZ_FULL is enabled

[PATCH 4/6] Force a specific CPU to handle all do_timer() events.

2014-02-25 Thread Henrik Austad
From: Henrik Austad By default, this is disabled (set to -1) and must be explicitly set in order to have an effect. The CPU must be online. If the specified CPU is part of the NO_HZ_FULL set, it is removed from the set. When forced tick is either disabled or moved to another CPU, it will try

[PATCH 5/6] Expose the forced_timer_cpu to userspace via sysctl as R/W

2014-02-25 Thread Henrik Austad
From: Henrik Austad This allows userspace to set a specific CPU as the only core able to handle do_timer() updates via cat sysctl kernel.forced_timer_cpu /proc/sys/kernel/forced_timer_cpu and for writing: sysctl -w kernel.forced_timer_cpu=2 /bin/echo 2 > /proc/sys/ker

[PATCH 6/6] Expose tick_set_forced_cpu() via sysfs

2014-02-25 Thread Henrik Austad
From: Henrik Austad This allows userspace to set the forced CPU via sysfs in /sys/kernel/timekeeping/forced_cpu. CC: Thomas Gleixner CC: Peter Zijlstra CC: Frederic Weisbecker CC: John Stultz CC: Paul E. McKenney Signed-off-by: Henrik Austad --- kernel/time/timekeeping.c | 36

[PATCH 1/6] Expose do_timer CPU from tick-common

2014-02-25 Thread Henrik Austad
have timer-interrupts disabled. As for NO_HZ_IDLE, timer CPU will change often. CC: Thomas Gleixner CC: Peter Zijlstra CC: Frederic Weisbecker CC: John Stultz Signed-off-by: Henrik Austad --- kernel/time/tick-common.c | 12 kernel/time/tick-internal.h |1 + 2 files

[PATCH 2/6] Add sysfs RO interface to tick_do_timer_cpu

2014-02-25 Thread Henrik Austad
Most of this is 'extras' needed in order to get sysfs working. CC: Thomas Gleixner CC: Peter Zijlstra CC: Frederic Weisbecker CC: John Stultz Signed-off-by: Henrik Austad --- kernel/time/timekeeping.c | 43 +++ 1 file changed, 43 insertions

[PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-25 Thread Henrik Austad
From: Henrik Austad Hi! This is a rework of the preiovus patch based on the feedback gathered from the last round. I've split it up a bit, mostly to make it easier to single out the parts that require more attention (#4 comes to mind). Being able to read (and possible force a specific CPU

[PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-25 Thread Henrik Austad
From: Henrik Austad haus...@cisco.com Hi! This is a rework of the preiovus patch based on the feedback gathered from the last round. I've split it up a bit, mostly to make it easier to single out the parts that require more attention (#4 comes to mind). Being able to read (and possible force

[PATCH 2/6] Add sysfs RO interface to tick_do_timer_cpu

2014-02-25 Thread Henrik Austad
Most of this is 'extras' needed in order to get sysfs working. CC: Thomas Gleixner t...@linutronix.de CC: Peter Zijlstra pet...@infradead.org CC: Frederic Weisbecker fweis...@gmail.com CC: John Stultz john.stu...@linaro.org Signed-off-by: Henrik Austad haus...@cisco.com --- kernel/time

[PATCH 1/6] Expose do_timer CPU from tick-common

2014-02-25 Thread Henrik Austad
have timer-interrupts disabled. As for NO_HZ_IDLE, timer CPU will change often. CC: Thomas Gleixner t...@linutronix.de CC: Peter Zijlstra pet...@infradead.org CC: Frederic Weisbecker fweis...@gmail.com CC: John Stultz john.stu...@linaro.org Signed-off-by: Henrik Austad haus...@cisco.com

[PATCH 6/6] Expose tick_set_forced_cpu() via sysfs

2014-02-25 Thread Henrik Austad
From: Henrik Austad haus...@cisco.com This allows userspace to set the forced CPU via sysfs in /sys/kernel/timekeeping/forced_cpu. CC: Thomas Gleixner t...@linutronix.de CC: Peter Zijlstra pet...@infradead.org CC: Frederic Weisbecker fweis...@gmail.com CC: John Stultz john.stu...@linaro.org CC

[PATCH 3/6] Expose do_timer CPU as RO variable to userspace via sysctl

2014-02-25 Thread Henrik Austad
From: Henrik Austad haus...@cisco.com This allows userspace to see which CPU is currently responsible for handling the do_timer update of the time machinery. sysctl kernel.current_timer_cpu /proc/sys/kernel/current_timer_cpu Note that this value can be fleeting if CONFIG_NO_HZ_FULL

[PATCH 4/6] Force a specific CPU to handle all do_timer() events.

2014-02-25 Thread Henrik Austad
From: Henrik Austad haus...@cisco.com By default, this is disabled (set to -1) and must be explicitly set in order to have an effect. The CPU must be online. If the specified CPU is part of the NO_HZ_FULL set, it is removed from the set. When forced tick is either disabled or moved to another

[PATCH 5/6] Expose the forced_timer_cpu to userspace via sysctl as R/W

2014-02-25 Thread Henrik Austad
From: Henrik Austad haus...@cisco.com This allows userspace to set a specific CPU as the only core able to handle do_timer() updates via cat sysctl kernel.forced_timer_cpu /proc/sys/kernel/forced_timer_cpu and for writing: sysctl -w kernel.forced_timer_cpu=2 /bin/echo 2

Re: [PATCH Resend] Expose do_timer CPU via sysctl to userspace as R/W

2014-02-19 Thread Henrik Austad
On Wed, Feb 19, 2014 at 05:42:07PM +0100, Thomas Gleixner wrote: > On Wed, 19 Feb 2014, hen...@austad.us wrote: > > From: Henrik Austad > > > > Looks like this got dropped by vger a few days ago, resending. > > > > This allows everybody in a system to read wh

Re: [PATCH Resend] Expose do_timer CPU via sysctl to userspace as R/W

2014-02-19 Thread Henrik Austad
On Wed, Feb 19, 2014 at 05:42:07PM +0100, Thomas Gleixner wrote: On Wed, 19 Feb 2014, hen...@austad.us wrote: From: Henrik Austad haus...@cisco.com Looks like this got dropped by vger a few days ago, resending. This allows everybody in a system to read which core is currently

Re: [PATCH] sched/core: fix sched_rt_global_validate

2014-02-03 Thread Henrik Austad
On Mon, Feb 03, 2014 at 11:14:05AM +0100, Juri Lelli wrote: > On 02/03/2014 10:53 AM, Henrik Austad wrote: > > On Fri, Jan 31, 2014 at 05:43:27PM +0100, Juri Lelli wrote: > >> Don't compare sysctl_sched_rt_runtime against sysctl_sched_rt_period if > >> the former is equa

Re: [PATCH] sched/core: fix sched_rt_global_validate

2014-02-03 Thread Henrik Austad
art of this test will always be true. Or have I suffered catastrophic monday-morning braindamage? -- Henrik Austad -- 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: [PATCH] sched/core: fix sched_rt_global_validate

2014-02-03 Thread Henrik Austad
catastrophic monday-morning braindamage? -- Henrik Austad -- 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: [PATCH] sched/core: fix sched_rt_global_validate

2014-02-03 Thread Henrik Austad
On Mon, Feb 03, 2014 at 11:14:05AM +0100, Juri Lelli wrote: On 02/03/2014 10:53 AM, Henrik Austad wrote: On Fri, Jan 31, 2014 at 05:43:27PM +0100, Juri Lelli wrote: Don't compare sysctl_sched_rt_runtime against sysctl_sched_rt_period if the former is equal to RUNTIME_INF, otherwise

Re: [PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-02-01 Thread Henrik Austad
On Fri, Jan 31, 2014 at 02:24:42PM -0800, Andrew Morton wrote: > On Wed, 29 Jan 2014 22:24:11 -0600 Rob Landley wrote: > > > On 01/29/14 18:27, Henrik Austad wrote: > > > Some of the 00-INDEX files are somewhat outdated and some folders does not > > > contain

Re: [PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-02-01 Thread Henrik Austad
On Fri, Jan 31, 2014 at 02:24:42PM -0800, Andrew Morton wrote: On Wed, 29 Jan 2014 22:24:11 -0600 Rob Landley r...@landley.net wrote: On 01/29/14 18:27, Henrik Austad wrote: Some of the 00-INDEX files are somewhat outdated and some folders does not contain 00-INDEX at all. Only outdated

Re: [PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-01-29 Thread Henrik Austad
that? Ahem, yes, but not anymore. Leftovers from my initial index-traverse.py hack. Updated patch below. henrik >From 78882b49b0910079aa574781accc9426e215ac78 Mon Sep 17 00:00:00 2001 From: Henrik Austad Date: Thu, 31 Oct 2013 14:19:10 +0100 Subject: [PATCH] Documentation cleanup, update

[PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-01-29 Thread Henrik Austad
ler CC: Mark Brown CC: "H. Peter Anvin" CC: Ingo Molnar CC: Gleb Natapov CC: Linus Torvalds CC: Len Brown CC: Andrew Morton CC: James Bottomley CC: Jean-Christophe Plagniol-Villard Signed-off-by: Henrik Austad --- Documentation/00-INDEX

[PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-01-29 Thread Henrik Austad
Brown len.br...@intel.com CC: Andrew Morton a...@linux-foundation.org CC: James Bottomley jbottom...@parallels.com CC: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Signed-off-by: Henrik Austad hen...@austad.us --- Documentation/00-INDEX | 36

Re: [PATCH] Documentation cleanup, update 00-INDEX files in Documentation/

2014-01-29 Thread Henrik Austad
78882b49b0910079aa574781accc9426e215ac78 Mon Sep 17 00:00:00 2001 From: Henrik Austad hen...@austad.us Date: Thu, 31 Oct 2013 14:19:10 +0100 Subject: [PATCH] Documentation cleanup, update 00-INDEX files in Documentation/ Some of the 00-INDEX files are somewhat outdated and some folders does not contain 00-INDEX at all. Only

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-27 Thread Henrik Austad
On Mon, Jan 27, 2014 at 01:30:42PM +0100, Luca Abeni wrote: > Hi Henrik, > > On 01/27/2014 12:53 PM, Henrik Austad wrote: > [...] > >>+ In more details, the CBS algorithm assigns scheduling deadlines to > >>+ tasks in the following way: > >>+ > >&g

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-27 Thread Henrik Austad
some demonstrative code soon; > + - (c)group based bandwidth management, and maybe scheduling; > + - access control for non-root users (and related security concerns to > +address), which is the best way to allow unprivileged use of the > mechanisms > +and how to prevent no

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-27 Thread Henrik Austad
-- To unsubscribe from this list: send the line unsubscribe linux-doc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Nice! /me is very happy Reviewed-by: Henrik Austad hen...@austad.us -- Henrik Austad signature.asc

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-27 Thread Henrik Austad
On Mon, Jan 27, 2014 at 01:30:42PM +0100, Luca Abeni wrote: Hi Henrik, On 01/27/2014 12:53 PM, Henrik Austad wrote: [...] + In more details, the CBS algorithm assigns scheduling deadlines to + tasks in the following way: + + - Each SCHED_DEADLINE task is characterised by the runtime

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-21 Thread Henrik Austad
On Mon, Jan 20, 2014 at 12:24:42PM +0100, Henrik Austad wrote: > On Mon, Jan 20, 2014 at 11:40:40AM +0100, Juri Lelli wrote: > > From: Dario Faggioli > > > > Add in Documentation/scheduler/ some hints about the design > > choices, the usage and the f

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-21 Thread Henrik Austad
On Mon, Jan 20, 2014 at 02:39:29PM +0100, Luca Abeni wrote: > Hi all, > > On 01/20/2014 02:16 PM, Henrik Austad wrote: > [...] > >>>>+ The typical -deadline task is composed of a computation phase (instance) > >>>>+ which is activated on a

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-21 Thread Henrik Austad
On Mon, Jan 20, 2014 at 02:39:29PM +0100, Luca Abeni wrote: Hi all, On 01/20/2014 02:16 PM, Henrik Austad wrote: [...] + The typical -deadline task is composed of a computation phase (instance) + which is activated on a periodic or sporadic fashion. The expected (maximum) + duration

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-21 Thread Henrik Austad
On Mon, Jan 20, 2014 at 12:24:42PM +0100, Henrik Austad wrote: On Mon, Jan 20, 2014 at 11:40:40AM +0100, Juri Lelli wrote: From: Dario Faggioli raist...@linux.it Add in Documentation/scheduler/ some hints about the design choices, the usage and the future possible developments

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Henrik Austad
On Mon, Jan 20, 2014 at 01:15:51PM +0100, Juri Lelli wrote: > On 01/20/2014 12:24 PM, Henrik Austad wrote: > > On Mon, Jan 20, 2014 at 11:40:40AM +0100, Juri Lelli wrote: > >> From: Dario Faggioli > >> > >> Add in Documentation/scheduler/ some hints abou

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Henrik Austad
> @@ -351,7 +351,8 @@ static void replenish_dl_entity(struct sched_dl_entity > *dl_se, > * disrupting the schedulability of the system. Otherwise, we should > * refill the runtime and set the deadline a period in the future, > * because keeping the current (absolute) deadline of the task would > - * result in breaking guarantees promised to other tasks. > + * result in breaking guarantees promised to other tasks (refer to > + * Documentation/scheduler/sched-deadline.txt for more informations). > * > * This function returns true if: > * > -- > 1.7.9.5 > > -- > 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/ -- Henrik Austad signature.asc Description: Digital signature

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Henrik Austad
On Mon, Jan 20, 2014 at 01:15:51PM +0100, Juri Lelli wrote: On 01/20/2014 12:24 PM, Henrik Austad wrote: On Mon, Jan 20, 2014 at 11:40:40AM +0100, Juri Lelli wrote: From: Dario Faggioli raist...@linux.it Add in Documentation/scheduler/ some hints about the design choices, the usage

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Henrik Austad
://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Henrik Austad signature.asc Description: Digital signature

Re: [PATCH v4 tip/core/locking 0/4] Memory-barrier documentation updates

2013-12-05 Thread Henrik Austad
uations > requiring its use. This was very useful, thanks! :) -- Henrik Austad -- 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: [PATCH v4 tip/core/locking 0/4] Memory-barrier documentation updates

2013-12-05 Thread Henrik Austad
useful, thanks! :) -- Henrik Austad -- 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/

[tip:core/locking] Documentation/robust-futex-API: Count properly to 4

2013-11-30 Thread tip-bot for Henrik Austad
Commit-ID: 854ff82ab085aed7509f6fb90f79ce6c41ee1fa4 Gitweb: http://git.kernel.org/tip/854ff82ab085aed7509f6fb90f79ce6c41ee1fa4 Author: Henrik Austad AuthorDate: Wed, 27 Nov 2013 23:18:00 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Nov 2013 14:08:28 +0100 Documentation/robust

[tip:core/locking] Documentation/robust-futex-API: Count properly to 4

2013-11-30 Thread tip-bot for Henrik Austad
Commit-ID: 854ff82ab085aed7509f6fb90f79ce6c41ee1fa4 Gitweb: http://git.kernel.org/tip/854ff82ab085aed7509f6fb90f79ce6c41ee1fa4 Author: Henrik Austad hen...@austad.us AuthorDate: Wed, 27 Nov 2013 23:18:00 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sat, 30 Nov 2013 14:08:28

[PATCH] Documentation/robust-futex-API: count properly to 4

2013-11-27 Thread Henrik Austad
list :-) This changes the numbered list 1,2,2,2 to the more intuitive 1,2,3,4. Introduces in 2eec9ad9 (lightweight robust futexes: docs) CC: Ingo Molnar Signed-off-by: Henrik Austad --- Documentation/robust-futex-ABI.txt |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] Documentation/robust-futex-API: count properly to 4

2013-11-27 Thread Henrik Austad
list :-) This changes the numbered list 1,2,2,2 to the more intuitive 1,2,3,4. Introduces in 2eec9ad9 (lightweight robust futexes: docs) CC: Ingo Molnar mi...@elte.hu Signed-off-by: Henrik Austad hen...@austad.us --- Documentation/robust-futex-ABI.txt |4 ++-- 1 file changed, 2 insertions

Re: Updating 00-INDEX in Documentation/*

2013-11-18 Thread Henrik Austad
On Thu, Nov 14, 2013 at 11:09:03PM -0600, Rob Landley wrote: > On 10/28/2013 08:05:11 AM, Henrik Austad wrote: > >Hi Rob, Jiri > >Hacking away at python shows me that of the 254 subfolders 57 has > >outdated > >00-INDEX, either with missing files, or files that has be

Re: Updating 00-INDEX in Documentation/*

2013-11-18 Thread Henrik Austad
On Thu, Nov 14, 2013 at 11:09:03PM -0600, Rob Landley wrote: On 10/28/2013 08:05:11 AM, Henrik Austad wrote: Hi Rob, Jiri Hacking away at python shows me that of the 254 subfolders 57 has outdated 00-INDEX, either with missing files, or files that has been removed. (see list below) I'm

Updating 00-INDEX in Documentation/*

2013-10-28 Thread Henrik Austad
: (0/4) arm: (10/7) fb: (3/3) power: (1/2) mmc: (4/0) w1: (2/0) w1/masters: (1/2) w1/slaves: (0/1) powerpc: (4/0) x86: (0/8) -- Henrik Austad signature.asc Description: Digital signature

Updating 00-INDEX in Documentation/*

2013-10-28 Thread Henrik Austad
: (0/4) arm: (10/7) fb: (3/3) power: (1/2) mmc: (4/0) w1: (2/0) w1/masters: (1/2) w1/slaves: (0/1) powerpc: (4/0) x86: (0/8) -- Henrik Austad signature.asc Description: Digital signature

[PATCH] Documentation: add missing files to timers/00-INDEX

2013-10-26 Thread Henrik Austad
From: Henrik Austad - timers-howto was added by commit 0fcb8081 (Documentation: Add timers/timers-howto.txt) - NO_HZ was added by commit 0c87f9b5 (nohz_full: Add documentation.) Cc: Patrick Pannuto Cc: Paul E. McKenney Cc: Jiri Kosina Signed-off-by: Henrik Austad --- Documentation/timers

[PATCH] Documentation: add missing files to timers/00-INDEX

2013-10-26 Thread Henrik Austad
From: Henrik Austad haus...@cisco.com - timers-howto was added by commit 0fcb8081 (Documentation: Add timers/timers-howto.txt) - NO_HZ was added by commit 0c87f9b5 (nohz_full: Add documentation.) Cc: Patrick Pannuto ppann...@codeaurora.org Cc: Paul E. McKenney paul...@linux.vnet.ibm.com Cc

[PATCH] mm: update 00-INDEX

2013-09-11 Thread Henrik Austad
or user memory changes tracking") 61b0d760 ("zswap: add documentation") 27c6aec2 ("mm: frontswap: config and doc files") Add the missing documentation-files with a short description to 00-INDEX Signed-off-by: Henrik Austad --- Documentation/vm/00-INDEX | 20 +++

[PATCH] mm: update 00-INDEX

2013-09-11 Thread Henrik Austad
documentation) 27c6aec2 (mm: frontswap: config and doc files) Add the missing documentation-files with a short description to 00-INDEX Signed-off-by: Henrik Austad hen...@austad.us --- Documentation/vm/00-INDEX | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git

[PATCH] mm: update 00-INDEX

2013-09-09 Thread Henrik Austad
From: Henrik Austad The following files moved files out of Documentation/vm/ c6dd897f ("mm: move page-types.c from Documentation to tools/vm") f0f57b2b ("move hugepage test examples to tools/testing/selftests/vm) Remove these files from vm/00-INDEX. The following commits add

[PATCH] mm: update 00-INDEX

2013-09-09 Thread Henrik Austad
From: Henrik Austad hen...@austad.us The following files moved files out of Documentation/vm/ c6dd897f (mm: move page-types.c from Documentation to tools/vm) f0f57b2b (move hugepage test examples to tools/testing/selftests/vm) Remove these files from vm/00-INDEX. The following commits added new

Re: scheduler context

2013-04-23 Thread Henrik Austad
our question - if you get an excessive amount of interrupts whilst in the middle of softirq processing, all you get is a set of raised softirqs which will cause __do_softirq() to loop 10 times before offloading the work to ksoftirqd. -- Henrik Austad signature.asc Description: Digital signature

Re: scheduler context

2013-04-23 Thread Henrik Austad
of softirq processing, all you get is a set of raised softirqs which will cause __do_softirq() to loop 10 times before offloading the work to ksoftirqd. -- Henrik Austad signature.asc Description: Digital signature

[PATCH] tile: ns2cycles should use __raw_get_cpu_var

2013-03-26 Thread Henrik Austad
0xfe407993fab8) frame 3: 0xfff7004dc578 __ndelay+0x38/0x80 (sp 0xfe407993fae0) However, in this case: - the frequency is the same accross all cores - we use the data read-only - we do not scale the frequency Which means that we can use the __raw_get_cpu_var instead. Signed-off-by: Henrik

[PATCH] tile: ns2cycles should use __raw_get_cpu_var

2013-03-26 Thread Henrik Austad
0xfe407993fab8) frame 3: 0xfff7004dc578 __ndelay+0x38/0x80 (sp 0xfe407993fae0) However, in this case: - the frequency is the same accross all cores - we use the data read-only - we do not scale the frequency Which means that we can use the __raw_get_cpu_var instead. Signed-off-by: Henrik

[PATCH] tile: ns2cycles should use __raw_get_cpu_var

2013-03-23 Thread Henrik Austad
0xfe407993fab8) frame 3: 0xfff7004dc578 __ndelay+0x38/0x80 (sp 0xfe407993fae0) However, in this case: - the frequency is the same accross all cores - we use the data read-only - we do not scale the frequency Which means that we can use the __raw_get_cpu_var instead. Signed-off-by: Henrik

[PATCH] tile: ns2cycles should use __raw_get_cpu_var

2013-03-23 Thread Henrik Austad
0xfe407993fab8) frame 3: 0xfff7004dc578 __ndelay+0x38/0x80 (sp 0xfe407993fae0) However, in this case: - the frequency is the same accross all cores - we use the data read-only - we do not scale the frequency Which means that we can use the __raw_get_cpu_var instead. Signed-off-by: Henrik

[PATCH] tile: ns2cycles must be called with preempt disabled.

2013-03-22 Thread Henrik Austad
lockups without being able to preempt the thread at all. Signed-off-by: Henrik Austad --- arch/tile/lib/delay.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/tile/lib/delay.c b/arch/tile/lib/delay.c index cdacdd1..a53cdcd 100644 --- a/arch/tile/lib/delay.c +++ b

[PATCH] tile: ns2cycles must be called with preempt disabled.

2013-03-22 Thread Henrik Austad
lockups without being able to preempt the thread at all. Signed-off-by: Henrik Austad haus...@cisco.com --- arch/tile/lib/delay.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/tile/lib/delay.c b/arch/tile/lib/delay.c index cdacdd1..a53cdcd 100644 --- a/arch/tile

<    1   2   3