>>> On 21.11.17 at 16:19, <[email protected]> wrote:
> From: Wolfram Strepp <[email protected]>
> 
> Furthermore, notice that the initial checks:
> 
>             if (!node->rb_left)
>                     child = node->rb_right;
>             else if (!node->rb_right)
>                     child = node->rb_left;
>             else
>             {
>                     ...
>             }
> guarantee that old->rb_right is set in the final else branch, therefore
> we can omit checking that again.
> 
> Signed-off-by: Wolfram Strepp <[email protected]>
> Signed-off-by: Peter Zijlstra <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>
> Signed-off-by: Linus Torvalds <[email protected]>
> [Linux commit 4b324126e0c6c3a5080ca3ec0981e8766ed6f1ee]
> 
> Ported to Xen.
> 
> Signed-off-by: Praveen Kumar <[email protected]>

Acked-by: Jan Beulich <[email protected]>



_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to