]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: combine percpu address checks
authorDennis Zhou (Facebook) <dennisszhou@gmail.com>
Mon, 24 Jul 2017 23:02:06 +0000 (19:02 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 26 Jul 2017 14:23:53 +0000 (10:23 -0400)
commit773b2f301756a49af965552cd9ce37afbe2b9e0d
treebfb62b134165d7808f06c1b795c62f0ecadd8682
parentb36806dc142bc84fefa6dbd3eee9af3e96fdb8d1
percpu: combine percpu address checks

The percpu address checks for the reserved and dynamic region chunks are
now specific to each region. The address checking logic can be combined
taking advantage of the global references to the dynamic and static
region chunks.

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