lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1ac6geb4x.fsf@ebiederm.dsl.xmission.com>
Date:	Mon, 07 Aug 2006 10:58:06 -0600
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Andi Kleen <ak@...e.de>
Cc:	"Protasevich, Natalie" <Natalie.Protasevich@...sys.com>,
	"Randy.Dunlap" <rdunlap@...otime.net>,
	"Eric W. Biederman" <ebiederm@...ssion.com>,
	"Andrew Morton" <akpm@...l.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86_64: Make NR_IRQS configurable in Kconfig

Andi Kleen <ak@...e.de> writes:

>> 4k being a humble maximum is definitely a relative term here, but on the
>> system with "only" 64 or 128 processors the cpu*224 would be much higher
>> :) However, maybe CONFIG_TINY that Andi suggested would leverage this
>> number also. What do you think, Eric?
>
> Best would be something dynamic - kernels should be self tuning, not 
> require that much CONFIG magic.

I agree.  That is the way thing should be :

> Just PCI hotplug gives me headaches with this.
>
> Maybe we just need growable per CPU data.

This would require a growable NR_IRQS to fix.  Something
that we don't have a good handle on at all.  But at least
much less code cares.

If we killed the counters for each pair of cpu and irq this would
not involve the per cpu area at all.  But we still have the one
static array of irqs.  That will be more fun to get rid of.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ