Ticket #20 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Move page-size arithmetic into swaps.c

Reported by: jtv Assigned to: somebody
Priority: low Milestone:
Component: component1 Version:
Severity: minor Keywords:
Cc:

Description

As per [139], the page-size arithmetic (PAGE_SIZE, EXT_TO_PAGE, TRUNC_TO_PAGE) is used only in swaps.c. It may be time to move this stuff out of memory.h, and change it over from preprocessor macros to inlinable local functions.

An assert() has been added to main.c, but that can be moved into a new startup-check function.

Change History

07/01/06 07:58:12 changed by jtv

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [142].