On Thu, Jun 17, 2010 at 09:08:59PM -0700, Andrew Morton wrote:
Thanks, Andrew. I found your comment in previous mail thread.
Tim, Please add below Andrew's comment in description.
It would make reviewer happy in future.
--
Andrew's comment
" It a bit buggy - using percpu_counter_init() against an
already-initialised percpu_counter() is leaky. I suspect that's
happening in remount_fs.
A better approach would be to remove free_blocks altogether and add a
new `percpu_counter used_blocks;' which simply counts how many blocks
are presently in use. Such a thing would then never need to be
reinitialised."
--
Kind regards,
Minchan Kim
--