linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: remove unused macro INIT_PASID
@ 2025-04-27 14:50 Cheng-Han Wu
  2025-04-28 10:11 ` Anshuman Khandual
  0 siblings, 1 reply; 2+ messages in thread
From: Cheng-Han Wu @ 2025-04-27 14:50 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, Cheng-Han Wu

The macro INIT_PASID was originally used by mm_init_pasid. 
However, since commit a6cbd44093ef ("kernel/fork: Initialize mm's PASID"), 
mm_init_pasid has been removed. 
Therefore, INIT_PASID is no longer needed and is removed.

Signed-off-by: Cheng-Han Wu <hank20010209@gmail.com>
---
 include/linux/mm_types.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 56d07edd01f9..e76bade9ebb1 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -28,7 +28,6 @@
 #endif
 #define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1))
 
-#define INIT_PASID	0
 
 struct address_space;
 struct mem_cgroup;
-- 
2.49.0



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

* Re: [PATCH] mm: remove unused macro INIT_PASID
  2025-04-27 14:50 [PATCH] mm: remove unused macro INIT_PASID Cheng-Han Wu
@ 2025-04-28 10:11 ` Anshuman Khandual
  0 siblings, 0 replies; 2+ messages in thread
From: Anshuman Khandual @ 2025-04-28 10:11 UTC (permalink / raw)
  To: Cheng-Han Wu, akpm; +Cc: linux-mm, linux-kernel

On 4/27/25 20:20, Cheng-Han Wu wrote:
> The macro INIT_PASID was originally used by mm_init_pasid. 
> However, since commit a6cbd44093ef ("kernel/fork: Initialize mm's PASID"), 
> mm_init_pasid has been removed. 
> Therefore, INIT_PASID is no longer needed and is removed.
> 
> Signed-off-by: Cheng-Han Wu <hank20010209@gmail.com>
> ---
>  include/linux/mm_types.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
> index 56d07edd01f9..e76bade9ebb1 100644
> --- a/include/linux/mm_types.h
> +++ b/include/linux/mm_types.h
> @@ -28,7 +28,6 @@
>  #endif
>  #define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1))
>  
> -#define INIT_PASID	0
>  
>  struct address_space;
>  struct mem_cgroup;
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>


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

end of thread, other threads:[~2025-04-28 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-27 14:50 [PATCH] mm: remove unused macro INIT_PASID Cheng-Han Wu
2025-04-28 10:11 ` Anshuman Khandual

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