From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5983015B0F2 for ; Tue, 29 Oct 2024 15:26:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730215611; cv=none; b=U6/ILHyqPeL4LW+khOyJAg2+hpRtbPc5WJwRK3wmui2JqyIn01HkvULsydQGKYQ9GZtCS4HdQw+EYW4SbprwJ9aOE9dD/roB0iZvgLKHO0hCCh8XmHpCVL+2mzcfopTgNw6LtRt8rVmoKejfQuedBNbk8/YB+6Waavf4B8LbY08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730215611; c=relaxed/simple; bh=MP05C+LLsi4lyi7eXWvekWSCe7+VEN5JKP9djRfnCDs=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=DITTBawmS3J9slrhdQdyhkdKGLRAVB+jrtARfpf0ZYHBM7IfAkONREgabmndvmnoXLeZwGWmHKdq7RZ6PZCVpHBZUS5Hc3Jwb+wIk1YkJOYaf9wOn7E4phWNYizJA4WlCdgn1S1g2BK7i76ktuR5r+qEAx7xWBfQE4M28x8Rqps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=0ZWN+hjB; arc=none smtp.client-ip=209.85.166.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="0ZWN+hjB" Received: by mail-io1-f42.google.com with SMTP id ca18e2360f4ac-83a9cd37a11so221442339f.3 for ; Tue, 29 Oct 2024 08:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1730215608; x=1730820408; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+4pGDTSYlBNSPSCGgIyD1gzrG+lI3ekznbxiZaTSYjk=; b=0ZWN+hjBKRIZifjB3aCpVT4QZ6cDzdf2QLDZCzejRowFqwl3Ve9UU8FTCNTgUGFP24 VX2u7mhwZNnfc3nWxLLLmB61bPCwQ9pkCnP2+ROgSvmeIX5AZ+YOuRmTlIA2BJC8nUnz ljqdqG0Sj/7hmM4RWPhw/mp81IWdaDNWyB4Z4uIHHHZXBZ7Qw+45u0ySKpLqXI0qpowd Sm4t5D4Qz9ZHxKWgYVcKyQvGrMxcMow+VXzbt6kW9pEmLmfELdzM4BKWB08g/k4ZGjxe nXG54dC5IHSajKVvphdRAxUjxjFfpHDl8qEWE1wQfHkS5AIBdMqKZLmWK4mKlajTpwQa vanQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730215608; x=1730820408; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+4pGDTSYlBNSPSCGgIyD1gzrG+lI3ekznbxiZaTSYjk=; b=CgxrZtqhSYA3iRQsv/cKOmigLbvF632ySTAsihJdrC9gGyVd9RxvgUcHQQsop8n5JX V6TjHpGGDPLiD/+Hu2YerrsQxJ8KkG1WivNWa3jenpTHmuyShXYxToF3vPcZ7w/1FH4C tZW8Z+dLcgnVRQkaDdrP2fYNKMDJpr8HvW6RbPgYLECdOsF3aoMzAviUOYBDdojoEf3F sDvq73kfHhLdti+bKLn7TClIt9twK3/z+xMgK/YywD5uRWho7IitBwcWtQioSZoryJt7 7XrW23OlSvya8ajHhK+tujxO9WVCTfJWZ933sDCY+sRnyGK5vpvzkshPtfgOmFT9BDfo hgjg== X-Forwarded-Encrypted: i=1; AJvYcCUm1iLtRmhmgwAX/l6WHFzt5DyO39u0KJ2qRd9YfGaUcGqQCQETFUEdvm3MgunXU/+ETs4voOSbdD2kjYU=@vger.kernel.org X-Gm-Message-State: AOJu0Ywo2PotydjBNQBqOvuZ/Nl0kcG73F9c3qB6WUw6/+s0iLrJUI8N 5SIyumwFeLwPQoBO4Ate+ZlUkgKryKU6BaZJaoHZSUPrHUhIzCk+0Q5BZePtubY= X-Google-Smtp-Source: AGHT+IHRYe/p+k0FqYDYKmOjmUzaVgJNcjwECu2Tdmh1c6a383f/H3ecwU8M6t/IAMkzG1/Nka9odw== X-Received: by 2002:a05:6602:27d0:b0:83a:cc2b:c9ce with SMTP id ca18e2360f4ac-83b1c3dc1f0mr1616686139f.5.1730215608409; Tue, 29 Oct 2024 08:26:48 -0700 (PDT) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4dc727b17cbsm2461640173.171.2024.10.29.08.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 08:26:47 -0700 (PDT) From: Jens Axboe To: Christoph Hellwig Cc: akpm@linux-foundation.org, viro@zeniv.linux.org.uk, dhowells@redhat.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ming.lei@redhat.com In-Reply-To: <20241024050021.627350-1-hch@lst.de> References: <20241024050021.627350-1-hch@lst.de> Subject: Re: [PATCH] iov_iter: don't require contiguous pages in iov_iter_extract_bvec_pages Message-Id: <173021560756.667860.15090283089196226364.b4-ty@kernel.dk> Date: Tue, 29 Oct 2024 09:26:47 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.2 On Thu, 24 Oct 2024 07:00:15 +0200, Christoph Hellwig wrote: > The iov_iter_extract_pages interface allows to return physically > discontiguous pages, as long as all but the first and last page > in the array are page aligned and page size. Rewrite > iov_iter_extract_bvec_pages to take advantage of that instead of only > returning ranges of physically contiguous pages. > > > [...] Applied, thanks! [1/1] iov_iter: don't require contiguous pages in iov_iter_extract_bvec_pages (no commit info) Best regards, -- Jens Axboe