lfok/unix-project — Issue #7: Q2-5
Author: lfok
Created: 2011-12-01 01:45:42+00:00
State: open

5. Make another branch in your repository based on the linux-2.6.23.17-slob_syscalls branch and name it either

linux-2.6.23.17-best_fit_slob

or

linux-2.6.23.17-worst_fit_slob

depending on what algorithm you are going to implement. Within this new branch, modify mm/slob.c so that it uses either the best-first or the worst-fit algorithm. Begin with the function slob_alloc(), and make changes elsewhere as appropriate. The changes necessary to do this should not be too significant, so if you find yourself writing many lines of code you should
rethink your implementation.

Make sure you add a section to the file header including your team number, the names of your team members, and a description of the changes you made.