View Single Post
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#4
Originally Posted by debernardis View Post
It's very interesting, and I'll try them as soon as I come back home from vacation.
One question: how could we implement the swap_prefetch you explained above in the n900? It would be a great addition to the swappolube package, possibly. Thanks
Here: http://kernel.org/pub/linux/kernel/p...k/patches/2.6/ you'll find Con's patches. Last set in the pre-2.6.30 series is 2.6.22, you'll need to port the swap-prefetch patch from there to N900 2.6.28. For such task, you may use linuxhq.org diff engine to follow changes in a given kernel file, and the linux crossreference webpages (for example http://lxr.free-electrons.com/) to search functions, and "grep -R" in the kernel sources a lot. Depending on the divergence in the vm subsystem between those two releases, the task can go from easy to almost impossible unless you are a kernel hacker.
 

The Following User Says Thank You to maacruz For This Useful Post: