lkml.org 
[lkml]   [2015]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] rcusync: Fix fast/slowpath comments for rcu_sync_exit
Date
The whole purpose of this function is to re-enable the fastpath,
so fix the comment along with a s/patch/path typo fix.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
---
kernel/rcu/sync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/rcu/sync.c b/kernel/rcu/sync.c
index be922c9..cc09754 100644
--- a/kernel/rcu/sync.c
+++ b/kernel/rcu/sync.c
@@ -90,7 +90,7 @@ void rcu_sync_init(struct rcu_sync *rsp, enum rcu_sync_type type)
* a slowpath during the update. After this function returns, all
* subsequent calls to rcu_sync_is_idle() will return false, which
* tells readers to stay off their fastpaths. A later call to
- * rcu_sync_exit() re-enables reader slowpaths.
+ * rcu_sync_exit() re-enables the reader fastpaths.
*
* When called in isolation, rcu_sync_enter() must wait for a grace
* period, however, closely spaced calls to rcu_sync_enter() can
@@ -177,7 +177,7 @@ static void rcu_sync_func(struct rcu_head *rcu)
}

/**
- * rcu_sync_exit() - Allow readers back onto fast patch after grace period
+ * rcu_sync_exit() - Allow readers back onto fastpath after grace period
* @rsp: Pointer to rcu_sync structure to use for synchronization
*
* This function is used by updaters who have completed, and can therefore
--
2.1.4


\
 
 \ /
  Last update: 2015-12-11 19:01    [W:0.037 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site