From: Thomas Gleixner Date: Tue, 30 Nov 2010 17:49:33 +0000 (+0000) Subject: perf session: Fix list sort algorithm X-Git-Tag: v2.6.38-rc1~490^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1225decc43849a73f7e4c333c3fdbbb8a9c1e65;p=pandora-kernel.git perf session: Fix list sort algorithm The homebrewn sort algorithm fails to sort in time order. One of the problem spots is that it fails to deal with equal timestamps correctly. My first gut reaction was to replace the fancy list with an rbtree, but the performance is 3 times worse. Rewrite it so it works. Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Frederic Weisbecker LKML-Reference: <20101130163819.908482530@linutronix.de> Signed-off-by: Thomas Gleixner Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed