Re: [PATCH] drm: should break if already found the best size(v2)

2018-11-26 Thread Christian König
Am 26.11.18 um 08:44 schrieb Monk Liu: some description: for RB tree traveler we don't need to travel to the bottom level if already found the equal size node, thus the search performance can get improved. Tested-by: Rex Zhu Signed-off-by: Monk Liu --- drivers/gpu/drm/drm_mm.c | 2 ++ 1 fil

[PATCH] drm: should break if already found the best size(v2)

2018-11-25 Thread Monk Liu
some description: for RB tree traveler we don't need to travel to the bottom level if already found the equal size node, thus the search performance can get improved. Tested-by: Rex Zhu Signed-off-by: Monk Liu --- drivers/gpu/drm/drm_mm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dr