Re: [PATCHv2] procfs: fix /proc/<pid>/maps heap check

From: Aaro Koskinen
Date: Wed Mar 09 2011 - 09:39:02 EST


Hi,

On Mon, 7 Mar 2011, Andrew Morton wrote:
On Fri, 4 Mar 2011 15:23:14 +0200
Aaro Koskinen <aaro.koskinen@xxxxxxxxx> wrote:

The current code fails to print the "[heap]" marking if the heap is
splitted into multiple mappings.

Fix the check so that the marking is displayed in all possible cases:
1. vma matches exactly the heap
2. the heap vma is merged e.g. with bss
3. the heap vma is splitted e.g. due to locked pages

Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>
Cc: stable@xxxxxxxxxx

Why do you believe this problem is serious enough to justify
backporting the fix into -stable?

My bad analysis. It looks like the bug has been there forever, and
since it only results in some information missing from a procfile,
it does not fulfil the stable "critical issue" criteria.

A.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/