Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161656
b: refs/heads/master
c: 004018e
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Aug 14, 2009
1 parent 3025fd7 commit 6d0e294
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 971f3918a5a8febbbab355079972fb31ee7c0f33
refs/heads/master: 004018e2c06b9c650e88dddd973ae36799ed72b9
13 changes: 7 additions & 6 deletions trunk/mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,9 @@ ssize_t __init pcpu_embed_first_chunk(size_t static_size, size_t reserved_size,
}

/* we're ready, commit */
pr_info("PERCPU: Embedded %zu pages at %p, static data %zu bytes\n",
size_sum >> PAGE_SHIFT, base, static_size);
pr_info("PERCPU: Embedded %zu pages/cpu @%p s%zu r%zu d%zu u%zu\n",
PFN_DOWN(size_sum), base, static_size, reserved_size, dyn_size,
unit_size);

return pcpu_setup_first_chunk(static_size, reserved_size, dyn_size,
unit_size, base, NULL);
Expand Down Expand Up @@ -1579,8 +1580,8 @@ ssize_t __init pcpu_4k_first_chunk(size_t static_size, size_t reserved_size,
}

/* we're ready, commit */
pr_info("PERCPU: %d 4k pages per cpu, static data %zu bytes\n",
unit_pages, static_size);
pr_info("PERCPU: %d 4k pages/cpu @%p s%zu r%zu\n",
unit_pages, vm.addr, static_size, reserved_size);

ret = pcpu_setup_first_chunk(static_size, reserved_size, -1,
unit_pages << PAGE_SHIFT, vm.addr, NULL);
Expand Down Expand Up @@ -1898,8 +1899,8 @@ ssize_t __init pcpu_lpage_first_chunk(size_t static_size, size_t reserved_size,
static_size);

/* we're ready, commit */
pr_info("PERCPU: Remapped at %p with large pages, static data "
"%zu bytes\n", vm.addr, static_size);
pr_info("PERCPU: large pages @%p s%zu r%zu d%zu u%zu\n",
vm.addr, static_size, reserved_size, dyn_size, unit_size);

ret = pcpu_setup_first_chunk(static_size, reserved_size, dyn_size,
unit_size, vm.addr, unit_map);
Expand Down

0 comments on commit 6d0e294

Please sign in to comment.