Hi, Sourabh
Thank you for the patch.On Thu, May 5, 2022 at 8:00 PM <crash-utility-request@xxxxxxxxxx> wrote:
Date: Thu, 5 May 2022 15:48:42 +0530
From: Sourabh Jain <sourabhjain@xxxxxxxxxxxxx>
To: linuxppc-dev@xxxxxxxxxx, crash-utility@xxxxxxxxxx
Subject: [PATCH] ppc64: update the NR_CPUS to 8192
Message-ID: <20220505101842.49149-1-sourabhjain@xxxxxxxxxxxxx>
Content-Type: text/plain; charset="US-ASCII"; x-default=true
The NR_CPUS on Linux kernel ranges from 1-8192. So let's match
NR_CPUS with max NR_CPUS count on Linux kernel.
This change looks good to me. But could you please add the associated kernel commits(if any) to the patch log?
Thanks.
Lianbo
Signed-off-by: Sourabh Jain <sourabhjain@xxxxxxxxxxxxx>
---
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
-- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/crash-utility Contribution Guidelines: https://github.com/crash-utility/crash/wiki