From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4D35CA9EC0 for ; Mon, 28 Oct 2019 13:55:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9D977208C0 for ; Mon, 28 Oct 2019 13:55:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D977208C0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4A0FA6B0007; Mon, 28 Oct 2019 09:55:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 450436B0008; Mon, 28 Oct 2019 09:55:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 38DAF6B000A; Mon, 28 Oct 2019 09:55:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0083.hostedemail.com [216.40.44.83]) by kanga.kvack.org (Postfix) with ESMTP id 16FD76B0007 for ; Mon, 28 Oct 2019 09:55:52 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 77EB8181AF5C2 for ; Mon, 28 Oct 2019 13:55:51 +0000 (UTC) X-FDA: 76093341702.10.verse20_8a18af8d29b20 X-HE-Tag: verse20_8a18af8d29b20 X-Filterd-Recvd-Size: 1729 Received: from r3-11.sinamail.sina.com.cn (r3-11.sinamail.sina.com.cn [202.108.3.11]) by imf36.hostedemail.com (Postfix) with SMTP for ; Mon, 28 Oct 2019 13:55:48 +0000 (UTC) Received: from unknown (HELO localhost.localdomain)([222.131.69.34]) by sina.com with ESMTP id 5DB6F35E000327D5; Mon, 28 Oct 2019 21:55:46 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com X-SMAIL-MID: 1329849283949 From: Hillf Danton To: "Kirill A. Shutemov" Cc: Hillf Danton , linux-mm , Andrew Morton , linux-kernel , Matthew Wilcox , Michal Hocko , Johannes Weiner , Shakeel Butt , Minchan Kim , Mel Gorman , Vladimir Davydov , Jan Kara Subject: Re: [RFC v2] mm: add page preemption Date: Mon, 28 Oct 2019 21:55:33 +0800 Message-Id: <20191028135533.17696-1-hdanton@sina.com> In-Reply-To: <20191026112808.14268-1-hdanton@sina.com> References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Date: Mon, 28 Oct 2019 15:26:09 +0300 Kirill A. Shutemov wrote: >=20 > On Sat, Oct 26, 2019 at 07:28:08PM +0800, Hillf Danton wrote: > > @@ -218,6 +219,9 @@ struct page { > > =20 > > #ifdef LAST_CPUPID_NOT_IN_PAGE_FLAGS > > int _last_cpupid; > > +#else > > + int prio; > > +#define CONFIG_PAGE_PREEMPTION PP > > #endif > > } _struct_page_alignment; > > =20 > [...] > a lot of cache misses that this change would generate. Queued on todo list. Thanks. Hillf