aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/percpu.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 42ab0024a6ed..cbddcbdab681 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1488,8 +1488,9 @@ ssize_t __init pcpu_embed_first_chunk(size_t static_size, size_t reserved_size,
1488 } 1488 }
1489 1489
1490 /* we're ready, commit */ 1490 /* we're ready, commit */
1491 pr_info("PERCPU: Embedded %zu pages at %p, static data %zu bytes\n", 1491 pr_info("PERCPU: Embedded %zu pages/cpu @%p s%zu r%zu d%zu u%zu\n",
1492 size_sum >> PAGE_SHIFT, base, static_size); 1492 PFN_DOWN(size_sum), base, static_size, reserved_size, dyn_size,
1493 unit_size);
1493 1494
1494 return pcpu_setup_first_chunk(static_size, reserved_size, dyn_size, 1495 return pcpu_setup_first_chunk(static_size, reserved_size, dyn_size,
1495 unit_size, base, NULL); 1496 unit_size, base, NULL);
@@ -1579,8 +1580,8 @@ ssize_t __init pcpu_4k_first_chunk(size_t static_size, size_t reserved_size,
1579 } 1580 }
1580 1581
1581 /* we're ready, commit */ 1582 /* we're ready, commit */
1582 pr_info("PERCPU: %d 4k pages per cpu, static data %zu bytes\n", 1583 pr_info("PERCPU: %d 4k pages/cpu @%p s%zu r%zu\n",
1583 unit_pages, static_size); 1584 unit_pages, vm.addr, static_size, reserved_size);
1584 1585
1585 ret = pcpu_setup_first_chunk(static_size, reserved_size, -1, 1586 ret = pcpu_setup_first_chunk(static_size, reserved_size, -1,
1586 unit_pages << PAGE_SHIFT, vm.addr, NULL); 1587 unit_pages << PAGE_SHIFT, vm.addr, NULL);
@@ -1898,8 +1899,8 @@ ssize_t __init pcpu_lpage_first_chunk(size_t static_size, size_t reserved_size,
1898 static_size); 1899 static_size);
1899 1900
1900 /* we're ready, commit */ 1901 /* we're ready, commit */
1901 pr_info("PERCPU: Remapped at %p with large pages, static data " 1902 pr_info("PERCPU: large pages @%p s%zu r%zu d%zu u%zu\n",
1902 "%zu bytes\n", vm.addr, static_size); 1903 vm.addr, static_size, reserved_size, dyn_size, unit_size);
1903 1904
1904 ret = pcpu_setup_first_chunk(static_size, reserved_size, dyn_size, 1905 ret = pcpu_setup_first_chunk(static_size, reserved_size, dyn_size,
1905 unit_size, vm.addr, unit_map); 1906 unit_size, vm.addr, unit_map);