From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Waiman Long <longman@redhat.com>,
Alexander Viro <viro@zeniv.linux.org.uk>,
Jonathan Corbet <corbet@lwn.net>,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
linux-mm@kvack.org, linux-doc@vger.kernel.org,
"Luis R. Rodriguez" <mcgrof@kernel.org>,
Kees Cook <keescook@chromium.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Jan Kara <jack@suse.cz>, Ingo Molnar <mingo@kernel.org>,
Miklos Szeredi <mszeredi@redhat.com>,
Matthew Wilcox <willy@infradead.org>,
Larry Woodman <lwoodman@redhat.com>,
James Bottomley <James.Bottomley@HansenPartnership.com>,
"Wangkai (Kevin C)" <wangkai86@huawei.com>,
Michal Hocko <mhocko@kernel.org>
Subject: Re: [PATCH 2/2] fs/dcache: Make negative dentries easier to be reclaimed
Date: Wed, 29 Aug 2018 10:54:05 -0700 [thread overview]
Message-ID: <20180829175405.GA17337@linux.vnet.ibm.com> (raw)
In-Reply-To: <20180828160150.9a45ee293c92708edb511eab@linux-foundation.org>
On Tue, Aug 28, 2018 at 04:01:50PM -0700, Andrew Morton wrote:
>
> Another pet peeve ;)
>
> On Tue, 28 Aug 2018 13:19:40 -0400 Waiman Long <longman@redhat.com> wrote:
>
> > /**
> > + * list_lru_add_head: add an element to the lru list's head
> > + * @list_lru: the lru pointer
> > + * @item: the item to be added.
> > + *
> > + * This is similar to list_lru_add(). The only difference is the location
> > + * where the new item will be added. The list_lru_add() function will add
>
> People often use the term "the foo() function". I don't know why -
> just say "foo()"!
For whatever it is worth...
I tend to use "The foo() function ..." instead of "foo() ..." in order
to properly capitalize the first word of the sentence. So I might say
"The call_rcu() function enqueues an RCU callback." rather than something
like "call_rcu() enqueues an RCU callback." Or I might use some other
trick to keep "call_rcu()" from being the first word of the sentence.
But if the end of the previous sentence introduced call_rcu(), you
usually want the next sentence's first use of "call_rcu()" to be very
early in the sentence, because otherwise the flow will seem choppy.
And no, I have no idea what I would do if I were writing in German,
where nouns are capitalized, given that function names tend to be used
as nouns. Probably I would get yelled at a lot for capitalizing my
function names. ;-)
Thanx, Paul
next prev parent reply other threads:[~2018-08-29 17:54 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-28 17:19 [PATCH 0/2] fs/dcache: Track # of negative dentries Waiman Long
2018-08-28 17:19 ` [PATCH 1/2] fs/dcache: Track & report number " Waiman Long
2018-08-29 0:11 ` Dave Chinner
2018-08-29 17:11 ` Waiman Long
2018-08-30 1:43 ` Dave Chinner
2018-08-30 21:49 ` Waiman Long
2018-08-31 14:31 ` Matthew Wilcox
2018-08-31 15:03 ` Waiman Long
2018-08-28 17:19 ` [PATCH 2/2] fs/dcache: Make negative dentries easier to be reclaimed Waiman Long
2018-08-28 22:13 ` Matthew Wilcox
2018-08-28 22:29 ` Waiman Long
2018-08-28 23:10 ` Linus Torvalds
2018-08-28 23:22 ` Andrew Morton
2018-08-29 1:18 ` Waiman Long
2018-08-29 1:18 ` Waiman Long
2018-08-28 23:01 ` Andrew Morton
2018-08-29 17:54 ` Paul E. McKenney [this message]
2018-08-29 20:03 ` Waiman Long
2018-08-29 21:04 ` Matthew Wilcox
2018-08-29 1:02 ` Dave Chinner
2018-08-29 19:34 ` Waiman Long
2018-08-30 1:12 ` Dave Chinner
2018-08-30 21:51 ` Waiman Long
2018-08-29 7:51 ` Michal Hocko
2018-08-29 19:58 ` Waiman Long
2018-08-30 7:20 ` Michal Hocko
2018-08-30 21:48 ` Waiman Long
2018-08-28 22:50 ` [PATCH 0/2] fs/dcache: Track # of negative dentries Andrew Morton
2018-08-28 22:54 ` Waiman Long
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=20180829175405.GA17337@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=akpm@linux-foundation.org \
--cc=corbet@lwn.net \
--cc=jack@suse.cz \
--cc=keescook@chromium.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=longman@redhat.com \
--cc=lwoodman@redhat.com \
--cc=mcgrof@kernel.org \
--cc=mhocko@kernel.org \
--cc=mingo@kernel.org \
--cc=mszeredi@redhat.com \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
--cc=wangkai86@huawei.com \
--cc=willy@infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.