Re: [PATCH] percpu: remove address_space attribute if !SMP

From: Tejun Heo
Date: Fri Aug 06 2010 - 09:37:39 EST


Hello,

On 08/06/2010 03:23 PM, Namhyung Kim wrote:
> Sure. :-)
> Although I'm not sure that it is really needed, if so I'll do that.

Well, the whole __percpu markup thing is to detect misuse of percpu
pointers. I think it would definitely be better to have the sanity
check for UP code too. It's not like it's gonna cost any runtime
overhead and all the needed pieces are already there.

Thanks.

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