There was an error fetching the commit references. Please try again later.
lib: Introduce priority array area manager
This introduces a infrastructure for management of linear priority areas. Priority order in an array matters, however order of items inside a priority group does not matter. As an initial implementation, L-sort algorithm is used. It is quite trivial. More advanced algorithm called P-sort will be introduced as a follow-up. The infrastructure is prepared for other algos. Alongside this, a testing module is introduced as well. Signed-off-by:Jiri Pirko <jiri@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- MAINTAINERS 8 additions, 0 deletionsMAINTAINERS
- include/linux/parman.h 76 additions, 0 deletionsinclude/linux/parman.h
- lib/Kconfig 3 additions, 0 deletionslib/Kconfig
- lib/Kconfig.debug 10 additions, 0 deletionslib/Kconfig.debug
- lib/Makefile 3 additions, 0 deletionslib/Makefile
- lib/parman.c 376 additions, 0 deletionslib/parman.c
- lib/test_parman.c 395 additions, 0 deletionslib/test_parman.c
Please register or sign in to comment