From: "Paul E. McKenney" <paulmck@kernel.org>
To: Phong Tran <tranmanphong@gmail.com>
Cc: madhuparnabhowmik04@gmail.com, joel@joelfernandes.org,
corbet@lwn.net, rcu@vger.kernel.org,
linux-kernel-mentees@lists.linuxfoundation.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [Linux-kernel-mentees] [PATCH] Documentation: RCU: NMI-RCU: Converted NMI-RCU.txt to NMI-RCU.rst.
Date: Tue, 5 Nov 2019 06:05:35 -0800 [thread overview]
Message-ID: <20191105140535.GP20975@paulmck-ThinkPad-P72> (raw)
In-Reply-To: <7b9f5499-bd03-8405-52f5-1fb94e9d85dc@gmail.com>
On Tue, Nov 05, 2019 at 09:02:46PM +0700, Phong Tran wrote:
> On 11/5/19 8:55 PM, Paul E. McKenney wrote:
> > On Tue, Nov 05, 2019 at 08:40:05PM +0700, Phong Tran wrote:
> > > On 10/29/19 4:42 AM, madhuparnabhowmik04@gmail.com wrote:
> > > > From: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
> > > >
> > > > This patch converts NMI-RCU from txt to rst format.
> > > > Also adds NMI-RCU in the index.rst file.
> > > >
> > > > Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
> > > > -- > .../RCU/{NMI-RCU.txt => NMI-RCU.rst} | 53 ++++++++++---------
> > > > Documentation/RCU/index.rst | 1 +
> > > > 2 files changed, 29 insertions(+), 25 deletions(-)
> > > > rename Documentation/RCU/{NMI-RCU.txt => NMI-RCU.rst} (73%)
> > > >
> > > > diff --git a/Documentation/RCU/NMI-RCU.txt b/Documentation/RCU/NMI-RCU.rst
> > > > similarity index 73%
> > > > rename from Documentation/RCU/NMI-RCU.txt
> > > > rename to Documentation/RCU/NMI-RCU.rst
> > > > index 881353fd5bff..da5861f6a433 100644
> > > > --- a/Documentation/RCU/NMI-RCU.txt
> > > > +++ b/Documentation/RCU/NMI-RCU.rst
> > > > @@ -1,4 +1,7 @@
> > > > +.. _NMI_rcu_doc:
> > > > +
> > > > Using RCU to Protect Dynamic NMI Handlers
> > > > +=========================================
> > > > Although RCU is usually used to protect read-mostly data structures,
> > > > @@ -9,7 +12,7 @@ work in "arch/x86/oprofile/nmi_timer_int.c" and in
> > > > "arch/x86/kernel/traps.c".
> > > > The relevant pieces of code are listed below, each followed by a
> > > > -brief explanation.
> > > > +brief explanation.::
> > > there is just a minor ":" redundant in html page.There are some same in this
> > > patch.
> > > eg:
> > > brief explanation.:
> > >
> > > Other things look good to me.
> > >
> > > Tested-by: Phong Tran <tranmanphong@gmail.com>
> >
> > Thank you, Phong!
> >
> > I queued a commit to be squashed into Madhuparna's original as shown below
> > which adds your Tested-by and attempts a fix. Does this work for you?
>
> Yes, Paul.
Very good, thank you!
Thanx, Paul
> Regards,
> Phong.
>
> > Thanx, Paul
> >
> > ------------------------------------------------------------------------
> >
> > commit 2c29f1c481f74f5e5aaaab195042f4df6a0b8119
> > Author: Paul E. McKenney <paulmck@kernel.org>
> > Date: Tue Nov 5 05:51:12 2019 -0800
> >
> > squash! Documentation: RCU: NMI-RCU: Converted NMI-RCU.txt to NMI-RCU.rst.
> > [ paulmck: Apply feedback from Phong Tran. ]
> > Tested-by: Phong Tran <tranmanphong@gmail.com>
> > Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
> >
> > diff --git a/Documentation/RCU/NMI-RCU.rst b/Documentation/RCU/NMI-RCU.rst
> > index da5861f..1809583 100644
> > --- a/Documentation/RCU/NMI-RCU.rst
> > +++ b/Documentation/RCU/NMI-RCU.rst
> > @@ -12,7 +12,7 @@ work in "arch/x86/oprofile/nmi_timer_int.c" and in
> > "arch/x86/kernel/traps.c".
> > The relevant pieces of code are listed below, each followed by a
> > -brief explanation.::
> > +brief explanation::
> > static int dummy_nmi_callback(struct pt_regs *regs, int cpu)
> > {
> > @@ -21,12 +21,12 @@ brief explanation.::
> > The dummy_nmi_callback() function is a "dummy" NMI handler that does
> > nothing, but returns zero, thus saying that it did nothing, allowing
> > -the NMI handler to take the default machine-specific action.::
> > +the NMI handler to take the default machine-specific action::
> > static nmi_callback_t nmi_callback = dummy_nmi_callback;
> > This nmi_callback variable is a global function pointer to the current
> > -NMI handler.::
> > +NMI handler::
> > void do_nmi(struct pt_regs * regs, long error_code)
> > {
> > @@ -61,7 +61,7 @@ Quick Quiz:
> > :ref:`Answer to Quick Quiz <answer_quick_quiz_NMI>`
> > -Back to the discussion of NMI and RCU...::
> > +Back to the discussion of NMI and RCU::
> > void set_nmi_callback(nmi_callback_t callback)
> > {
> >
prev parent reply other threads:[~2019-11-05 14:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 21:42 [PATCH] Documentation: RCU: NMI-RCU: Converted NMI-RCU.txt to NMI-RCU.rst madhuparnabhowmik04
2019-10-29 10:06 ` Paul E. McKenney
2019-11-05 13:40 ` [Linux-kernel-mentees] " Phong Tran
2019-11-05 13:55 ` Paul E. McKenney
2019-11-05 14:02 ` Phong Tran
2019-11-05 14:05 ` Paul E. McKenney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191105140535.GP20975@paulmck-ThinkPad-P72 \
--to=paulmck@kernel.org \
--cc=corbet@lwn.net \
--cc=joel@joelfernandes.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=madhuparnabhowmik04@gmail.com \
--cc=rcu@vger.kernel.org \
--cc=tranmanphong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).