[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




> 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