Skip to content

Commit

Permalink
perf tools: Drop prefetch.h
Browse files Browse the repository at this point in the history
This was needed at the time before e66eed6 ("list: remove
prefetching from regular list iterators") where the list iterators did
prefetch elements. This turned out to be counter-productive and hurt
performance and they were removed. Which makes the prefetch.h header
unused so drop it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <rric@kernel.org>
Link: http://lkml.kernel.org/r/1391611914-26054-4-git-send-email-bp@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Borislav Petkov authored and Arnaldo Carvalho de Melo committed Feb 18, 2014
1 parent 0e55fa1 commit 5072f27
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion tools/perf/Makefile.perf
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ LIB_H += util/include/linux/kernel.h
LIB_H += util/include/linux/list.h
LIB_H += util/include/linux/export.h
LIB_H += util/include/linux/poison.h
LIB_H += util/include/linux/prefetch.h
LIB_H += util/include/linux/rbtree.h
LIB_H += util/include/linux/rbtree_augmented.h
LIB_H += util/include/linux/string.h
Expand Down
1 change: 0 additions & 1 deletion tools/perf/util/include/linux/list.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <linux/kernel.h>
#include <linux/prefetch.h>

#include "../../../../include/linux/list.h"

Expand Down
6 changes: 0 additions & 6 deletions tools/perf/util/include/linux/prefetch.h

This file was deleted.

0 comments on commit 5072f27

Please sign in to comment.