aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <[email protected]>2011-12-29 13:09:50 +0100
committerMarek Szyprowski <[email protected]>2012-05-21 15:09:31 +0200
commit041d3a8cdc18dc375a128d90bbb753949a81b1fb (patch)
tree26f5e1b30f638ea148e7deb13c44d0d0f1d39935 /tools/perf/util/scripting-engines/trace-event-python.c
parentff9543fd32060917beb080b1eb2d1d41ec7f39e0 (diff)
mm: page_alloc: introduce alloc_contig_range()
This commit adds the alloc_contig_range() function which tries to allocate given range of pages. It tries to migrate all already allocated pages that fall in the range thus freeing them. Once all pages in the range are freed they are removed from the buddy system thus allocated for the caller to use. Signed-off-by: Michal Nazarewicz <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]> Acked-by: Mel Gorman <[email protected]> Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Tested-by: Rob Clark <[email protected]> Tested-by: Ohad Ben-Cohen <[email protected]> Tested-by: Benjamin Gaignard <[email protected]> Tested-by: Robert Nelson <[email protected]> Tested-by: Barry Song <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions