Jesus Sanchez-Palencia 09fd4860ea etf: Use cached rb_root
ETF's peek() operation is heavily used so use an rb_root_cached instead
and leverage rb_first_cached() which will run in O(1) instead of
O(log n).

Even if on 'timesortedlist_clear()' we could be using rb_erase(), we
choose to use rb_erase_cached(), because if in the future we allow
runtime changes to ETF parameters, and need to do a '_clear()', this
might cause some hard to debug issues.

Signed-off-by: Jesus Sanchez-Palencia <jesus.s.palencia@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-16 20:39:34 -08:00
..
2018-10-23 10:57:06 -07:00
2018-07-24 14:10:42 -07:00
2018-11-08 20:45:04 -08:00
2018-11-16 19:32:33 -08:00
2018-11-16 20:28:00 -08:00
2018-11-10 16:55:11 -08:00
2018-08-13 20:45:49 -07:00
2018-10-22 19:59:20 -07:00
2018-11-16 20:39:34 -08:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00