Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500AbbLKRfl (ORCPT ); Fri, 11 Dec 2015 12:35:41 -0500 Received: from smtp2.provo.novell.com ([137.65.250.81]:37156 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbbLKRfk (ORCPT ); Fri, 11 Dec 2015 12:35:40 -0500 From: Davidlohr Bueso To: oleg@redhat.com, paulmck@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, dave@stgolabs.net, Davidlohr Bueso Subject: [PATCH] rcusync: Fix fast/slowpath comments for rcu_sync_exit Date: Fri, 11 Dec 2015 09:35:09 -0800 Message-Id: <1449855309-25313-1-git-send-email-dave@stgolabs.net> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1536 Lines: 38 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 --- 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 -- 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/