From patchwork Thu May 31 13:54:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kirill A . Shutemov" X-Patchwork-Id: 10441149 Return-Path: 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 A70CB602BC for ; Thu, 31 May 2018 13:55:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A25529097 for ; Thu, 31 May 2018 13:55:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F00E291D8; Thu, 31 May 2018 13:55:10 +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.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2574529097 for ; Thu, 31 May 2018 13:55:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 389506B0007; Thu, 31 May 2018 09:55:06 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 337546B0008; Thu, 31 May 2018 09:55:06 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 202406B000C; Thu, 31 May 2018 09:55:06 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id B37296B0007 for ; Thu, 31 May 2018 09:55:05 -0400 (EDT) Received: by mail-pg0-f72.google.com with SMTP id e1-v6so3266212pgp.20 for ; Thu, 31 May 2018 06:55:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=lhLZ1oR5qiefM1sXa4zA+Z2yH3OQzWG0mL5vOkP0MMU=; b=jJ2GRKYUEpMUZCzMP4rTdCBvIm5VBxJ4f2yYcBfqgUCnidCLMHa8J7jh2YuYzMpFrH TauKi4zmpIQbSYgrK6C4USAtu4rNbAbToGsUNQ/CN2SMBj6NdjrN7LxO/kpZuJxhLpKu Yykc1pYWw5L0N3kM5EUepSNQ2Zw9Bhq7c1gllmtMcsAqDBo1Ey75J/8cxaDqTtRj4h7k /zr+M4EILyPccRwLzG4+NsKP2pxhPFs6Mdr2BK4eK1AkAcpWnNxDOT7jvOXbCdAUaqUE DSCz4LF29tYqQD0jDTb0Tna5TxlTh088ALdwqKkEUq2JQloiCgO/xq0oeigvjBS5D/ao EkrQ== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Gm-Message-State: ALKqPwdnVvGGY7MCA2MtCuAS81uX0xCA3WI6v5G4NkIngyB+D4qq2zc1 tuB4vM0tOA2zeNQxgLf2+BGeLpjf0/c6TlOIXfgScb3zgvHeYaCYiyQbG8rj4r6KEK7UjKR6Chm xJQMCpZ4kg0tWYM9tMk9jRoFamwuXqfwurtvuWXxSFbay/WBqKB/QRy27qpdXAtp0jg== X-Received: by 2002:a17:902:b60b:: with SMTP id b11-v6mr7206205pls.330.1527774905425; Thu, 31 May 2018 06:55:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKB6bG88I5AYSNTPBOvRiv/8vJSLruQGTXCZOfWsUYK5bFFaJu7bIi6bJL8Viy1TWDkMUfE X-Received: by 2002:a17:902:b60b:: with SMTP id b11-v6mr7206174pls.330.1527774904735; Thu, 31 May 2018 06:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527774904; cv=none; d=google.com; s=arc-20160816; b=XeHqEltr5Advw5ulNr849xw+QKZQYIOg1/41ZmbpcaLMHXBIu4FxUcGHCs3id9H5o7 +UhVdAmLoL6DbpyCYtUddkX/Xd3fYTCP+StMV+lAs/VKHzdIgAyYNQ9A/sT+64+Ai7A8 7YeEcaDhhpCJgcq6uiph1T2EYDvVmYJOxBb7NsDinPNpveu3HuIIKw/OOvB0rtwqCcMq IB2ZEz4X2OI80vUZBveXXFB89mSGdzQ2N/szjxEVS78d07UMCWnNu+JHpwv8FgOQUfj5 IPYkHGnidA1w91ceaVkZ0mkiYL80tTEmAWZGK+PH5FfyMPjRdlh115oMdSxEbyRRFI3G lFSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=lhLZ1oR5qiefM1sXa4zA+Z2yH3OQzWG0mL5vOkP0MMU=; b=DFIJGGVg7jZu96xDl8fnkFnCJJ/VNaN00BOxr/eIXquvKdF7wox8zv2zsC6qGJX9jU AKTKcc00xv6iCTHSvTCuohD+Tj40X2aYQCeNRHV8bYkSUPToxAugbsG0XAe0BqB2RECr lsixl+YYihC1QmWiAV81tRvdE+7wV5IrVKuZrQN9zUFHzPZTQN1wp4bYDgllsaPJrMJ3 yVsx+4Ot6Qr0e2xpCEVWG3x0Rte++wvdF4pp6oqsxhSyPayX7saibj4liv0YbZuCa4+B yZ6YEjlq9D6B5O8ykwV49sH7rutn/taUDAG/Lo5HAAQo+cqifR88W36cm7Vc9ek5jilR 8x/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga14.intel.com (mga14.intel.com. [192.55.52.115]) by mx.google.com with ESMTPS id b66-v6si37586672plb.107.2018.05.31.06.55.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 06:55:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 192.55.52.115 as permitted sender) client-ip=192.55.52.115; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of kirill.shutemov@linux.intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 May 2018 06:55:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,463,1520924400"; d="scan'208";a="45381063" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga007.jf.intel.com with ESMTP; 31 May 2018 06:55:02 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id BA8F0F5; Thu, 31 May 2018 16:55:01 +0300 (EEST) From: "Kirill A. Shutemov" To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH 1/2] mm/page_ext: Drop definition of unused PAGE_EXT_DEBUG_POISON Date: Thu, 31 May 2018 16:54:56 +0300 Message-Id: <20180531135457.20167-2-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180531135457.20167-1-kirill.shutemov@linux.intel.com> References: <20180531135457.20167-1-kirill.shutemov@linux.intel.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP After bd33ef368135 ("mm: enable page poisoning early at boot") PAGE_EXT_DEBUG_POISON is not longer used. Remove it. Signed-off-by: Kirill A. Shutemov Reviewed-by: Vinayak Menon --- include/linux/page_ext.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/page_ext.h b/include/linux/page_ext.h index ca5461efae2f..bbec618a614b 100644 --- a/include/linux/page_ext.h +++ b/include/linux/page_ext.h @@ -16,18 +16,7 @@ struct page_ext_operations { #ifdef CONFIG_PAGE_EXTENSION -/* - * page_ext->flags bits: - * - * PAGE_EXT_DEBUG_POISON is set for poisoned pages. This is used to - * implement generic debug pagealloc feature. The pages are filled with - * poison patterns and set this flag after free_pages(). The poisoned - * pages are verified whether the patterns are not corrupted and clear - * the flag before alloc_pages(). - */ - enum page_ext_flags { - PAGE_EXT_DEBUG_POISON, /* Page is poisoned */ PAGE_EXT_DEBUG_GUARD, PAGE_EXT_OWNER, #if defined(CONFIG_IDLE_PAGE_TRACKING) && !defined(CONFIG_64BIT)