Asri-unix.859 net.unix-wizards utcsrgv!utzoo!decvax!ucbvax!ARPAVAX:C70:sri-unix!dan@BBN-UNIX Thu Feb 25 21:53:54 1982 buffer cache bug? There seems to be a bug in V7 and Berkeley VAX-UNIX buffer cache management. There's an optimization flag B_AGE which is set to indicate that when a buffer is freed, it should be put at the head of the free list, where it will be immediately reused, because it's not likely to be wanted again soon. But bwrite clears the B_AGE bit before releasing the buffer, cancelling any attempts at buffer management when writing. Seems to me that it should just leave it alone. Comments? (V7 UNIX uses this bit only on reads, so the bug doesn't matter there, but Berkeley VAX-UNIX attempts to use it on writes as well, where it is currently having no effect.) Dan Franklin ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.