login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
3
Re: [PATCH RFC -rt] Allow rcutorture to handle synchronize_sched()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Josh Triplett <josht@...>
To: <paulmck@...>
Cc: <linux-rt-users@...>, <linux-kernel@...>, <mingo@...>, <dipankar@...>, <ego@...>, <vatsa@...>
Subject:
Re: [PATCH RFC -rt] Allow rcutorture to handle synchronize_sched()
Date: Friday, August 3, 2007 - 6:38 pm
On Fri, 2007-08-03 at 11:44 -0700, Paul E. McKenney wrote:
quoted text
> The rcutorture module uses a random-number generator that periodically > calls get_random_bytes() to add entropy. This random-number generator > is invoked from within the RCU read-side critical section, which, in the > case of the synchronize_sched() variant of RCU, has preeemption disabled. > Unfortunately, get_random_bytes() ends up acquiring normal spinlocks, > which can block in -rt, resulting in very large numbers of "scheduling > while atomic" messages. > > This patch takes a very crude approach, simply substituting the time > of day for get_random_bytes(). > > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Josh Triplett <josh@kernel.org> -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH RFC -rt] Allow rcutorture to handle synchronize_sched()
, Paul E. McKenney
, (Fri Aug 3, 2:44 pm)
Re: [PATCH RFC -rt] Allow rcutorture to handle synchronize_s...
, Josh Triplett
, (Fri Aug 3, 6:38 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric Sandeen
Re: [RFC] Heads up on sys_fallocate()
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt
Andrew Morton
-mm merge plans for 2.6.23
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
843 guests
online.
Online users
strcmp
Syndicate