Skip to contentSkip to conversation

minor patch for 2.1.90 fs/buffer.c

DISCUSSION Rik van Riel 1 participant 1 message Mar 24, 1998 1 message not in the archive Memory management

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · Bill Hawes

allocation would be required. (I recently observed a machine with 500M of RAM, heavily swapping, but with only 360 buffers, so this situation can occur.)

Indeed, you're completely right... I've noticed something like this as well, although not as severe.

But maybe we should _limit_ the second-round allocation to something less than half of the needed buffermem (say, 1/4th).

Rik.

+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page          | Scouting       webmaster |
|        - kswapd ask-him & complain-to guy | Vries    cubscout leader |
|     http://www.fys.ruu.nl/~riel/          | <[email protected]> |
+-------------------------------------------+--------------------------+