]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: update the header comment and pcpu_build_alloc_info comments
authorDennis Zhou (Facebook) <dennisszhou@gmail.com>
Sun, 16 Jul 2017 02:23:09 +0000 (22:23 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 17 Jul 2017 14:53:59 +0000 (10:53 -0400)
commit6c5ef4ecde8ec62d63fd9e4f783d14dff386a030
treebb7ed3295fc4738d1b7860d1c827639cd4099504
parent89f0044d2fc45df7a67465fbfdb5d86825b8ec51
percpu: update the header comment and pcpu_build_alloc_info comments

The header comment for percpu memory is a little hard to parse and is
not super clear about how the first chunk is managed. This adds a
little more clarity to the situation.

There is also quite a bit of tricky logic in the pcpu_build_alloc_info.
This adds a restructure of a comment to add a little more information.
Unfortunately, you will still have to piece together a handful of other
comments too, but should help direct you to the meaningful comments.

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