Re: [patch net-next 16/19] lib: Introduce priority array area manager
From: Joe Perches <joe@perches.com>
Date: 2017-02-02 22:51:18
On Thu, 2017-02-02 at 16:12 +0100, Jiri Pirko wrote:
From: Jiri Pirko <redacted> 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 <redacted> --- MAINTAINERS | 8 + include/linux/parman.h | 76 ++++++++++
[]
quoted hunk ↗ jump to hunk
diff --git a/MAINTAINERS b/MAINTAINERS
[]
quoted hunk ↗ jump to hunk
@@ -9375,6 +9375,14 @@ F: drivers/video/fbdev/sti* F: drivers/video/console/sti* F: drivers/video/logo/logo_parisc* +PARMAN
This is not particularly descriptive. Perhaps expand the section header a little like: PARMAN - Linear priority array areas manager
quoted hunk ↗ jump to hunk
diff --git a/include/linux/parman.h b/include/linux/parman.h
[]
quoted hunk ↗ jump to hunk
@@ -0,0 +1,76 @@ +/* + * include/linux/parman.h - Manager for linear priority array areas
[]
quoted hunk ↗ jump to hunk
diff --git a/lib/Kconfig b/lib/Kconfig
[]
quoted hunk ↗ jump to hunk
@@ -550,4 +550,7 @@ config STACKDEPOT config SBITMAP bool +config PARMAN + tristate "parman"
help section? Why should this be selected?