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

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Mon Jul 22 2002 - 00:14:04 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:37 EST