Re: [PATCH] per-cpu patch 1/3

Rusty Russell (rusty@rustcorp.com.au)
Mon, 22 Jul 2002 15:14:04 +1000


In message <3D3B7532.96B78172@zip.com.au> you write:
> Rusty Russell wrote:
> >
> > Name: Export __per_cpu_offset so modules can use per-cpu data.
>
> ie: so modules can access per-cpu data which is defined in
> vmlinux. afaik, modules cannot define percpu.h-style per-cpu
> storage of their own, yes?
>
> That's rather a trap. It would be nice to ensure that any
> attempt to define per-cpu data in a module fails reliably
> at compile-time, please.

See patch 3/3.

Cheers!
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/