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]
Date:	Sun, 30 Jul 2006 19:00:57 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Andrew Morton <akpm@...l.org>, Paul Fulghum <paulkf@...rogate.com>,
	ak@....de, linux-kernel@...r.kernel.org, ebiederm@...ssion.com
Subject: Re: 2.6.18-rc2-mm1 timer int 0 doesn't work

On Sat, 2006-07-29 at 06:03 +0200, Ingo Molnar wrote:
> * Andrew Morton <akpm@...l.org> wrote:
> 
> > > 2.6.18-rc2 works fine with same config.
> > > 
> > > In this case the error is:
> > > 
> > > No per-cpu room for modules
> > 
> > yeah, sorry, that's a known problem which nobody appears to be doing 
> > anything about.  The expansion of NR_IRQS gobbles all the percpu 
> > memory in the kstat structure.
> 
> while the fundamental issue is the NR_IRQS problem which we'll fix 
> separately, Steve has a patchset to make percpu room dynamic:
> 
>   http://lkml.org/lkml/2006/4/14/137

That implementation was doomed because it added another dereference that
would kill numa implementations.  I implemented another version that
used page tables, but some people said that this would waste TLB
entries. See here

http://lwn.net/Articles/184103/

Perhaps another version that might be beneficial is one that mixes the
current approach with this one.  That is to have a dynamic page case
that would happen only after a default was exhausted.  And then we could
even warn about it if we don't like that. This way we can warn the user
if they don't like having the module's per_cpu files dynamically
allocated, which might slow down the system do to another TLB line
taken.

-- Steve
 

-
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