Question: what is the difference between demand cleaning and precleaning?
Answer: With demand cleaning, a page is written out to secondary memory only when it has been selected for replacement. A pre-cleaning policy writes modified pages before their page frames are needed so that pages can be written out in batches.