Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp365715pxj; Thu, 10 Jun 2021 02:43:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyv4OSP3OBufEhqh0zXVTrYCoxj9VqSOYzYT5X8vO8JoWk5gERStCq97bgATVq8rEtem24V X-Received: by 2002:a05:6402:138c:: with SMTP id b12mr3822088edv.268.1623318205232; Thu, 10 Jun 2021 02:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623318205; cv=none; d=google.com; s=arc-20160816; b=waS3jMwR7Pd18/MrClZmB3n+vRqeUSJRLgN9BsCreI8r7MMPTPrM9DU7sJVcRYzgqf w65DUU1UZyMlTeglvHAr+lfqofWAtW78aqr6iDJ0jaGNHA9vt0jF2o94KbxdvUEkUNM6 ylxRWHIgnIqUD1qouDyB4LHcRCb1NFvanyN49JBxggPTdy2c/dncyk7SxIqF0fyDoCre 8r6+sOoTtOYWF5UWH3UnWuziHiWlK/tNEbcbljZwTwVk5xRV4hIaE1/UHXeimwefUoXy P2/EtARsGscY6KVw1nZ74hjOwNXXidnaZJPXWrZqKdxxqvM0rpBTRYEqSutGvzDohquB rLng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LwQzoBJzDB7ezkzB47wtBVJSBP9D7oNJlBTqKJy0Tc4=; b=Epc0nV4thnxfI+bprZuXiWB+XDuNqMsZC5R6Jjw4egPYd36BX4oNfwLbeZf2cDWeeZ +3VIDDDEvf2uoEbCcySG+ws2Bsqx6MGl1qbF6/H4X5Ym5eJ3n9KaiwOknNoyB+wm0sH+ 7/r8tw6N3phamQu3EY5fPX9rkZlhN6neBmjzd+VNzKvJZ2NHlzIUSlLgx6vMp87xSXxx jOlG5yKlj8s2y+5VYKVr0YrMMDCShmhabW93hijCQ60yOnSpO10bh++1CX6fg7YFxjoI Ea6gSjuXlHfPAQl+1KyrsrWu7T0rSk+g3ICPH7w6T5Re+J9X1DLIaFWeFasqmUbRMh+X qQjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=Uc0nRjay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si2029283ejc.427.2021.06.10.02.43.01; Thu, 10 Jun 2021 02:43:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=Uc0nRjay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbhFJJme (ORCPT + 99 others); Thu, 10 Jun 2021 05:42:34 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:46763 "EHLO mail-lf1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbhFJJmd (ORCPT ); Thu, 10 Jun 2021 05:42:33 -0400 Received: by mail-lf1-f41.google.com with SMTP id m21so2168785lfg.13 for ; Thu, 10 Jun 2021 02:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LwQzoBJzDB7ezkzB47wtBVJSBP9D7oNJlBTqKJy0Tc4=; b=Uc0nRjaysL/UDVcykvRfntwjBxt9u6n8diuorlsTK+kGasvAduirEKydZbOHOKIC65 EdWEbTCqU/RZ5WC+5ZvYz8WzaKWspWk0C6Di8qkWQQJzYa1RlNK0KWLc9iyQ2y0h6OdT 3UFNYzGDuSagGDCXl6+7A1Yk4xLjwC/K4RlwUWV+HNMNtVGzNjgOZSQo/61T7uAT3KC9 kCtp4FKZMuJNc0RvkYflS+1COFLTZWI5XtJKKBaimmoTLa4HFlDvOCtnu7txq5rYYRQy AOS2qFlkgiZjd997sszszHv/w8WouPaRu91GV/3F223xc7KZKKFsNqbr95+oAUqdC0q1 i1ug== 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=LwQzoBJzDB7ezkzB47wtBVJSBP9D7oNJlBTqKJy0Tc4=; b=i2iGwqHo51cyIRH9ctgnzCu2MUM2JjLmNyw70wdMO6YyK8EzDdzXTqEzy+sLB5BaIZ xBjjVGgZHLaz8eVLFHWPQTjCoYyME4SuMSJUU+CyEDZYv3jl8xza6V9WLZjyZoAM4u0R mkBq/5jy2JmmHLJe9GeCo0V28R+Q5us2tlTHaLwt8e3ECT52HdI1rpHgeNBsEhBddN45 LaeqVy20MipKoJpz5o8hkID0i8Qs09hSoepWPaC8Dq4JD7+yPcE4QYxu8ltXUb/QsC7r gxYEkvoRuLo/PgNYYY+ZXqU+RmfK+XrEFCn1iE1A0jY0+sppAmQYt74gaoxtXQU/x54P +FZA== X-Gm-Message-State: AOAM533K4WqvYdFZoalrBJ+damcZ4Ib0YP08eR3ZaM59kEqWrp2ZfWfI W2xl5anDnr/tOZ9es6nUr/9wtw== X-Received: by 2002:a05:6512:3244:: with SMTP id c4mr1346515lfr.340.1623317977064; Thu, 10 Jun 2021 02:39:37 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id y26sm245842lfj.298.2021.06.10.02.39.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 02:39:36 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id 8F8751027EE; Thu, 10 Jun 2021 12:39:52 +0300 (+03) Date: Thu, 10 Jun 2021 12:39:52 +0300 From: "Kirill A. Shutemov" To: Hugh Dickins Cc: Andrew Morton , "Kirill A. Shutemov" , Yang Shi , Wang Yugui , Matthew Wilcox , Alistair Popple , Ralph Campbell , Zi Yan , Peter Xu , Will Deacon , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/11] mm: page_vma_mapped_walk(): use goto instead of while (1) Message-ID: <20210610093952.kr5ixjmkl5ttdrrc@box.shutemov.name> References: <589b358c-febc-c88e-d4c2-7834b37fa7bf@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 09, 2021 at 11:48:27PM -0700, Hugh Dickins wrote: > page_vma_mapped_walk() cleanup: add a label this_pte, matching next_pte, > and use "goto this_pte", in place of the "while (1)" loop at the end. > > Signed-off-by: Hugh Dickins > Cc: Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov