summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2010-02-22 01:12:59 -0600
committerFrederic Weisbecker <fweisbec@gmail.com>2010-02-25 04:07:49 +0100
commit44ad9cd8f0893b9ae0ac729a7dc2a1ebcd170ac6 (patch)
tree33a5fc4e7100eb43989f48ea252214ea2e5157e2 /mm/shmem.c
parent4d161f0360d00d46a89827b3fd6da395f00c5d90 (diff)
downloadop-kernel-dev-44ad9cd8f0893b9ae0ac729a7dc2a1ebcd170ac6.zip
op-kernel-dev-44ad9cd8f0893b9ae0ac729a7dc2a1ebcd170ac6.tar.gz
perf/scripts: Remove unnecessary PyTuple resizes
If we know the size of a tuple in advance, there's no need to resize it - start out with the known size in the first place. Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Keiichi KII <k-keiichi@bx.jp.nec.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <1266822779.6426.4.camel@tropicana> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud