lkml.org 
[lkml]   [2013]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND][PATCH v5 2/3] fix hugetlb memory check in vma_dump_size()
On Wed 10-04-13 14:49:07, David Rientjes wrote:
> On Wed, 10 Apr 2013, Naoya Horiguchi wrote:
>
> > Documentation/filesystems/proc.txt says about coredump_filter bitmask,
> >
> > Note bit 0-4 doesn't effect any hugetlb memory. hugetlb memory are only
> > effected by bit 5-6.
> >
> > However current code can go into the subsequent flag checks of bit 0-4
> > for vma(VM_HUGETLB). So this patch inserts 'return' and makes it work
> > as written in the document.
> >
> > Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
> > Reviewed-by: Rik van Riel <riel@redhat.com>
> > Acked-by: Michal Hocko <mhocko@suse.cz>
> > Reviewed-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
> > Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> > Cc: stable@vger.kernel.org
>
> Acked-by: David Rientjes <rientjes@google.com>
>
> Stable for 2.6.34+.

I think it is only 3.7+ as well because VM_RESERVED stopped use before
(314e51b9).

--
Michal Hocko
SUSE Labs


\
 
 \ /
  Last update: 2013-04-11 09:42    [W:0.034 / U:1.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site