Re: [patch v3 2/3] percpu_counter: fix code for 32bit systems forUP

From: Eric Dumazet
Date: Wed Apr 13 2011 - 22:54:50 EST


Le jeudi 14 avril 2011 Ã 10:44 +0800, Shaohua Li a Ãcrit :
> that's true. I just want the code looks consistent and this doesn't
> really obfuscate the code to me.

Doing so gives a false sense of security to user.

percpu_counter_init() is unsafe by nature.



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