On 12/09/2012 08:24 PM, Shaohua Li wrote:
When I use several fast SSD to do swap, swapper_space.tree_lock is heavily contended. This makes each swap partition have one address_space to reduce the lock contention. There is an array of address_space for swap. The swap entry type is the index to the array. In my test with 3 SSD, this increases the swapout throughput 20%. There are some code here which looks unnecessary, for example, moving some code from swapops.h to swap.h and soem changes in audit_tree.c. Those are to make the code compile. Signed-off-by: Shaohua Li <shli@xxxxxxxxxxxx>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>