Re: [ 101/175] mm: vmscan: forcibly scan highmem if there are toomany buffer_heads pinning highmem

From: Ben Hutchings
Date: Mon Apr 02 2012 - 23:01:45 EST


On Fri, 2012-03-30 at 12:50 -0700, Greg KH wrote:
> 3.3-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Mel Gorman <mel@xxxxxxxxx>
>
> commit cc715d99e529d470dde2f33a6614f255adea71f3 upstream.
>
> Stuart Foster reported on bugzilla that copying large amounts of data
> from NTFS caused an OOM kill on 32-bit X86 with 16G of memory. Andrew
> Morton correctly identified that the problem was NTFS was using 512
> blocks meaning each page had 8 buffer_heads in low memory pinning it.

I notice that this was not applied to 3.0.26 or 3.2.14.

[...]
> Addresses https://bugzilla.kernel.org/show_bug.cgi?id=42578
[...]

but this bug was reported against 3.1.9, so the fix is presumably needed
for 3.2 at least.

Presumably the upstream change doesn't apply cleanly and would need to
be backported. Is anyone planning to do that?

Ben.

--
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.

Attachment: signature.asc
Description: This is a digitally signed message part