Re: [PATCH] linux-2.1.91-pre2 crash fixed

Dr. Werner Fink (werner@suse.de)
Thu, 26 Mar 1998 15:44:50 +0100


> I've found a small typo in mm/filemap.c, which prevented
> proper operation of the VM subsystem and, in effect, threw
> kswapd in a loop.
>
> In effect, it refused to free buffer memory when it was
> _above_ the minimum percentage :)

This small type with its enormous effect I've mentioned a hour ago or so :)

BTW: Rik? I've a simple suggestion for the calculation of the number of
free pages. After the last kernel driver has done its allocation
it would be usefull to remember the number of free pages with
a global variable num_availpages and use this one instead of
num_physpages for the most memory management operations.
This would give a better protection for systems with less amount of
physical ram to be out of the choosen limits for the VM subsystem.

Werner

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu