linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"
@ 2020-04-11  6:51 Ethon Paul
  2020-04-11 19:32 ` Matthew Wilcox
  2020-04-15 18:36 ` Ralph Campbell
  0 siblings, 2 replies; 5+ messages in thread
From: Ethon Paul @ 2020-04-11  6:51 UTC (permalink / raw)
  To: akpm, linux-mm, linux-kernel; +Cc: Ethon Paul

There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@qq.com>
---
 mm/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index 23a051a7ef0f..de6d01a519e4 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1259,7 +1259,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
  * instead.
  *
  * The read of PG_waiters has to be after (or concurrently with) PG_locked
- * being cleared, but a memory barrier should be unneccssary since it is
+ * being cleared, but a memory barrier should be unnecessary since it is
  * in the same byte as PG_locked.
  */
 static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)
-- 
2.24.1 (Apple Git-126)



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"
  2020-04-11  6:51 [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary" Ethon Paul
@ 2020-04-11 19:32 ` Matthew Wilcox
  2020-04-15 18:36 ` Ralph Campbell
  1 sibling, 0 replies; 5+ messages in thread
From: Matthew Wilcox @ 2020-04-11 19:32 UTC (permalink / raw)
  To: Ethon Paul; +Cc: akpm, linux-mm, linux-kernel

On Sat, Apr 11, 2020 at 02:51:41PM +0800, Ethon Paul wrote:
> @@ -1259,7 +1259,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
>   * instead.
>   *
>   * The read of PG_waiters has to be after (or concurrently with) PG_locked
> - * being cleared, but a memory barrier should be unneccssary since it is
> + * being cleared, but a memory barrier should be unnecessary since it is
>   * in the same byte as PG_locked.
>   */
>  static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)

This will conflict with the patch series I sent here:
<20200326122429.20710-1-willy@infradead.org>

which deletes the entire comment.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"
  2020-04-11  6:51 [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary" Ethon Paul
  2020-04-11 19:32 ` Matthew Wilcox
@ 2020-04-15 18:36 ` Ralph Campbell
  2020-04-15 18:37   ` Matthew Wilcox
  1 sibling, 1 reply; 5+ messages in thread
From: Ralph Campbell @ 2020-04-15 18:36 UTC (permalink / raw)
  To: Ethon Paul, akpm, linux-mm, linux-kernel


On 4/10/20 11:51 PM, Ethon Paul wrote:
> There is a typo in comment, fix it.
> 
> Signed-off-by: Ethon Paul <ethp@qq.com>

Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>

> ---
>   mm/filemap.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/filemap.c b/mm/filemap.c
> index 23a051a7ef0f..de6d01a519e4 100644
> --- a/mm/filemap.c
> +++ b/mm/filemap.c
> @@ -1259,7 +1259,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
>    * instead.
>    *
>    * The read of PG_waiters has to be after (or concurrently with) PG_locked
> - * being cleared, but a memory barrier should be unneccssary since it is
> + * being cleared, but a memory barrier should be unnecessary since it is
>    * in the same byte as PG_locked.
>    */
>   static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"
  2020-04-15 18:36 ` Ralph Campbell
@ 2020-04-15 18:37   ` Matthew Wilcox
  2020-04-15 19:02     ` Ralph Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2020-04-15 18:37 UTC (permalink / raw)
  To: Ralph Campbell; +Cc: Ethon Paul, akpm, linux-mm, linux-kernel

On Wed, Apr 15, 2020 at 11:36:34AM -0700, Ralph Campbell wrote:
> 
> On 4/10/20 11:51 PM, Ethon Paul wrote:
> > There is a typo in comment, fix it.
> > 
> > Signed-off-by: Ethon Paul <ethp@qq.com>
> 
> Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>

NAK.  See earlier response.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"
  2020-04-15 18:37   ` Matthew Wilcox
@ 2020-04-15 19:02     ` Ralph Campbell
  0 siblings, 0 replies; 5+ messages in thread
From: Ralph Campbell @ 2020-04-15 19:02 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Ethon Paul, akpm, linux-mm, linux-kernel


On 4/15/20 11:37 AM, Matthew Wilcox wrote:
> On Wed, Apr 15, 2020 at 11:36:34AM -0700, Ralph Campbell wrote:
>>
>> On 4/10/20 11:51 PM, Ethon Paul wrote:
>>> There is a typo in comment, fix it.
>>>
>>> Signed-off-by: Ethon Paul <ethp@qq.com>
>>
>> Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
> 
> NAK.  See earlier response.

Oops. Sorry about that.
I was looking at 5.7.0-rc1 and forgot about your pending change that makes this
unnecessary. :-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-15 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11  6:51 [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary" Ethon Paul
2020-04-11 19:32 ` Matthew Wilcox
2020-04-15 18:36 ` Ralph Campbell
2020-04-15 18:37   ` Matthew Wilcox
2020-04-15 19:02     ` Ralph Campbell

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).