datastruct/rbtree: initial import from Linux kernel implementation