Message ID | 20170815093306.GC29067@dhcp22.suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A217C60230 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 15 Aug 2017 09:33:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 910612880B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 15 Aug 2017 09:33:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8593028816; Tue, 15 Aug 2017 09:33:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 13FF22880B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 15 Aug 2017 09:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pd6VCfKdz4WvvWgUCW446X3YA8/qDUBqlhgIETdGLLE=; b=KQojo7EkvwA9p9 sJ8Wqzv9pF2Dy1f2PdO1JIBy0YzP2AZvv4fK6zb5T2aYsTMk0gljBXItIizI0doWQ0pWgGAVNoNbN 7ohWuJRJbliDK6+7pNaOEnIo8Gn/pa8lat+BP3kRLVM05o0MwCstKE14DzFid2lnL0kK6ruZOn2Tw EvXXCDJM5wg4Jq78KikQpnrNX5V3OH+kkyHCir+LJ57BRYMa/XLhAwLUJY/dQt5+b4aNQfvEvLgN+ jHZwPNqgpkgN+HKTeZUOFp5uohXeLdDHm0y8UphslUV5kSWDNWV5gPfNGXWWAmQBvAl/9Ay16R6mv syVLCSwwtWuxHubXi6/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dhYEC-0004s0-KC; Tue, 15 Aug 2017 09:33:36 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhYE7-0004mF-T0 for linux-arm-kernel@lists.infradead.org; Tue, 15 Aug 2017 09:33:34 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E9BBDAE95; Tue, 15 Aug 2017 09:33:09 +0000 (UTC) Date: Tue, 15 Aug 2017 11:33:07 +0200 From: Michal Hocko <mhocko@kernel.org> To: Pavel Tatashin <pasha.tatashin@oracle.com> Subject: Re: [v6 05/15] mm: don't accessed uninitialized struct pages Message-ID: <20170815093306.GC29067@dhcp22.suse.cz> References: <1502138329-123460-1-git-send-email-pasha.tatashin@oracle.com> <1502138329-123460-6-git-send-email-pasha.tatashin@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1502138329-123460-6-git-send-email-pasha.tatashin@oracle.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170815_023332_232441_956C30F5 X-CRM114-Status: GOOD ( 15.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-s390@vger.kernel.org, ard.biesheuvel@linaro.org, sam@ravnborg.org, borntraeger@de.ibm.com, will.deacon@arm.com, x86@kernel.org, heiko.carstens@de.ibm.com, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, willy@infradead.org, catalin.marinas@arm.com, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, davem@davemloft.net, linux-arm-kernel@lists.infradead.org, Mel Gorman <mgorman@suse.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 90e331e4c077..987a340a5bed 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1524,11 +1524,6 @@ static int __init deferred_init_memmap(void *data) cond_resched(); } - if (page->flags) { - VM_BUG_ON(page_zone(page) != zone); - goto free_range; - } - __init_single_page(page, pfn, zid, nid); if (!free_base_page) { free_base_page = page;