From: Adam L. <ag...@li...> - 2000-03-01 20:05:55
|
On Wed, Mar 01, 2000 at 04:20:06PM +0100, Kasper Verdich Lund wrote: > We still need to figure out what to do when the buffer cache gets filled > up.=20 The buffer cache not only fills up, it dynamically resizes. If there is any free memory the buffer cache should eat it, and as soon as their is any memory pressure the BC should shrink. I think (if we allow processes to map the BC) that we possibly must walk page tables and remove mappings (Ouch!) If we keep BC linear we could protect it with segmentation (e.g. just shrin= k the segment and tell processes) This means more TLB entries. It also means less-then-100% BC. If A real 'go= od' (that means often accessed) page is at the beginning of the BC, then th= at page might have to be copied when BC is shrunk. Comments? AGL --=20 Smoking is one of the leading causes of statistics. |