aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-05-22 13:55:08 +1000
committerNeilBrown <neilb@suse.de>2012-05-22 13:55:08 +1000
commit27581e5ae01f77b5472dc5c2368b41063fed7f37 (patch)
tree202d2ee37bcfb82ce09bc72c0d3d81045a941637 /tools/perf/util/scripting-engines/trace-event-python.c
parentmd/bitmap: allow a bitmap with no backing storage. (diff)
downloadwireguard-linux-27581e5ae01f77b5472dc5c2368b41063fed7f37.tar.xz
wireguard-linux-27581e5ae01f77b5472dc5c2368b41063fed7f37.zip
md/bitmap: centralise allocation of bitmap file pages.
Instead of allocating pages in read_sb_page, read_page and bitmap_read_sb, allocate them all in bitmap_init_from disk. Also replace the hack of calling "attach_page_buffers(page, NULL)" to ensure that free_buffer() won't complain, by putting a test for PagePrivate in free_buffer(). Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions