2012/1/9 Michal Nazarewicz <mina86@xxxxxxxxxx>:
This is initialised in setup_per_cpu_pageset() so it needs to be file
scoped.
On Tue, 10 Jan 2012 13:43:21 +0100, Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx> wrote:
Yes. The cpumask_var_t abstraction is convenient and all but it does
make the allocation very non obvious when it does not happen in
proximity to the variable use - it doesn't *look* like a pointer.
You can say that about any file scoped variable that needs non-const
initialisation, not only pointers.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: mpn@xxxxxxxxxx>--------------ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html