diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-04-12 18:08:06 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-04-12 18:08:06 +0200 |
| commit | a43321946e0f661f51290988c7e7567262d403bd (patch) | |
| tree | 437c6f43a515a2611cc7ea02497ba849ddaed976 /lib/constitution | |
| parent | 98a7eae9c0cdb31a48c79b34c5f263916a8c1390 (diff) | |
| download | plan9front-a43321946e0f661f51290988c7e7567262d403bd.tar.xz | |
segment: speed up fixedseg() doing single pass over freelist
walking the freelist for every page is too slow. as we
are freeing a range, we can do a single pass unlinking all
pages in our range and at the end, check if all pages
where freed, if not put the pages that we did free back
and retry, otherwise we'r done.
Diffstat (limited to 'lib/constitution')
0 files changed, 0 insertions, 0 deletions
