]> git.baikalelectronics.ru Git - kernel.git/commit
mlx5_core: Change optimal_reclaimed_pages for better performance
authorMoshe Lazer <moshel@mellanox.com>
Wed, 23 Oct 2013 06:53:21 +0000 (09:53 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:43:00 +0000 (14:43 -0800)
commit64bfe7506ebdcacc4654906b243ada9da8185246
tree2c596d00eb15ceb6af5317820f62021cb37f327e
parent03618a5a866af765d764c65ef4062ebd0e2aa4e3
mlx5_core: Change optimal_reclaimed_pages for better performance

Change optimal_reclaimed_pages() to increase the output size of each
reclaim pages command. This change reduces significantly the amount of
reclaim pages commands issued to FW when the driver is unloaded which
reduces the overall driver unload time.

Signed-off-by: Moshe Lazer <moshel@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c