linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Sourabh Jain <sourabhjain@linux.ibm.com>
To: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] ppc64: update the NR_CPUS to 8192
Date: Thu, 5 May 2022 15:53:24 +0530	[thread overview]
Message-ID: <0881a917-526a-0c9f-b001-eed9b6cb0dca@linux.ibm.com> (raw)
In-Reply-To: <20220505101842.49149-1-sourabhjain@linux.ibm.com>


On 05/05/22 15:48, Sourabh Jain wrote:
> The NR_CPUS on Linux kernel ranges from 1-8192. So let's match
> NR_CPUS with max NR_CPUS count on Linux kernel.
>
> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
> ---
>   defs.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/defs.h b/defs.h
> index 1e8360d..a6735d0 100644
> --- a/defs.h
> +++ b/defs.h
> @@ -136,7 +136,7 @@
>   #define NR_CPUS  (4096)
>   #endif
>   #ifdef PPC64
> -#define NR_CPUS  (2048)
> +#define NR_CPUS  (8192)
>   #endif
>   #ifdef S390
>   #define NR_CPUS  (512)

Please ignore the patch was just meant for crash tool.

Thanks,
Sourabh Jain

      reply	other threads:[~2022-05-05 10:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-05 10:18 [PATCH] ppc64: update the NR_CPUS to 8192 Sourabh Jain
2022-05-05 10:23 ` Sourabh Jain [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=0881a917-526a-0c9f-b001-eed9b6cb0dca@linux.ibm.com \
    --to=sourabhjain@linux.ibm.com \
    --cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).