All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mips: kill pte_sw_mkyoung
@ 2021-05-20 11:00 Kefeng Wang
  2021-05-27 11:41 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 3+ messages in thread
From: Kefeng Wang @ 2021-05-20 11:00 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: Andrew Morton, Huang Pei, linux-mips, Kefeng Wang

Kill unused pte_sw_mkyoung after
commit f685a533a7fa ("MIPS: make userspace mapping young by default").

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 arch/mips/include/asm/pgtable.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h
index 804889b70965..ad56fb8f4428 100644
--- a/arch/mips/include/asm/pgtable.h
+++ b/arch/mips/include/asm/pgtable.h
@@ -406,8 +406,6 @@ static inline pte_t pte_mkyoung(pte_t pte)
 	return pte;
 }
 
-#define pte_sw_mkyoung	pte_mkyoung
-
 #ifdef CONFIG_MIPS_HUGE_TLB_SUPPORT
 static inline int pte_huge(pte_t pte)	{ return pte_val(pte) & _PAGE_HUGE; }
 
-- 
2.26.2


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

* Re: [PATCH] mips: kill pte_sw_mkyoung
  2021-05-20 11:00 [PATCH] mips: kill pte_sw_mkyoung Kefeng Wang
@ 2021-05-27 11:41 ` Thomas Bogendoerfer
  2021-05-27 12:16   ` Kefeng Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Bogendoerfer @ 2021-05-27 11:41 UTC (permalink / raw)
  To: Kefeng Wang; +Cc: Andrew Morton, Huang Pei, linux-mips

On Thu, May 20, 2021 at 07:00:43PM +0800, Kefeng Wang wrote:
> Kill unused pte_sw_mkyoung after
> commit f685a533a7fa ("MIPS: make userspace mapping young by default").

I just sent a revert for that commit. So we still want and need pte_sw_mkyoung.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

* Re: [PATCH] mips: kill pte_sw_mkyoung
  2021-05-27 11:41 ` Thomas Bogendoerfer
@ 2021-05-27 12:16   ` Kefeng Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Kefeng Wang @ 2021-05-27 12:16 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: Andrew Morton, Huang Pei, linux-mips


On 2021/5/27 19:41, Thomas Bogendoerfer wrote:
> On Thu, May 20, 2021 at 07:00:43PM +0800, Kefeng Wang wrote:
>> Kill unused pte_sw_mkyoung after
>> commit f685a533a7fa ("MIPS: make userspace mapping young by default").
> I just sent a revert for that commit. So we still want and need pte_sw_mkyoung.
OK,please ignore it.
> Thomas.
>

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

end of thread, other threads:[~2021-05-27 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 11:00 [PATCH] mips: kill pte_sw_mkyoung Kefeng Wang
2021-05-27 11:41 ` Thomas Bogendoerfer
2021-05-27 12:16   ` Kefeng Wang

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.