public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/mm/tlb: fix error word 'clleared' to 'cleared'
@ 2022-09-28 15:11 Xin Hao
  2022-09-29  8:52 ` Peter Zijlstra
  0 siblings, 1 reply; 3+ messages in thread
From: Xin Hao @ 2022-09-28 15:11 UTC (permalink / raw)
  To: namit; +Cc: tglx, mingo, bp, dave.hansen, x86, hpa, xhao, akpm, linux-kernel

Just correct the wrong word 'clleared' to 'cleared'

Fixes: c9fe66560bf2 ("mm/mprotect: do not flush when not required architecturally")
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
---
 arch/x86/include/asm/tlbflush.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h
index cda3118f3b27..c80a15ef0cbc 100644
--- a/arch/x86/include/asm/tlbflush.h
+++ b/arch/x86/include/asm/tlbflush.h
@@ -291,7 +291,7 @@ static inline bool pte_flags_need_flush(unsigned long oldflags,
 		diff &= ~_PAGE_ACCESSED;
 
 	/*
-	 * Did any of the 'flush_on_clear' flags was clleared set from between
+	 * Did any of the 'flush_on_clear' flags was cleared set from between
 	 * 'oldflags' and 'newflags'?
 	 */
 	if (diff & oldflags & flush_on_clear)
-- 
2.31.0


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

* Re: [PATCH] x86/mm/tlb: fix error word 'clleared' to 'cleared'
  2022-09-28 15:11 [PATCH] x86/mm/tlb: fix error word 'clleared' to 'cleared' Xin Hao
@ 2022-09-29  8:52 ` Peter Zijlstra
  2022-09-29  9:07   ` haoxin
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Zijlstra @ 2022-09-29  8:52 UTC (permalink / raw)
  To: Xin Hao; +Cc: namit, tglx, mingo, bp, dave.hansen, x86, hpa, akpm, linux-kernel

On Wed, Sep 28, 2022 at 11:11:09PM +0800, Xin Hao wrote:
> Just correct the wrong word 'clleared' to 'cleared'
> 
> Fixes: c9fe66560bf2 ("mm/mprotect: do not flush when not required architecturally")

Please, don't ever use Fixes on a comment.

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

* Re: [PATCH] x86/mm/tlb: fix error word 'clleared' to 'cleared'
  2022-09-29  8:52 ` Peter Zijlstra
@ 2022-09-29  9:07   ` haoxin
  0 siblings, 0 replies; 3+ messages in thread
From: haoxin @ 2022-09-29  9:07 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: namit, tglx, mingo, bp, dave.hansen, x86, hpa, akpm, linux-kernel


在 2022/9/29 下午4:52, Peter Zijlstra 写道:
> On Wed, Sep 28, 2022 at 11:11:09PM +0800, Xin Hao wrote:
>> Just correct the wrong word 'clleared' to 'cleared'
>>
>> Fixes: c9fe66560bf2 ("mm/mprotect: do not flush when not required architecturally")
> Please, don't ever use Fixes on a comment.
Get it, Thanks.

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

end of thread, other threads:[~2022-09-29  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28 15:11 [PATCH] x86/mm/tlb: fix error word 'clleared' to 'cleared' Xin Hao
2022-09-29  8:52 ` Peter Zijlstra
2022-09-29  9:07   ` haoxin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox