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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 DB26CC11F65 for ; Wed, 30 Jun 2021 08:39:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A313561D18 for ; Wed, 30 Jun 2021 08:39:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A313561D18 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 13D3F8D0196; Wed, 30 Jun 2021 04:39:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1153F8D017A; Wed, 30 Jun 2021 04:39:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F1E688D0196; Wed, 30 Jun 2021 04:39:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0181.hostedemail.com [216.40.44.181]) by kanga.kvack.org (Postfix) with ESMTP id CB9168D017A for ; Wed, 30 Jun 2021 04:39:50 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 9B84522AC9 for ; Wed, 30 Jun 2021 08:39:50 +0000 (UTC) X-FDA: 78309742140.03.A919C76 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf04.hostedemail.com (Postfix) with ESMTP id 1DE6450000A0 for ; Wed, 30 Jun 2021 08:39:50 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 04C62225F4; Wed, 30 Jun 2021 08:39:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1625042389; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LAok8aXqVPRw4PDdITfa7F/8C/VBQZ8wiZP19XKfIr4=; b=nSWI2n/eeRY5vZ8luIa/myWC8es4URiXrfWhkVK5QQ03iSKA0n2lQTT7LilT67L6m2SMgV bv2lagtUox3xY0aiP46UEorTxBTnVDoBaZMml4Iev7Cnt0L1r5sj9ahTFbNP6DRBJ67DIP JQLV6CMw30x+rh+nmkq1QGG+SOcRFAg= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id CE37BA3B85; Wed, 30 Jun 2021 08:39:48 +0000 (UTC) Date: Wed, 30 Jun 2021 10:39:48 +0200 From: Michal Hocko To: "Matthew Wilcox (Oracle)" Cc: linux-mm@kvack.org, cgroups@vger.kernel.org, Johannes Weiner , Vladimir Davydov Subject: Re: [PATCH v3 17/18] mm/memcg: Add folio_lruvec_relock_irq() and folio_lruvec_relock_irqsave() Message-ID: References: <20210630040034.1155892-1-willy@infradead.org> <20210630040034.1155892-18-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210630040034.1155892-18-willy@infradead.org> Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b="nSWI2n/e"; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf04.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com X-Rspamd-Server: rspam02 X-Stat-Signature: oh4fj548y6e88iqgdugi85srzykauxc8 X-Rspamd-Queue-Id: 1DE6450000A0 X-HE-Tag: 1625042390-957677 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: On Wed 30-06-21 05:00:33, Matthew Wilcox wrote: > These are the folio equivalents of relock_page_lruvec_irq() and > folio_lruvec_relock_irqsave(), which are retained as compatibility wrappers. > Also convert lruvec_holds_page_lru_lock() to folio_lruvec_holds_lru_lock(). $ git grep relock_page_lruvec_irqsave include/linux/memcontrol.h:static inline struct lruvec *relock_page_lruvec_irqsave(struct page *page, on your tree. -- Michal Hocko SUSE Labs From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: [PATCH v3 17/18] mm/memcg: Add folio_lruvec_relock_irq() and folio_lruvec_relock_irqsave() Date: Wed, 30 Jun 2021 10:39:48 +0200 Message-ID: References: <20210630040034.1155892-1-willy@infradead.org> <20210630040034.1155892-18-willy@infradead.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1625042389; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LAok8aXqVPRw4PDdITfa7F/8C/VBQZ8wiZP19XKfIr4=; b=nSWI2n/eeRY5vZ8luIa/myWC8es4URiXrfWhkVK5QQ03iSKA0n2lQTT7LilT67L6m2SMgV bv2lagtUox3xY0aiP46UEorTxBTnVDoBaZMml4Iev7Cnt0L1r5sj9ahTFbNP6DRBJ67DIP JQLV6CMw30x+rh+nmkq1QGG+SOcRFAg= Content-Disposition: inline In-Reply-To: <20210630040034.1155892-18-willy-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Matthew Wilcox (Oracle)" Cc: linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Johannes Weiner , Vladimir Davydov On Wed 30-06-21 05:00:33, Matthew Wilcox wrote: > These are the folio equivalents of relock_page_lruvec_irq() and > folio_lruvec_relock_irqsave(), which are retained as compatibility wrappers. > Also convert lruvec_holds_page_lru_lock() to folio_lruvec_holds_lru_lock(). $ git grep relock_page_lruvec_irqsave include/linux/memcontrol.h:static inline struct lruvec *relock_page_lruvec_irqsave(struct page *page, on your tree. -- Michal Hocko SUSE Labs