summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorRoman Gushchin <guro@fb.com>2021-04-08 06:57:32 +0300
committerDennis Zhou <dennis@kernel.org>2021-04-16 23:57:59 +0300
commit67c2669d69fb5ada0f3b5123fb6ebf6fef9faee5 (patch)
treeb90de0cefbc7f537bab188ac321cf6abe331ef5a /.get_maintainer.ignore
parentac9380f6b8a6a908a9df023bf8a2bcdaf9d2d6cb (diff)
downloadlinux-67c2669d69fb5ada0f3b5123fb6ebf6fef9faee5.tar.xz
percpu: split __pcpu_balance_workfn()
__pcpu_balance_workfn() became fairly big and hard to follow, but in fact it consists of two fully independent parts, responsible for the destruction of excessive free chunks and population of necessarily amount of free pages. In order to simplify the code and prepare for adding of a new functionality, split it in two functions: 1) pcpu_balance_free, 2) pcpu_balance_populated. Move the taking/releasing of the pcpu_alloc_mutex to an upper level to keep the current synchronization in place. Signed-off-by: Roman Gushchin <guro@fb.com> Reviewed-by: Dennis Zhou <dennis@kernel.org> Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions