Re: svn commit: r361984 - in head/sys: compat/linuxkpi/common/include/linux sys

2020-06-09 Thread Mateusz Guzik
This broke lint kernels as they define DIAGNOSTIC and fail in kern/subr_stat.c: /usr/src/sys/kern/subr_stats.c:3384:9: error: implicit declaration of function 'RB_COLOR' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RB_COLOR(rbctd64, rblnk),

svn commit: r361984 - in head/sys: compat/linuxkpi/common/include/linux sys

2020-06-09 Thread Doug Moore
Author: dougm Date: Tue Jun 9 20:19:11 2020 New Revision: 361984 URL: https://svnweb.freebsd.org/changeset/base/361984 Log: To reduce the size of an rb_node, drop the color field. Set the least significant bit in the pointer to the node from its parent to indicate that the node is red. Have