diff options
author | alc <alc@FreeBSD.org> | 2012-10-29 06:15:04 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2012-10-29 06:15:04 +0000 |
commit | 77582e8298a329afe130b4707b2f655de8f47469 (patch) | |
tree | a62e7875d6bda03cb63a3bc9d351a84c9934e260 /usr.bin/yes | |
parent | 308e8489e1e1c15be83ab48adaf765eb34bea461 (diff) | |
download | FreeBSD-src-77582e8298a329afe130b4707b2f655de8f47469.zip FreeBSD-src-77582e8298a329afe130b4707b2f655de8f47469.tar.gz |
Replace the page hold queue, PQ_HOLD, by a new page flag, PG_UNHOLDFREE,
because the queue itself serves no purpose. When a held page is freed,
inserting the page into the hold queue has the side effect of setting the
page's "queue" field to PQ_HOLD. Later, when the page is unheld, it will
be freed because the "queue" field is PQ_HOLD. In other words, PQ_HOLD is
used as a flag, not a queue. So, this change replaces it with a flag.
To accomodate the new page flag, make the page's "flags" field wider and
"oflags" field narrower.
Reviewed by: kib
Diffstat (limited to 'usr.bin/yes')
0 files changed, 0 insertions, 0 deletions