diff options
author | John Dyson <dyson@FreeBSD.org> | 1998-01-31 11:56:53 +0000 |
---|---|---|
committer | John Dyson <dyson@FreeBSD.org> | 1998-01-31 11:56:53 +0000 |
commit | eaf13dd73a6fe8d8d8555e4701e376dfbeedecc1 (patch) | |
tree | c9f18606ca9dad33803440815b531bd3c9cb23eb /bin/sh/arith.h | |
parent | 59a7338440a8e60534114cb4654cbe001c84f430 (diff) | |
download | src-eaf13dd73a6fe8d8d8555e4701e376dfbeedecc1.tar.gz src-eaf13dd73a6fe8d8d8555e4701e376dfbeedecc1.zip |
Change the busy page mgmt, so that when pages are freed, they
MUST be PG_BUSY. It is bogus to free a page that isn't busy,
because it is in a state of being "unavailable" when being
freed. The additional advantage is that the page_remove code
has a better cross-check that the page should be busy and
unavailable for other use. There were some minor problems
with the collapse code, and this plugs those subtile "holes."
Also, the vfs_bio code wasn't checking correctly for PG_BUSY
pages. I am going to develop a more consistant scheme for
grabbing pages, busy or otherwise. For now, we are stuck
with the current morass.
Notes
Notes:
svn path=/head/; revision=32937
Diffstat (limited to 'bin/sh/arith.h')
0 files changed, 0 insertions, 0 deletions