diff options
author | Dennis Zhou <dennisszhou@gmail.com> | 2017-09-27 23:34:59 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-09-27 23:45:57 +0200 |
commit | 2e08d20d777e997bf37806b22b471f98fbe6b693 (patch) | |
tree | 0bd30c9717769551b38ce344a9293ad70c9ca31e /mm/page_owner.c | |
parent | percpu: make this_cpu_generic_read() atomic w.r.t. interrupts (diff) | |
download | linux-2e08d20d777e997bf37806b22b471f98fbe6b693.tar.xz linux-2e08d20d777e997bf37806b22b471f98fbe6b693.zip |
percpu: fix starting offset for chunk statistics traversal
This patch fixes the starting offset used when scanning chunks to
compute the chunk statistics. The value start_offset (and end_offset)
are managed in bytes while the traversal occurs over bits. Thus for the
reserved and dynamic chunk, it may incorrectly skip over the initial
allocations.
Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/page_owner.c')
0 files changed, 0 insertions, 0 deletions