From 1b370431d0ac51eb54bfbf17247f935d48995a34 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 5 Jun 2012 01:23:08 -0400 Subject: sim: Remove FastAlloc While FastAlloc provides a small performance increase (~1.5%) over regular malloc it isn't thread safe. After removing FastAlloc and using tcmalloc I've seen a performance increase of 12% over libc malloc when running twolf for ARM. --- src/arch/x86/pagetable_walker.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/arch') diff --git a/src/arch/x86/pagetable_walker.hh b/src/arch/x86/pagetable_walker.hh index 9392290c7..c59661619 100644 --- a/src/arch/x86/pagetable_walker.hh +++ b/src/arch/x86/pagetable_walker.hh @@ -44,7 +44,6 @@ #include "arch/x86/pagetable.hh" #include "arch/x86/tlb.hh" -#include "base/fast_alloc.hh" #include "base/types.hh" #include "mem/mem_object.hh" #include "mem/packet.hh" @@ -86,7 +85,7 @@ namespace X86ISA WalkerPort port; // State to track each walk of the page table - class WalkerState : public FastAlloc + class WalkerState { private: enum State { -- cgit v1.2.3