From: Matan Barak Date: Thu, 11 Dec 2014 08:57:56 +0000 (+0200) Subject: net/mlx4: Add mlx4_bitmap zone allocator X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a89399ffad7b7c47b43afda010309b3b88538c0;p=pandora-kernel.git net/mlx4: Add mlx4_bitmap zone allocator The zone allocator is a mechanism which manages a few mlx4_bitmaps. When allocating a resource, the user indicates the desired zone of which this resource will be allocated from. If possible, the resource will be allocated from this zone. Otherwise, the resource will be allocated from a less-than, equal-to, higher-than priority zone, according to the desired zone's properties with that respective allocation order. Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed