aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2014-06-04 16:07:48 -0700
committerLinus Torvalds <[email protected]>2014-06-04 16:54:02 -0700
commitdd6bd0d9c7dbb3951005db4e424abbd37c4ff801 (patch)
treecddb3dcb163db01dd9af6e39ca4aee6f1a5470c5 /tools/perf/scripts/python
parent47a191fd38ebddb1bd1510ec2bc1085c578c8868 (diff)
swap: use bdev_read_page() / bdev_write_page()
By calling the device driver to write the page directly, we avoid allocating a BIO, which allows us to free memory without allocating memory. [[email protected]: fix used-uninitialized bug] Signed-off-by: Matthew Wilcox <[email protected]> Cc: Dave Chinner <[email protected]> Cc: Dheeraj Reddy <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions