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=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 61D76C433DF for ; Wed, 26 Aug 2020 14:24:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33138221E2 for ; Wed, 26 Aug 2020 14:24:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cmpxchg-org.20150623.gappssmtp.com header.i=@cmpxchg-org.20150623.gappssmtp.com header.b="cO+CBnh7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33138221E2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpxchg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AA0E36E144; Wed, 26 Aug 2020 14:24:32 +0000 (UTC) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by gabe.freedesktop.org (Postfix) with ESMTPS id 760AE6E144 for ; Wed, 26 Aug 2020 14:24:31 +0000 (UTC) Received: by mail-qt1-x843.google.com with SMTP id e5so1479874qth.5 for ; Wed, 26 Aug 2020 07:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zlwE58oTu+f+CX5TRYYwuWXiyc0+G6WkfNqbI/+jdSY=; b=cO+CBnh7nK5+bWxbN/rwQcj2H4qISpWSCtom8J3NYKwbjjXE4VHyCPU6l4SYsLNQmS /WI/E5HAG6u+MoAcxZo9egIz5wDe5DDX4DfqLRODmFk9MExnxgPzPF23yCNm1kB3cvoV JoRLPo24DnMgbfUAXBvkX2DO0dxWBYMNrm5mIDfNk6jWm/45g4hZat1hwqysM8GfOXFX 0R9ZwQfqa5GixPcfpxcCrt6oIcNXd+0bZ32ZYNKsPrbRA29tlAUFbv+RobCsikP15Xj7 ssAysz8PU4hvGQHGShDiRr1e+3BKKvfW+PrqfNf1IzlNtqHYDXkI1vnfAQh1X9s1Ugev bVmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zlwE58oTu+f+CX5TRYYwuWXiyc0+G6WkfNqbI/+jdSY=; b=sCHaw8I3hrGlzpBDU6gnHs6MfehxIO8kijDudx/pyz5K5WQ37N5cMXX/E9SVDHP1uy Abl4l+q2jeMpsxyn81830+KwtK4g/NRDiExQjxVrVBZSHyB9MQEu3JAXxD6QT66fnb5o vIAHB9njW0QaFwCwogZkdAARLe0bpbfz8ArHu3KasFCJNvhAi9vnvDshtNJuLycAJDnZ xSsYHXakXdYtzgU8XlRXLb7YFQ4729oV4Vg7yqClwpyO69DA20DLnnGtn9EFyjVfGCXh 24oKSh7gBMmlqAiGZ6wsqwsnFVJ9T0IP4/CO6Ev9aydPQsKChScw+QSjdrj2csltgv4F Nm3A== X-Gm-Message-State: AOAM531v5hIW1gBtFj03/QATlYrWGqOz13Om1EfzzICu2PG0PVF0Y4sf I8Q/JoqocPVhylzDTjBbI4NzpQ== X-Google-Smtp-Source: ABdhPJzBytYswWR/8B2VHm5Q2Kp/UY/Co8p03yrx9NKrzlbYv6CmqwA0aRiqdMFNUUKDmEF2RxDrxg== X-Received: by 2002:ac8:47c8:: with SMTP id d8mr13412483qtr.32.1598451870688; Wed, 26 Aug 2020 07:24:30 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::1:f646]) by smtp.gmail.com with ESMTPSA id l1sm2016291qtp.96.2020.08.26.07.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 07:24:29 -0700 (PDT) Date: Wed, 26 Aug 2020 10:23:15 -0400 From: Johannes Weiner To: "Matthew Wilcox (Oracle)" Message-ID: <20200826142315.GB988805@cmpxchg.org> References: <20200819184850.24779-1-willy@infradead.org> <20200819184850.24779-4-willy@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200819184850.24779-4-willy@infradead.org> Subject: Re: [Intel-gfx] [PATCH 3/8] mm: Optimise madvise WILLNEED X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: William Kucharski , intel-gfx@lists.freedesktop.org, Hugh Dickins , linux-kernel@vger.kernel.org, Chris Wilson , linux-mm@kvack.org, Matthew Auld , Huang Ying , cgroups@vger.kernel.org, Andrew Morton , Alexey Dobriyan Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, Aug 19, 2020 at 07:48:45PM +0100, Matthew Wilcox (Oracle) wrote: > Instead of calling find_get_entry() for every page index, use an XArray > iterator to skip over NULL entries, and avoid calling get_page(), > because we only want the swap entries. > > Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Johannes Weiner _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx