* [PATCH] ppc64: update the NR_CPUS to 8192
@ 2022-05-05 10:18 Sourabh Jain
2022-05-05 10:23 ` Sourabh Jain
0 siblings, 1 reply; 2+ messages in thread
From: Sourabh Jain @ 2022-05-05 10:18 UTC (permalink / raw)
To: linuxppc-dev, crash-utility; +Cc: mahesh, hbathini
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)
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ppc64: update the NR_CPUS to 8192
2022-05-05 10:18 [PATCH] ppc64: update the NR_CPUS to 8192 Sourabh Jain
@ 2022-05-05 10:23 ` Sourabh Jain
0 siblings, 0 replies; 2+ messages in thread
From: Sourabh Jain @ 2022-05-05 10:23 UTC (permalink / raw)
To: linuxppc-dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-05 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-05 10:18 [PATCH] ppc64: update the NR_CPUS to 8192 Sourabh Jain
2022-05-05 10:23 ` Sourabh Jain
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).