Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3275832pxj; Tue, 11 May 2021 00:17:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqOGz3QA7ZasDGZKpmMd/KF+YaxUEst81ouiQwsLPhkt4f0BUREvGxUq7vWaYy79Tt7dTA X-Received: by 2002:a05:6e02:dc4:: with SMTP id l4mr16446964ilj.142.1620717450884; Tue, 11 May 2021 00:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620717450; cv=none; d=google.com; s=arc-20160816; b=NSRc4Y4W/FrTTbcUFUcPlh5d6fpLBV+tIM+ZolUbO04+nlylqqgAhACFflnk3+kP7v HES6tEETR92+cMauij8eyp9fYC70Nzk0pgwBzrSiy9PqwABjN/ebnkQFlqPYEUhRGZk4 5Nfp1cmSzusBzs9MPRC+0JL9wqZxO5fAbLpAgWOszZzsOeB45dwlZlivDgoVIFxUZQn3 bEUTdAiQbmgUoRYJLmi7MlzDXdHoyNWpRWIRJRTj0JytlZO1xXwb8YVKicV8WSqhAgpT Fa4o/4YrerdD6+sjOWGdbbbEapjMzeuQ7SCA1qB7hi+4+YbuMpUtxqnrjRDvq/k8oblU +EPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=8UzqGBEnMFGPXHaRr6PfDxH2kRj2bejhyjTaWq+GqQo=; b=nz2vEty6r3h2lGf4/I6mE9Ja35ReFhGuwZDqG/pmmM24obo3G1LbnJmMEIa5yTGlSw yMJhFdsTIW4xlDppUVLowKW1OFmTocDrJd7RCfpCq3DBos0SedyqaCFPwF7MNEjk44Ku Zod1kcyuibQGlIn4IlRzClm6zpjZmT0r/5qvs1WkYh0hd7+HnhdKCGVXRZ8LDZgIamWq N4TpzaWrqN/ZdaUpzKP74vWROv9JyIDSoErkX1QMpESFIiIa3W3uihZPBJgzvmpbXwWV NLls+Y7oXogrM1P9cl4FqBfZTwGa3sHZMrWh8jPJN54maRTjjdwdrmWqIPNnK+cPYA05 lE3Q== ARC-Authentication-Results: i=1; mx.google.com; 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 z11si24112099ioq.81.2021.05.11.00.17.18; Tue, 11 May 2021 00:17:30 -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; 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 S230423AbhEKHQp (ORCPT + 99 others); Tue, 11 May 2021 03:16:45 -0400 Received: from mail-vs1-f49.google.com ([209.85.217.49]:33642 "EHLO mail-vs1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbhEKHQm (ORCPT ); Tue, 11 May 2021 03:16:42 -0400 Received: by mail-vs1-f49.google.com with SMTP id x17so5398423vsc.0 for ; Tue, 11 May 2021 00:15:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8UzqGBEnMFGPXHaRr6PfDxH2kRj2bejhyjTaWq+GqQo=; b=ry0LNwzkmTCbUDuOFyo3vsuh6y259DrrFxr9aOlgrG7oH8RiRDMcdvNNy5xNVDz2uj jGXs+HzIfgT9HZDyYQmtnbALxm9JABMOuLTGDB5dPE/VtQsqlghqqNyPnf6Fx1iRZPff wlfIqvAPvgxmTcQ+dIVaLEcifAwOviMbJt1J09Mg8cCXMGGh4QpQHReEMckdypBb/E/j MVeKaBgSRuMzuG6WvaFnSSCW20mYwrlckxNcHC8CDQSIdnLmeoDaq9CM7KYNnwkawy+2 clV/Aw8B99Jv5YFi1dq84RqOoPG6VMK9SNYzsNDx1BGynz0FSAPUqVAp1oZpZnuRjEG0 SiLw== X-Gm-Message-State: AOAM531YT+Gs7xMJFYsa3THMb3xbT0CwVxtwoSTm+nrIHXQ9+HrWnMss tHew7UnBsYo2AGBMjgrHF3re06cg4N+zmS7+ALQ= X-Received: by 2002:a67:3113:: with SMTP id x19mr17588832vsx.40.1620717335728; Tue, 11 May 2021 00:15:35 -0700 (PDT) MIME-Version: 1.0 References: <20210510165839.2692974-1-Liam.Howlett@Oracle.com> <20210510165839.2692974-9-Liam.Howlett@Oracle.com> In-Reply-To: <20210510165839.2692974-9-Liam.Howlett@Oracle.com> From: Geert Uytterhoeven Date: Tue, 11 May 2021 09:15:24 +0200 Message-ID: Subject: Re: [PATCH 08/22] arch/m68k/kernel/sys_m68k: Use vma_lookup() in sys_cacheflush() To: Liam Howlett Cc: "maple-tree@lists.infradead.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andrew Morton , Song Liu , Davidlohr Bueso , "Paul E . McKenney" , Matthew Wilcox , Laurent Dufour , David Rientjes , Axel Rasmussen , Suren Baghdasaryan , Vlastimil Babka , Rik van Riel , Peter Zijlstra , Michel Lespinasse Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 7:04 PM Liam Howlett wrote: > Use vma_lookup() to find the VMA at a specific address. As vma_lookup() > will return NULL if the address is not within any VMA, the start address > no longer needs to be validated. > > Signed-off-by: Liam R. Howlett Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds