Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2408340lqo; Mon, 13 May 2024 18:56:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJ4hfS7nPAPPIc4Gw6VnNKLrdtBA0gefVChndt8GOeFQvWUGohaydjDW6NjegO7nyE6TIsmBJzjFW+RTtJ5S/dCTZSkbAlMvXJBVgpEw== X-Google-Smtp-Source: AGHT+IG51c+0aibdxf3JaBr4L50B/vkiW934YemEKRnLpkyvrw9vEGRi9DuLUXtM2ObxRtaREfzP X-Received: by 2002:a17:903:124e:b0:1ee:9bbe:cbec with SMTP id d9443c01a7336-1ef4404fd81mr131997555ad.46.1715651772034; Mon, 13 May 2024 18:56:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715651772; cv=pass; d=google.com; s=arc-20160816; b=KYS5/ZIJvlPGygQRd9lxa+hF9jLOQFMsXqHYbuU0w5A4iVABOt7EG4eer1VbeW7BnF hGQ0twT5LNkgLBZvKWUOvGLWpBDSOhm8Qd17XCHp2wAYlU6U04Lg5fpxlG7EbrgvfkMA gkKXcyK3M6/qi/GPsf/833n3C2IeT3iR3z1Nt2QFfAMZLor9LsqOmDTkD3VADhMR7vIW fpfVw39z65AdT0za5kNyMpa1NkKXOxVOgUHiymOzNcEoEMeISxm1oyt0kIzMBVv5cMti bijZCrH2/BjoUR/xSLbOwVXVZyJKNXcvOcLEsc6k6jZrK0owVTa4XDZo91S03NY0K2yV A+sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=VKXXfS8el/DZmdvpD04J8D81FZHxXB/MjCkW9bjJgq4=; fh=AwbnXsXNZ5xV9vUMW49oGlMVc7TRY+RF3kAxOe7hTj4=; b=GO6vGWFOVUZ8t3/LBhcV2FZ7Gz1IjHWYZiLIW70a5aVJcwrVHULP5LO0foK0PCCFZ6 FLLopgN42gTMribQ/1xBPDASB3ROKCBU3bNzq4k3waDNg5qevqakqlvwMfJg59JjX/n/ FnIdgiidUL26XmNScvgk+dxMYZ9anW8LOg9x7X1zbg20FL9pKMCwypV27LVcyTmldTRK 2H6Y9E5oajBssq8orA8gFF+Bf1MBuKFF2zqmEqHgATguUG6NxGWCA/t6HMmLUE6VeKnH 4nR9UDOMvysUpZ+Rgt9ah/4G+3Bp8aZc8aaKAJiZXg/pO7VnySBN/HwGBY3CpXRHtobf MdFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UNgtyaw+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-178246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c3683c1si104311115ad.613.2024.05.13.18.56.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 18:56:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UNgtyaw+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-178246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 30E21B21E06 for ; Tue, 14 May 2024 01:56:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E0114C8C; Tue, 14 May 2024 01:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UNgtyaw+" Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 5E9C337E for ; Tue, 14 May 2024 01:55:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715651760; cv=none; b=nHiWw3A59b221sp9/jZF8GktUilWKhX/pqAQYJngJUAGCbklWIeWA43vxrbmtYRH5NRJGFcEpXA3xAxYBQwWqMSiOiw25gML9zo1zi04gdRQSRTFWNUjjXy+MT03DNuugjtHSMHd+rCUYTlUbOb53rXHfFvgNBtr+5t8nSLNcLA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715651760; c=relaxed/simple; bh=fvgZ1X401aqiAge1yt4zkkrOC+wtlotVZy31r8hR8k0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=O+zKM5jUDOE/NCzzPBsdUIbSbhD0pcVRlgdNpHZRPN8d11xHHBZVwsbtPJDSat04WIZ/0gunKXtYF5MlRSV9DidCmQ+zPMp1D427x/xgviI6QOohOtf/fUTZ9FyR6623N815wk+whcTVTX0mxl+Q8T3F0Dfxacctzvy+u2SCoHo= 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=UNgtyaw+; arc=none smtp.client-ip=209.85.214.171 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 Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1f0537e39b3so24512685ad.3 for ; Mon, 13 May 2024 18:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715651759; x=1716256559; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VKXXfS8el/DZmdvpD04J8D81FZHxXB/MjCkW9bjJgq4=; b=UNgtyaw+G4UJfPzN1C+WJYpmWcKHuDLLnhQUmIEULffBQWCIBAgQu131esTTLhR+ji +swWyo23KCBM4Y9dnwF9PrgmtT02ZZF+31gJ2To1XEoQvJbojmCSf3WjsYkFHISb++Rm Y9rmtHPoBIzwj9wwju4lV51i0kq1W5sygw/A1rdmdA876QVSXqAfFgRs79UkUQ27+8Ee 9ifmd1s1mFU1UIswUB61tM6u8S+V9lt+3heWWrzVHjbPURAlc1FcruKKnuS5nS6s3rFg dcmalJ69R0EB2M6lFdvzqutKXEEZyBvxElJszavvql9WMy9JnvEb2kuCuNbxcGbZW+UC c/HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715651759; x=1716256559; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VKXXfS8el/DZmdvpD04J8D81FZHxXB/MjCkW9bjJgq4=; b=VhkbUEZ9boqet3DGnktjqPE1UvQ0RyxId5+jzByo7RIXeegWVnMgO9MFjnkP9svzzC j+5zfCOHPgSb+y1OlQv0exCznO1DqoAC/Z+ruRQf97yWZQ/yDvyPjk77eesRwNK7VDmZ khNTpwhWajXiaP/bftkGZ2AhTCjH2p6ZLva9gCxznx2CE297l6cSK3+MSUqRQLuNrF7F gb5FQsBkb4ZOLk+yx709q6RQIw6s5DeqtVysYMcWR3Ebw1aCcPLSCD/h5sUyEGSbO0hF AWgyWXWJ0dxJ46semlNnpMP2yABR/2q6/Apo5thqniGJ9/KLw8uyh8dzrtGJRH/W6Jg8 585Q== X-Forwarded-Encrypted: i=1; AJvYcCV4SsmnpfJVIeq03NAvHq/J7FeibdzNq4fNqSKpEfG86twP/Pb1vfXHth4erzhGlx+uxmABU14/E/KA2QLpK1pjc52cjh7DZRa4j62u X-Gm-Message-State: AOJu0YznvRoF6Tj8hX5342sIG6FJMZDEB5zlIId0Xm2WnQMabdl1S4jK 8eJlbAeVZDXzeAaTkTupUkw4JzQ0fDSidCE/75fT/4FLkWRAuSZY X-Received: by 2002:a17:90a:6c82:b0:2b2:7c53:2601 with SMTP id 98e67ed59e1d1-2b6ccd76d4emr9943193a91.37.1715651758658; Mon, 13 May 2024 18:55:58 -0700 (PDT) Received: from code.. ([144.202.108.46]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0badcd88sm85802965ad.115.2024.05.13.18.55.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 18:55:58 -0700 (PDT) From: Yuntao Wang To: dennis@kernel.org Cc: akpm@linux-foundation.org, cl@linux.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, tj@kernel.org, ytcoode@gmail.com Subject: Re: [PATCH] percpu: simplify the logic of pcpu_alloc_first_chunk() Date: Tue, 14 May 2024 09:55:52 +0800 Message-ID: <20240514015552.273677-1-ytcoode@gmail.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Dennis, On Mon, 13 May 2024 18:30:57 -0700, Dennis Zhou wrote: > Hi Yuntao, > > On Tue, May 14, 2024 at 09:25:00AM +0800, Yuntao Wang wrote: > > Hi Dennis, > > > > Can this v2 version of the patch be merged? Or what else do I need to do? > > > > Thanks, > > Yuntao > > I'm going to massage it just a little bit to format a bit more like the > rest of percpu.c. If it's a little too much, I'll send out a v3 and keep > you as the author, then apply it to for-6.10. > > Thanks, > Dennis Thanks a lot. :-)