Re: [Bug 42578] Kernel crash "Out of memory error by X" when using NTFS file system on external USB Hard drive
From: Rik van Riel <hidden>
Date: 2012-02-10 17:01:56
From: Rik van Riel <hidden>
Date: 2012-02-10 17:01:56
On 02/10/2012 11:37 AM, Mel Gorman wrote:
On Thu, Jan 19, 2012 at 12:24:48PM -0800, Andrew Morton wrote:
quoted
I think it is was always wrong that we only strip buffer_heads when moving pages to the inactive list. What happens if those 600MB of buffer_heads are all attached to inactive pages?I wondered the same thing myself. With some use-once logic, there is no guarantee that they even get promoted to the active list in the first place. It's "always" been like this but we've changed how pages gets promoted quite a bit and this use case could have been easily missed.
It may be possible to also strip the buffer heads from pages when they are moved to the active list, in activate_page(). -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>