diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-04-06 01:20:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-06 06:36:23 +0200 |
commit | eb7235eb842043ca302e992286ca6af63a8127fe (patch) | |
tree | 44d3ff91546e6492dbaae7567cf3b8b73ffcf18c /include/uapi | |
parent | slab: make size_index_elem() unsigned int (diff) | |
download | linux-eb7235eb842043ca302e992286ca6af63a8127fe.tar.xz linux-eb7235eb842043ca302e992286ca6af63a8127fe.zip |
slub: make ->remote_node_defrag_ratio unsigned int
->remote_node_defrag_ratio is in range 0..1000.
This also adds a check and modifies the behavior to return an error
code. Before this patch invalid values were ignored.
Link: http://lkml.kernel.org/r/20180305200730.15812-9-adobriyan@gmail.com
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions