linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Anshuman Khandual <anshuman.khandual@arm.com>
To: Cheng-Han Wu <hank20010209@gmail.com>, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: remove unused macro INIT_PASID
Date: Mon, 28 Apr 2025 15:41:57 +0530	[thread overview]
Message-ID: <64405466-5983-48ef-803d-0531c4152576@arm.com> (raw)
In-Reply-To: <20250427145004.13049-1-hank20010209@gmail.com>

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>


      reply	other threads:[~2025-04-28 10:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-27 14:50 Cheng-Han Wu
2025-04-28 10:11 ` Anshuman Khandual [this message]

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=64405466-5983-48ef-803d-0531c4152576@arm.com \
    --to=anshuman.khandual@arm.com \
    --cc=akpm@linux-foundation.org \
    --cc=hank20010209@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox