From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 7EAEA363095 for ; Mon, 27 Apr 2026 04:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777262915; cv=none; b=G76Im9rfJg8soHuTsxKgJpxeQ01OrArPFIkY8mlOn5/9AXFj1M7l/GKLJ/k51+aND5P+qZVJWZRToqw2brK4k+hzSmET0Nmw6wNt677l00cRiZYrk7G/31eKmgFiHjtQbsfDsMhCeu+OaLS6TttnsmX22aYg6KGyi6C9qEWFGNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777262915; c=relaxed/simple; bh=2nn2UlU9x/sAeT1dZanqC4by/vKAlCUGFVE8Q3gAeEY=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g4X/gyS0ZNd7eJqfWZimPHD/hV5hD04iC2enp7BtblFLdAKPNb98KtEWMl6fqZDv2a81h6r4x4iBx6xVtYyv+8QuCiAqgsQk1gRk9qswrZcuh8IKWjAPQVRTAu21YqNWXUtjVH01Md/oO/eo6WPGarU2gWYNau+OaP9bLQzO0/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YcAuqV3o; arc=none smtp.client-ip=209.85.216.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YcAuqV3o" Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-35da2d35eccso6533294a91.0 for ; Sun, 26 Apr 2026 21:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777262914; x=1777867714; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:subject:cc:to:from:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=2nn2UlU9x/sAeT1dZanqC4by/vKAlCUGFVE8Q3gAeEY=; b=YcAuqV3oNwoflkc7/zAgGF3LY42dHntOsHkU/P5HNkD2kRT1aTfQyB5Y+xpnEj95Nb MyUUM6SoYVkyLS67/ii+9tgXy3uhuvVkpTB3+k+yaLm9AIluzZGx4iMKKwV8pHn8REdj +nYGu0VUB5WuC/F+JgtcQZ16VtTaXmVC9yrZqLy4dqM2LkjqmEXaktmibidkG3q7l9W7 1VHjMPbINvyqb5aHExHL1UMOPjHW3rc3OFmPt0l/g2AqoTwBTgVda7250FeScnFw1TK7 9cAUkSv14VR6zp3ehneF72LqOQ7nb+bY8L1yWXQLjt3lKezTjaAMFyZdoirwgwzg/Lsl bgcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777262914; x=1777867714; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:subject:cc:to:from:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2nn2UlU9x/sAeT1dZanqC4by/vKAlCUGFVE8Q3gAeEY=; b=cw+9VM+WWr6A7+n83kyvxiV6i40GiFzo6sIwg6aqYWHBb3sAX7H5Saa+jdHh3ZxyAg yxRmHvNHBEYvKWGjyCkF7o+3bSUQeoOp0Q8tGmiSMJkl327TRvLH/y6gx7Om4CpNsFoO DK2m1COzpUgtshyLQh1JQwSZn0n1lzzXTH56HB+F1cY+KDPmky/Iw7v6tluTbq5KqCX7 axu6M38FXvpIAi9VbGix0F6wA99p0jvE1y8mIgXOaSgn/aUambiPeTM3qlyfdx4piAuR 6EBFnwqL0OgRgxCg4A4+B3g6iQRtFEJ+bGRnGhfWoKmTqCocJ7m8vfi3SLKCdpkaEX98 qFMg== X-Forwarded-Encrypted: i=1; AFNElJ/6U8rPRw1tYLX8RlREkxT5FGr6lBwspEQ4GYs2FCSnc+qqO8ZMq8hTLzaV45wAg++m4EUYxgxqPIZIe7A=@vger.kernel.org X-Gm-Message-State: AOJu0YzD/Re8cvuaSrbshSSvnr91FZyXOWrHGP0I3U9fTi1KP3DupTjd TImcBMJuXUGIgu5WfGG2TFOWqv+I974SXpBPr8eMLcc/8NjUj0teiAml X-Gm-Gg: AeBDieu0n7dlNuSlwgnfGO8Mp4LusgBzocBDWHES8iUEIQiqEkFixoGAep4qUBe4P7p 8hr2Ai5x0ipy4u24QzS2/WDpgdVBjVOEs6mNu6w5TvlnLBLMLCYAEWyolUj4og6bXILYGy9KFob mqTh4FQ6c651xXbI7qn2Igd6p1Bhx+fwq36Xu2Wi+sRW5VVeZMeLjYZy6wt6eqG6GaZHDwHptSh gz07UlQNz9NuS+zCoS2Vy2Eareqiahvfn4b2SBw0LffAeO2Gx9b/4XaHM7iAUeKkqiBkuJa4hei kZAdiCh7+upda1tDWRsUIHYYFThX3uI+chbPEMqywG8FxeG1wY8gUkouHtk8QdcS3E+3iFBJh/W 1Yb3H3x7i7GlA+yMf6lzNbZ3U2LvoHc0q6Hshvd7EjoJTVM25CH1LXsnOiUnRRBq+aHK3Y9/hOS zCp8iMob+u1jk2Vv4EeguT3nj0xFabyHgbpsGiLNIMpMuuoJY= X-Received: by 2002:a17:90b:5288:b0:35e:5051:fb18 with SMTP id 98e67ed59e1d1-361404a2830mr41550968a91.26.1777262913772; Sun, 26 Apr 2026 21:08:33 -0700 (PDT) Received: from yuwhisper-pc. ([49.213.140.88]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b5fa9ff90dsm291338235ad.11.2026.04.26.21.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2026 21:08:33 -0700 (PDT) Message-ID: <69eee141.170a0220.269ea4.eb23@mx.google.com> X-Google-Original-Message-ID: Date: Mon, 27 Apr 2026 12:08:30 +0800 From: Hsiu Che Yu To: Alexandre Courbot Cc: Hsiu Che Yu , Danilo Krummrich , Lorenzo Stoakes , Vlastimil Babka , "Liam R. Howlett" , Uladzislau Rezki , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rust: alloc: add doc test for `Vec::from_elem` Mail-Followup-To: Alexandre Courbot , Danilo Krummrich , Lorenzo Stoakes , Vlastimil Babka , "Liam R. Howlett" , Uladzislau Rezki , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260426-doctest-alloc-kvec-from_elem-v1-1-e364341a759b@gmail.com> <69ed9422.a70a0220.2a0a5f.f624@mx.google.com> 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; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, Apr 26, 2026 at 10:11:01PM +0900, Alexandre Courbot wrote: >I don't think there is any hard rule, but usually a patch series implies >a dependency between the patches, i.e. patch 2 cannot build without >patch 1. For what you sent so far this is not the case, so separate >patches is fine and maybe even preferable as they can be applied >individually whereas maintainers tend to consider series as "all or >nothing" (there are exceptions of course). I think I now understand the distinction between a patch series and individual patches. For independent changes, I'll just send them as separate patches. On Sun, Apr 26, 2026 at 10:11:01PM +0900, Alexandre Courbot wrote: >No worries. If I may recommend b4 [1] for managing your patch series, it >ususally just does the right thing for you. > >[1] https://b4.docs.kernel.org/en/latest/ I've just started using b4, and it has been really helpful — it takes care of a lot of things that previously required juggling multiple tools. Thanks, Hsiu