diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-09 00:01:50 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-09 00:01:50 +0200 |
commit | 8ed25f24b7831eab394f14697766d55065b18822 (patch) | |
tree | 58fade4cfccb0e0e081e7687a3860406c80d54e1 /sys/src/cmd/python/Python/dynload_shlib.c | |
parent | fcb9abccbbc73a4f449d55c2c7fb369db2ad139d (diff) |
kernel: various cleanups of imagereclaim(), pagereclaim(), freepages(), putimage()
imagereclaim(), pagereclaim():
- move imagereclaim() and pagereclaim() declarations to portfns.h
- consistently use ulong type for page counts
- name number of pages to free "pages" instead of "min"
- check for pages == 0 on entry
freepages():
- move pagechaindone() call to wakeup newpage() consumers inside
palloc critical section.
putimage():
- use long type for refcount
Diffstat (limited to 'sys/src/cmd/python/Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions