diff options
author | 2013-11-15 12:14:55 +0100 | |
---|---|---|
committer | 2013-11-15 09:17:47 -0500 | |
commit | 46e0f66a0cf9e1fe25bfdcf4a60c08aface85998 (patch) | |
tree | 9b454277530b50f41ac5fbbf5f6d0f64ec2ebc99 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: rename btrfs_start_all_delalloc_inodes (diff) | |
download | linux-dev-46e0f66a0cf9e1fe25bfdcf4a60c08aface85998.tar.xz linux-dev-46e0f66a0cf9e1fe25bfdcf4a60c08aface85998.zip |
btrfs: fix empty_zero_page misusage
Heiko Carstens noticed that btrfs was using empty_zero_page
incorrectly. He explained:
The definition of empty_zero_page is architecture specific. It
is (currently) either a character array, an unsigned long
containing the address of the empty_zero_page, or even worse
only the address of the struct page belonging to the
empty_zero_page.
This commit changes btrfs to use a for-loop instead. On x86
the resulting .ko is smaller, and we're no longer worrying about
how each arch builds its zeros.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions