Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1245275

Re: [RFC] mm: fix a BUG, the page is allocated 2 times

From yalin wang <yalin.wang2010@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC] mm: fix a BUG, the page is allocated 2 times
Date 2015-10-13 03:50 +0200
Message-ID <qiWSZ-4U-13@gated-at.bofh.it> (permalink)
References <qiBlw-2to-13@gated-at.bofh.it> <qiLNU-LL-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> On Oct 12, 2015, at 21:52, Mel Gorman <mgorman@techsingularity.net> wrote:
> 
> There is a redundant check and a memory leak introduced by a patch in
> mmotm. This patch removes an unlikely(order) check as we are sure order
> is not zero at the time. It also checks if a page is already allocated
> to avoid a memory leak.
> 
> This is a fix to the mmotm patch
> mm-page_alloc-reserve-pageblocks-for-high-order-atomic-allocations-on-demand.patch
> 
> Signed-off-by: yalin wang <yalin.wang2010@gmail.com>
> Acked-by: Mel Gorman <mgorman@techsingularity.net>
no problem,
i have send the patch again using your change log .

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC] mm: fix a BUG, the page is allocated 2 times yalin wang <yalin.wang2010@gmail.com> - 2015-10-12 04:50 +0200
  Re: [RFC] mm: fix a BUG, the page is allocated 2 times Vlastimil Babka <vbabka@suse.cz> - 2015-10-12 09:40 +0200
    Re: [RFC] mm: fix a BUG, the page is allocated 2 times yalin wang <yalin.wang2010@gmail.com> - 2015-10-12 10:00 +0200
      Re: [RFC] mm: fix a BUG, the page is allocated 2 times "Kirill A. Shutemov" <kirill@shutemov.name> - 2015-10-12 12:10 +0200
        Re: [RFC] mm: fix a BUG, the page is allocated 2 times Vlastimil Babka <vbabka@suse.cz> - 2015-10-12 13:30 +0200
  Re: [RFC] mm: fix a BUG, the page is allocated 2 times Mel Gorman <mgorman@techsingularity.net> - 2015-10-12 16:00 +0200
    Re: [RFC] mm: fix a BUG, the page is allocated 2 times yalin wang <yalin.wang2010@gmail.com> - 2015-10-13 03:50 +0200

csiph-web