aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2011-04-27 15:26:41 -0700
committerLinus Torvalds <[email protected]>2011-04-28 11:28:20 -0700
commit6d4831c283530a5f2c6bd8172c13efa236eb149d (patch)
tree4d199a330cfe8710de0deb4e805a798c2982501c /tools/perf/util/scripting-engines/trace-event-python.c
parente8dad69408a9812d6bb42d03e74d2c314534a4fa (diff)
vfs: avoid large kmalloc()s for the fdtable
Azurit reports large increases in system time after 2.6.36 when running Apache. It was bisected down to a892e2d7dcdfa6c76e6 ("vfs: use kmalloc() to allocate fdmem if possible"). That patch caused the vfs to use kmalloc() for very large allocations and this is causing excessive work (and presumably excessive reclaim) within the page allocator. Fix it by falling back to vmalloc() earlier - when the allocation attempt would have been considered "costly" by reclaim. Reported-by: azurIt <[email protected]> Tested-by: azurIt <[email protected]> Acked-by: Changli Gao <[email protected]> Cc: Americo Wang <[email protected]> Cc: Jiri Slaby <[email protected]> Acked-by: Eric Dumazet <[email protected]> Cc: Mel Gorman <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions