diff options
author | Jan Beulich <[email protected]> | 2012-10-04 14:48:10 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-10-24 10:50:25 +0200 |
commit | 876ee61aadf01aa0db981b5d249cbdd53dc28b5e (patch) | |
tree | 3acb8c5c40f379a27d4fe26dd13f317715fbe73d /net/unix/sysctl_net_unix.c | |
parent | 7b16bbf97375d9fb7fc107b3f80afeb94a204e44 (diff) |
x86-64: Fix page table accounting
Commit 20167d3421a089a1bf1bd680b150dc69c9506810 ("x86-64: Fix
accounting in kernel_physical_mapping_init()") went a little too
far by entirely removing the counting of pre-populated page
tables: this should be done at boot time (to cover the page
tables set up in early boot code), but shouldn't be done during
memory hot add.
Hence, re-add the removed increments of "pages", but make them
and the one in phys_pte_init() conditional upon !after_bootmem.
Reported-Acked-and-Tested-by: Hugh Dickins <[email protected]>
Signed-off-by: Jan Beulich <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions