From: Theodore Ts'o Date: Sat, 2 Mar 2013 15:27:46 +0000 (-0500) Subject: ext4: use percpu counter for extent cache count X-Git-Tag: v3.9-rc1~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ac6466f253ef7bd063b7877fb056afe1820841c;p=pandora-kernel.git ext4: use percpu counter for extent cache count Use a percpu counter rather than atomic types for shrinker accounting. There's no need for ultimate accuracy in the shrinker, so this should come a little more cheaply. The percpu struct is somewhat large, but there was a big gap before the cache-aligned s_es_lru_lock anyway, and it fits nicely in there. Signed-off-by: Eric Sandeen Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed