[Bug 242427] pmap_remove() sometimes is very slow causing 10+ minutes long reboots

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 4 17:23:13 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242427

--- Comment #4 from Peter Eriksson <pen at lysator.liu.se> ---
(In reply to Peter Eriksson from comment #3)

Before someone asks - yes, in theory since I'm using the "if
(time_second-t0>0)" check, then it _could_ be just coincidence and that the
clock steps 1s just between the two reads of time_second. However, it is
consistent (all 4 levels of calls return 1 (and they read the time spent
separately) - and I see it printed 14 times), and the loop in keg_drain reports
14 seconds - so I doubt that it would be the case. Not all the time atleast...
:-)

> kmem_unback: pmap_remove(kernel_pmap, 18446741877714755584, 18446741877714767872) took 1 seconds
> kmem_free: kmem_unback(kmem_object, 18446741877714755584, 12288) took 1 seconds
> page_free: kmem_free(kmem_arena, 18446741877714755584, 12288) took 1 seconds
> keg_free_slab: keg->uk_freef(mem) {page_free} took 1 seconds
(The four lines above is repeated 14 times, with different addresses of course)

> keg_drain: while-keg_free_slab-loop took 14 seconds [20021 loops, 14 slow calls]

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list