From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f50.google.com (mail-oo1-f50.google.com [209.85.161.50]) (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 21E2B76025 for ; Sat, 23 May 2026 02:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779504657; cv=none; b=LDbZF5h7BxC4BCGAW0etVnbHRyDcHjMvRGfs53sVBDAjFBG2uvNfq3aF9hPL4EMquzDBkXjtsPy10y7JapXcngF2279xj4N5A/aQPLrjQ+TJg37wjDERHLYz+4nwXsX33e7YkY3BZPms6tTcZLGBODLHjDSu5Xm7DOb36aw09ng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779504657; c=relaxed/simple; bh=RRP7olD91HMgJfyrvvfbPN89rim5pXnnMPEr2Y7G/WQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PXBVnuzuIj/HH49e9ELYPJBX+5se5KkxJ1BAns4dqyG9lSAkNME9ds7D0yMViprc+vduZClVPgDiv/7joxDKEWPw2Tr8eUF7hhtHMVZfzXZWrmQO7VYwQwWX3d5coXk6TQfyQF6WYqntIKS9CmQheOeSMD8hnAXsPSERahLzUSw= 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=Je59FQyI; arc=none smtp.client-ip=209.85.161.50 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="Je59FQyI" Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-69d7cea33b0so1262880eaf.3 for ; Fri, 22 May 2026 19:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779504655; x=1780109455; 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=RRP7olD91HMgJfyrvvfbPN89rim5pXnnMPEr2Y7G/WQ=; b=Je59FQyILJhy598Mdqfy+Mgsvlfnx2PJ2DN2sw7NQTE+m0y7pKHqCGHRe3ihGPqzSn ngC8XwqxmyPVjKafuhLja1QoWcyTDPkSfGKItZ0SmNNFnb7JoIlQZSkcHaeVW6Mqdnfx ht6cXUG9Iy6GniQUvpriblWIpjL1fhU6cbnh9lZsO4NHTR1WtpR5U2AnIBqAAj40HfcI fpASJPgCmvXt3xpe4gemPAKrrezDNJKUsmn3sp4Qcc/1vjUCtFlUmwjW9M0UI+DtTV/S y4u/6OnKR9t1tVmVux8T287NZMNRGGmpUuW6rwUM8ra/35hXXQvhtv2VYmNte0FJL7js gKcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779504655; x=1780109455; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=RRP7olD91HMgJfyrvvfbPN89rim5pXnnMPEr2Y7G/WQ=; b=XvM4JikV8pTHML/riLYWpIb+X/3gi+4+cCkT2cB0n1mXp8FV/+KfvJc45faSGUdKec XOu7zn46WYWeGfi7o3w9253FrNk3txvIeNoh2eTnZ1MZZmfgYBQvvbUADX6BRsF53CzT pC2kYHIy7KXi4p/6v8cFckfux9btYE0iRVJAJ1gP50d+n0oimmYPs6tImfWjPQrVwYw8 /UJ4HbBO68n5Akea8IGmxib36EIj2irAMFCcYpZMTF3IxRd4qORNNz6KYIplJkrK6VEO nnJRlXVWUZFwOJfm+fMrkHXsQRwOylGY2RgdXF36xBKI51QfKCIcco+E5cPbXZyUu1k6 tRzA== X-Forwarded-Encrypted: i=1; AFNElJ+FVgxwtmV4gbYWj0Yu3VXAFv3EQrnke54h2JcZ9rPJxlPkOi30eYil2GwWtF+DoaMk7ORRJ/3s8n+EgQs=@vger.kernel.org X-Gm-Message-State: AOJu0YwJJPeSqtSA3dASTM81a7WQzomPbz+80od2y7iNa1ThsaHU9/3B l5b17aVg7NLzL8Hb9UiGlD31r6skO/80cAaUfFv37gtarE66ajTqXa9xWz0opA== X-Gm-Gg: Acq92OEOsNQq7boeMFC33I2QWbjbxDscn8awyT1z9sOHYJmLqeqKmCtEmkFK66V/zc+ MZ+5Re9RjGtoyqNWB/PBJzkRGS886QEmQR68p4afOp+KSOcYYQfE1aGUpqWs+beF+BUUv6a2zIy 6YSXkVuRKGHboho48Thlh8dDqMxZIHTAQwDZR7mKL/7UrgE47n/ULZxrSS37kCzMIqCQUh1YJoZ 4z6RI1tCVnz3LCgErsSvgy3malQP8xkESdqJBQ7IQ+X2LYTqlbF5EYUVUN/h9DjCumbOfR+0bkB yOYiXcT7/bKvjiIgHep+F0YZGT4jyKN/CQPMnmuUtD0+bTt8gPEs81iiQQLUYaVmPp0clttnpSk FUYONlcOatB3Qy2SCQPMv3yAqxNGH3w6Pq+4NZvx1eR+5RyugrKHvtufr4cRoYgIFK3Gy5xG6Mj z90MDnSDq9q0ioLFF8/Oz7wWttv1hl2gdvW4vGqDEkJm91TY8rrk6RXxOcFiOKFFSH0IG+ZQbf7 hg= X-Received: by 2002:a05:6820:1c9a:b0:69d:7aa1:bd7 with SMTP id 006d021491bc7-69d7eb64572mr3483666eaf.21.1779504655191; Fri, 22 May 2026 19:50:55 -0700 (PDT) Received: from localhost ([2a03:2880:10ff:4c::]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-69d836c6f22sm1853403eaf.1.2026.05.22.19.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2026 19:50:53 -0700 (PDT) From: Joshua Hahn To: Joshua Hahn Cc: Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R . Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH 0/7 v2] mm/memcontrol, page_counter: move stock from mem_cgroup to page_counter Date: Fri, 22 May 2026 19:50:50 -0700 Message-ID: <20260523025051.170871-1-joshua.hahnjy@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260522220627.1150804-1-joshua.hahnjy@gmail.com> 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 On Fri, 22 May 2026 15:06:18 -0700 Joshua Hahn wrote: > Memcg currently keeps a "stock" of 64 pages per-cpu to cache pre-charged > allocations, allowing small allocations to avoid walking the expensive > mem_cgroup hierarchy traversal and atomic operations on each charge. > This design introduces a fastpath, but there is room for improvement: This iteration was developed and tested on top of mm-stable. I'm seeing now that Sashiko cannot apply this patch, and I think it expects it to have been built on top of mm-new. Reviewers -- would it make sense to rebase this on top of mm-new and re-send this as a v3, or should I wait for feedback on this cycle before sending out a new version? In any case, this could have been avoided if I just developed on top of mm-new. I'll be mindful to do that in the future. Thank you everyone, Joshua