Re: Per-CPU data as a structure

From: Andi Kleen
Date: Fri May 04 2007 - 10:08:19 EST


> +/*
> + * percpu provides a mechanism to define variables that are specific to
> each
> + * CPU in the system.
> + *
> + * Each variable is defined as an independent array of NR_CPUS elements.

The independent array term seems misleading to me. There isn't really
an array anywhere. Perhaps explain it in more details.

If you write documentation please write it in Kerneldoc format so
that it can be automatically extracted. See
Documentation/kernel-doc-nano-HOWTO.txt

-Andi


-
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/