Messages in this thread | | | Date | Wed, 03 Apr 2013 15:22:51 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH v3 2/3] fix hugetlb memory check in vma_dump_size() |
| |
On 04/03/2013 02:35 PM, 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> > Cc: stable@vger.kernel.org
Reviewed-by: Rik van Riel <riel@redhat.com>
| |