Graeme, I found a problem on my code. I was calling kmalloc() only once for both portions of code. The result is that the first loop that accessed the memory was finding some penalty. Now I'm calling independent kmalloc for each test. The latest results are: Proposed_code: 13.3940560108 Original_code: 37.8944950594 The graph is at: http://i.imgur.com/nPjTE.jpg Source: http://goo.gl/cCMIa Peter -- Peter Senna Tschudin peter.senna@xxxxxxxxx gpg id: 48274C36 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies