ext4: use percpu data structures for lg_prealloc_list
authorEric Sandeen <sandeen@redhat.com>
Sat, 13 Sep 2008 19:23:29 +0000 (15:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 13 Sep 2008 19:23:29 +0000 (15:23 -0400)
commit730c213c79a638137b47a90624e4bac252f07ae7
treedd4e5ebd64045721d5834cea52e6edb4de2fe676
parent8eea80d52b9d87cfd771055534bd2c24f73704d7
ext4: use percpu data structures for lg_prealloc_list

lg_prealloc_list seems to cry out for a per-cpu data structure; on a large
smp system I think this should be better.  I've lightly tested this change
on a 4-cpu system.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c