Thread (5 messages) flat view 5 messages, 2 authors, 2008-04-23

Re: [PATCH 1/3 v3] Raise the upper limit of NR_CPUS.

From: Michael Ellerman <hidden>
Date: 2008-04-23 05:41:39

On Wed, 2008-04-23 at 14:06 +1000, Tony Breeds wrote:
As the pacas are statically initialised increasing NR_CPUS beyond 128,
means that any additional pacas will be empty  ... which is bad.

This patch adds the required functionality to fill in any excess pacas
at runtime.

Signed-off-by: Tony Breeds <redacted>
---
You add about 30 lines of code in this patch, which you remove in patch
3, is there a better way to do it?

Is there any harm dynamically initialising the statically initialised
pacas, I think that would allow you to basically skip the
NR_STATIC_PACAS business.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help