OSDN Git Service

percpu: setup_first_chunk rename schunk/dchunk to chunk
authorDennis Zhou (Facebook) <dennisszhou@gmail.com>
Mon, 24 Jul 2017 23:02:04 +0000 (19:02 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 26 Jul 2017 14:23:52 +0000 (10:23 -0400)
commit0c4169c3d11722a26773bdc0144c97fadd47d905
tree112f559a8d294f51ef59eaebbcb06bbcd267b870
parent6b9d7c8e8ecf35dc9ba6763a45d81e54ee3ffcde
percpu: setup_first_chunk rename schunk/dchunk to chunk

There is no need to have the static chunk and dynamic chunk be named
separately as the allocations are sequential. This preemptively solves
the misnomer problem with the base_addrs being moved up in the following
patch. It also removes a ternary operation deciding the first chunk.

Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c