Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 291063 Details for
Bug 427998
RHEL4: Can enter no tick idle mode with RCU pending leading to hang
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
git 677517771b7b6efaf8617e70f655b16f3cafcc9b backported to 2.6.9-67.EL
git-677517771b7b6efaf8617e70f655b16f3cafcc9b (text/plain), 2.75 KB, created by
Ian Campbell
on 2008-01-08 16:21:19 UTC
(
hide
)
Description:
git 677517771b7b6efaf8617e70f655b16f3cafcc9b backported to 2.6.9-67.EL
Filename:
MIME Type:
Creator:
Ian Campbell
Created:
2008-01-08 16:21:19 UTC
Size:
2.75 KB
patch
obsolete
>commit 677517771b7b6efaf8617e70f655b16f3cafcc9b >Author: Oleg Nesterov <oleg@tv-sign.ru> >Date: Sun Jan 8 22:19:16 2006 +0300 > > [PATCH] rcu: uninline __rcu_pending() > > __rcu_pending() is rather fat and called twice from rcu_pending(). > > rcu_pending() has multiple callers, and not that small too. > > This patch uninlines both of them. > > Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> > Acked-by: Paul E. McKenney <paulmck@us.ibm.com> > Signed-off-by: Linus Torvalds <torvalds@osdl.org> > >diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h >index 51747cd..a1d26cb 100644 >--- a/include/linux/rcupdate.h >+++ b/include/linux/rcupdate.h >@@ -125,36 +125,7 @@ static inline void rcu_bh_qsctr_inc(int cpu) > rdp->passed_quiesc = 1; > } > >-static inline int __rcu_pending(struct rcu_ctrlblk *rcp, >- struct rcu_data *rdp) >-{ >- /* This cpu has pending rcu entries and the grace period >- * for them has completed. >- */ >- if (rdp->curlist && !rcu_batch_before(rcp->completed, rdp->batch)) >- return 1; >- >- /* This cpu has no pending entries, but there are new entries */ >- if (!rdp->curlist && rdp->nxtlist) >- return 1; >- >- /* This cpu has finished callbacks to invoke */ >- if (rdp->donelist) >- return 1; >- >- /* The rcu core waits for a quiescent state from the cpu */ >- if (rdp->quiescbatch != rcp->cur || rdp->qs_pending) >- return 1; >- >- /* nothing to do */ >- return 0; >-} >- >-static inline int rcu_pending(int cpu) >-{ >- return __rcu_pending(&rcu_ctrlblk, &per_cpu(rcu_data, cpu)) || >- __rcu_pending(&rcu_bh_ctrlblk, &per_cpu(rcu_bh_data, cpu)); >-} >+extern int rcu_pending(int cpu); > > /** > * rcu_read_lock - mark the beginning of an RCU read-side critical section. >diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c >index 30b0bba..ccc45d4 100644 >--- a/kernel/rcupdate.c >+++ b/kernel/rcupdate.c >@@ -429,6 +429,36 @@ static void rcu_process_callbacks(unsigned long unused) > &__get_cpu_var(rcu_bh_data)); > } > >+static int __rcu_pending(struct rcu_ctrlblk *rcp, struct rcu_data *rdp) >+{ >+ /* This cpu has pending rcu entries and the grace period >+ * for them has completed. >+ */ >+ if (rdp->curlist && !rcu_batch_before(rcp->completed, rdp->batch)) >+ return 1; >+ >+ /* This cpu has no pending entries, but there are new entries */ >+ if (!rdp->curlist && rdp->nxtlist) >+ return 1; >+ >+ /* This cpu has finished callbacks to invoke */ >+ if (rdp->donelist) >+ return 1; >+ >+ /* The rcu core waits for a quiescent state from the cpu */ >+ if (rdp->quiescbatch != rcp->cur || rdp->qs_pending) >+ return 1; >+ >+ /* nothing to do */ >+ return 0; >+} >+ >+int rcu_pending(int cpu) >+{ >+ return __rcu_pending(&rcu_ctrlblk, &per_cpu(rcu_data, cpu)) || >+ __rcu_pending(&rcu_bh_ctrlblk, &per_cpu(rcu_bh_data, cpu)); >+} >+ > void rcu_check_callbacks(int cpu, int user) > { > if (user ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 427998
: 291063 |
291064
|
291065
|
291066