login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
27
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Mike Travis <travis@...>
To: Adrian Bunk <bunk@...>
Cc: Andrew Morton <akpm@...>, <linux-mm@...>, <linux-kernel@...>
Subject:
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
Date: Thursday, March 27, 2008 - 11:06 am
Adrian Bunk wrote:
quoted text
> On Wed, Mar 26, 2008 at 09:31:22AM -0700, Mike Travis wrote: >> Adrian Bunk wrote: >>> On Tue, Mar 25, 2008 at 06:41:39PM -0700, Mike Travis wrote: >>>> Increase the limit of NR_CPUS to 4096 and introduce a boolean >>>> called "MAXSMP" which when set (e.g. "allyesconfig"), will set >>>> NR_CPUS = 4096 and NODES_SHIFT = 9 (512). >>> >>> I'm not really getting the point of MAXSMP - people should simply pick >>> their values, and when they want the maximum "(2-4096)" and "(1-15)" >>> already provide this information (except that your patch hides the >>> latter information from the user). >>> >>> And with your patch, even with MAXSMP=y people could still set >>> NR_CPUS=7 and NODES_SHIFT=15 or whatever else they want... >>> >>> More interesting would be why you want it to set NODES_SHIFT to >>> something less than the maximum value of 15. I'm getting the fact that >>> 2^15 > 4096 and that 15 might be nonsensical high, but this sounds more >>> like requiring a patch to limit the range to 9? >> I guess the main effect is that "MAXSMP" represents what's really >> usable for an architecture based on other factors. The limit of >> NODES_SHIFT = 15 is that it's represented in some places as a signed >> 16-bit value, so 15 is the hard limit without coding changes, not >> an architecture limit. > > > This is the x86-specific Kconfig file that presents the x86 specific > limits to the users. > > If NODES_SHIFT=15 is offered to the user although it's higher than the > current architecture limit on x86 then this is simply a bug that should > be fixed. > > >> Thanks, >> Mike > > cu > Adrian >
Ok, I'll modify it in the next version. Thanks! Mike --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
, Mike Travis
, (Tue Mar 25, 9:41 pm)
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
, Yinghai Lu
, (Wed Mar 26, 3:28 pm)
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
, Adrian Bunk
, (Wed Mar 26, 12:09 pm)
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
, Mike Travis
, (Wed Mar 26, 12:31 pm)
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
, Christoph Lameter
, (Wed Mar 26, 3:16 pm)
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
, Adrian Bunk
, (Wed Mar 26, 12:55 pm)
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus
, Mike Travis
, (Thu Mar 27, 11:06 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Lee Revell
Re: [RFC][PATCH] cpuidle: avoid singing capacitors
Ingo Molnar
[bug] latest -git boot hang
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Christoph Hellwig
Re: 2.6.24-rc6-mm1
git
:
Imran M Yousuf
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Dan Zwell
[PATCH] Color support added to git-add--interactive.
Kyle Moffett
Using GIT to store /etc (Or: How to make GIT store all file permission bits)
Petr Vandrovec
Re: Fwd: [OT] Re: Git via a proxy server?
openbsd-misc
:
Lars Hansson
Re: Code signing in OpenBSD
Richard Stallman
Real men don't attack straw men
Pau
acer aspire one dmesg?
Henning Brauer
Re: About Xen: maybe a reiterative question but ..
linux-netdev
:
Jarek Poplawski
Re: loaded router, excessive getnstimeofday in oprofile
Julius Volz
[PATCH RFC 20/24] IPVS: Add validity checks when adding/editing v6 services
Bruno
[PATCH 1/2] r8169: WoL fixes
Corey Hickey
[PATCH 01/10] Preparatory refactoring part 1.
Latest forum posts
high memory
1 day ago
Linux kernel
semaphore access speed
1 day ago
Applications and Utilities
the kernel how to power off the machine
1 day ago
Linux kernel
Easter Eggs in windows XP
1 day ago
Windows
Shared swap partition
1 day ago
Linux general
Root password
1 day ago
Linux general
Where/when DNOTIFY is used?
1 day ago
Linux kernel
How to convert Linux Kernel built-in module into a loadable module
1 day ago
Linux kernel
Linux 2.6.24 and I/O schedulers
1 day ago
Linux kernel
USB Driver -- Interrupt Polling -- A Little Help Please
1 day ago
Linux general
Show all forums...
Recent Tags
2.6.27-rc8
Intel
-rc8
bugs
-rc
2.6.27
Linux
Linus Torvalds
quote
more tags
Colocation donated by:
Who's online
There are currently
2 users
and
1124 guests
online.
Online users
Mr_Z
strcmp
Syndicate
speck-geostationary