- rcu-introduce-rcu_needs_cpu-interface-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     RCU: add comments to rcu_pending/rcu_needs_cpu

has been removed from the -mm tree.  Its filename is

     rcu-introduce-rcu_needs_cpu-interface-fix.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.


From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

Add some comments to rcu_pending() and rcu_needs_cpu().

Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/rcupdate.c |   11 +++++++++++
 1 files changed, 11 insertions(+)

diff -puN kernel/rcupdate.c~rcu-introduce-rcu_needs_cpu-interface-fix kernel/rcupdate.c
--- 25/kernel/rcupdate.c~rcu-introduce-rcu_needs_cpu-interface-fix	Mon May  1 15:14:28 2006
+++ 25-akpm/kernel/rcupdate.c	Mon May  1 15:14:44 2006
@@ -479,12 +479,23 @@ static int __rcu_pending(struct rcu_ctrl
 	return 0;
 }
 
+/*
+ * Check to see if there is any immediate RCU-related work to be done
+ * by the current CPU, returning 1 if so.  This function is part of the
+ * RCU implementation; it is -not- an exported member of the RCU API.
+ */
 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));
 }
 
+/*
+ * Check to see if any future RCU-related work will need to be done
+ * by the current CPU, even if none need be done immediately, returning
+ * 1 if so.  This function is part of the RCU implementation; it is -not-
+ * an exported member of the RCU API.
+ */
 int rcu_needs_cpu(int cpu)
 {
 	struct rcu_data *rdp = &per_cpu(rcu_data, cpu);
_

Patches currently in -mm which might be from heiko.carstens@xxxxxxxxxx are

rcu-introduce-rcu_needs_cpu-interface.patch
rcu-introduce-rcu_needs_cpu-interface-fix.patch
s390-exploit-rcu_needs_cpu-interface.patch
s390-lcs-incorrect-test.patch
git-klibc.patch
adjust-handle_irr_event-return-type.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux