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

From: KOSAKI Motohiro
Date: Mon Mar 07 2011 - 02:59:18 EST


> 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
> ---
>
> v2: Rewrote the changelog.

Looks good.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>



--
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/