Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1627703pxb; Thu, 4 Mar 2021 16:52:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQtMtjpxvo0YrtVEMu2SbdxvhJyt8ODqy4Q1wkMdJeJUUH8tBg7vIzUkNGniF/cRu3Eay8 X-Received: by 2002:a6b:7302:: with SMTP id e2mr5830627ioh.106.1614905575039; Thu, 04 Mar 2021 16:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614905575; cv=none; d=google.com; s=arc-20160816; b=aAj/pR7VGgUCA1luMOD3Ac7PVgRqyU/HhWDdr0CMcV0TZHxWmcJIRJ4kcRNeX7s8gv OUW9fp9dyIe2KAPeKmwls580Hx+QmupnZYC6wMGrBRvXYViOxn87f4+u05/tPffk5pOJ cm8yKwZinPhZ+ekTolluyWLUvVAHjm/2jbuFxGnY68pCbz9pDUEfRZ7c/jALPYa2lHfu hvxTfbrbgvp5vAC1necA82RVb0IfbkHXgr3k72w97kR4gUi/RetKk3gxmxaefmp/BK1i 5/VqCyiO4uUkqNSeIAQB5sB1NvKmPhQNegAwzemfyHeLz60wF6WJFxol4ypQEvplsCtm MC5g== 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=DFa60+6HACbaiCfJdongy81c8uvskRtUnC4TRiE5cuA=; b=OGIsFl5tDUgmXvEsndHPVuJDHHHgLDPsmpVRmpHHnK/Xa/pgUvq+SPSjeieqt24wt2 AuHRHIB7vfAUkjjHLd/LTXCj/PPNqXYgtkWtznox/eKDl+4PRLYnuTG3f3/cWfBlVSRI 9BATrxPTknbyyEFgTG8opm41vz90Rm2QEERm7cOj12lEwYAOzdkM96NpW7zlwwaQ1enx H1plUmyxSIMzKUH03kCgZXVDIrGyPLHqDDogUw6jshXsKiZD1C6m6u0EU5YsinrkMXl7 y0sXAqqemjjGEu8/vUHuKloqQH3y9tgVTFLdHc9q4s+XeNdyIWjHtfHLcfK922TUFn/R vqXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NTZ3MuTB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si841798ilh.9.2021.03.04.16.52.41; Thu, 04 Mar 2021 16:52:55 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=NTZ3MuTB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238815AbhCDRAF (ORCPT + 99 others); Thu, 4 Mar 2021 12:00:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:60882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236865AbhCDQ7c (ORCPT ); Thu, 4 Mar 2021 11:59:32 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9743664F59; Thu, 4 Mar 2021 16:58:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614877132; bh=ogPCAqUrJsPTWID/+dxg64jg17NrKa1OqVqf+iKrOZk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NTZ3MuTBdv2veyQJULk1auCEomEWtDBdbyrLSq0BDydjsVqcw1S5s+cUazQWv2KOF mvdM+ix6BlFX6MGTXuAtyLWIQdwB6iog+zJeKWIY8ssps30imD+UnKwNIRqL27k+8V xoczlHPXSUEmp3BpnZu2FKYuD3aUjNtwiNZRf1Ro= Date: Thu, 4 Mar 2021 17:58:49 +0100 From: Greg Kroah-Hartman To: Anthony Iliopoulos Cc: Jens Axboe , Andrew Morton , Matthew Wilcox , stable@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH STABLE 5.10 5.11] swap: fix swapfile page to sector mapping Message-ID: References: <20210304150824.29878-1-ailiop@suse.com> <20210304150824.29878-5-ailiop@suse.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 Thu, Mar 04, 2021 at 05:30:00PM +0100, Anthony Iliopoulos wrote: > On Thu, Mar 04, 2021 at 04:16:26PM +0100, Greg Kroah-Hartman wrote: > > On Thu, Mar 04, 2021 at 04:08:24PM +0100, Anthony Iliopoulos wrote: > > > commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. > > > > No, this does not look like that commit. > > > > Why can I not just take caf6912f3f4a ("swap: fix swapfile read/write > > offset") directly for 5.10 and 5.11? WHat has changed to prevent that? > > You're right of course, the upstream fix applies even on v5.4 so you > could just take it directly for those branches if this is preferable. But, that commit says it fixes 48d15436fde6 ("mm: remove get_swap_bio"), which is NOT what you are saying here in these patches. So which is it? Is there a problem in 5.11 and older kernels (48d15436fde6 ("mm: remove get_swap_bio") showed up in 5.12-rc1), that requires this fix, or is there nothing needed to be backported? As a note, I've been running swapfiles on 5.11 and earlier just fine for a very long time now, so is this really an issue? confused, greg k-h