Re: [PATCH v3 0/3] make RB_DECLARE_CALLBACKS more generic

2019-07-03 Thread Peter Zijlstra
On Tue, Jul 02, 2019 at 09:01:53PM -0700, Michel Lespinasse wrote: > These changes are intended to make the RB_DECLARE_CALLBACKS macro > more generic (allowing the aubmented subtree information to be a struct > instead of a scalar). > > Changes since v2: Left the RBSTATIC and RBNAME arguments firs

[PATCH v3 0/3] make RB_DECLARE_CALLBACKS more generic

2019-07-02 Thread Michel Lespinasse
These changes are intended to make the RB_DECLARE_CALLBACKS macro more generic (allowing the aubmented subtree information to be a struct instead of a scalar). Changes since v2: Left the RBSTATIC and RBNAME arguments first in the RB_DECLARE_CALLBACKS and RB_DECLARE_CALLBACKS_MAX macros as suggeste