Re: [PATCH] fix sys cpumap for > 352 NR_CPUS

From: Paul Jackson
Date: Wed Jun 02 2004 - 18:52:16 EST


> Can't we just stick a PAGE_SIZE in here?

We could - either way works about as well. Is there something special
about PAGE_SIZE here? Is that in fact what sysfs is making available?

I can send a PAGE_SIZE hack-a-shaq if you like, or you can just code it
yourself. If I do it, I will also fix the comment as appropriate.
Whatever you prefer ...

len = cpumask_scnprintf(buf, PAGE_SIZE /* XXX FIXME */, mask);

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/