Message ID | 20230911094444.68966-1-zhengqi.arch@bytedance.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C457EE7FF4 for <linux-mm@archiver.kernel.org>; Mon, 11 Sep 2023 09:45:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A96496B0196; Mon, 11 Sep 2023 05:45:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A46836B0197; Mon, 11 Sep 2023 05:45:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8E7766B0198; Mon, 11 Sep 2023 05:45:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 7A1776B0196 for <linux-mm@kvack.org>; Mon, 11 Sep 2023 05:45:10 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 4E4C612040D for <linux-mm@kvack.org>; Mon, 11 Sep 2023 09:45:10 +0000 (UTC) X-FDA: 81223833180.02.A0D1361 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by imf09.hostedemail.com (Postfix) with ESMTP id 0D963140014 for <linux-mm@kvack.org>; Mon, 11 Sep 2023 09:45:06 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=bytedance.com header.s=google header.b=Z1efp3Ul; spf=pass (imf09.hostedemail.com: domain of zhengqi.arch@bytedance.com designates 209.85.214.171 as permitted sender) smtp.mailfrom=zhengqi.arch@bytedance.com; dmarc=pass (policy=quarantine) header.from=bytedance.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1694425507; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=lQYo82GcV1MpXtuH2SUItJm9g/i7Yq2i9OY6vtpG/6I=; b=aV/g++c7cNwVCy4AbJuGDAWUGeIl0s4jmcalR5GHZhG1Ek1nzDFBYcyrHPfMrPQpYwdzw6 r34JNuWTb9GbjjzxdefSuGa9x+XcCVy48sFUabmWE883TorngvcESkui3nG3MMWAJBRD6W bQL0x6LIE9f36s8rzN7xqDOZg3irTWo= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1694425507; a=rsa-sha256; cv=none; b=UjNYzlBJZDwlL5AYxyhy/UWbN6WtcOTQYAfWDKtY7dxgNGIwxliyjHwSmHakvEhHBW5EXc jd5sadc8dxCXnh5BVPsvysmh4hht35CzsUZ1fgD8GGc6XDU75I9LRTrTZoguFeqOFml0zY vePFLnkmhIP+LNagQNMMr5/m3MCKo5c= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=bytedance.com header.s=google header.b=Z1efp3Ul; spf=pass (imf09.hostedemail.com: domain of zhengqi.arch@bytedance.com designates 209.85.214.171 as permitted sender) smtp.mailfrom=zhengqi.arch@bytedance.com; dmarc=pass (policy=quarantine) header.from=bytedance.com Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1c39500767aso6230025ad.0 for <linux-mm@kvack.org>; Mon, 11 Sep 2023 02:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1694425506; x=1695030306; darn=kvack.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lQYo82GcV1MpXtuH2SUItJm9g/i7Yq2i9OY6vtpG/6I=; b=Z1efp3UlOFnI7jl6rmn/Ym2torM1ovA2U+GRuXx/3gFx2cZM0IvF+M4nBlTXe1D+Zw gecm98xwiJp6cpVKdE6wsIFmwEhbgKCpAFMWRaQokBqTkyY9pLZRp7PDohZHZbkLb03G 5SJZWcf6vgeI6K+66ikL08PZz/jcrs9dUEf7izoIKT4DM6odvMLFY42uFCugmei4/r5x /62gdkbQruw4GubQsWO/mHbv8ulfKaC4XKkagtK0rZMqetZEHbNj0dcef7kJIjQbGmf8 +IkMv9FCsZJZ5rbiZbbktsaEZXLwN+hZ5gqEzWiSFS8e+pAls48/bu3Kv6uO3H+FvUB9 5s9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694425506; x=1695030306; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lQYo82GcV1MpXtuH2SUItJm9g/i7Yq2i9OY6vtpG/6I=; b=rXoNm0f+NLnrWH1eWIHBC/uMFkAp88Yaw8DeWWRY5W+Rwe5i8maPFE5WX6r6/jMC07 zzZHRXHXb4zokXWsXamCPpVjzzayI0DIPzoctATSB4fA6ekePadNM2mE31aIo4Jjcf3F BbCZB2I2sjKFpC6P4zqgmQvoLL36D9qLqn78g/vcVx5IrkafcRJdccaZAIddP3OwpbTt Xi6ByvDZw1jlaFJvD3h2N1lnIFkSuLAvbid9SxhYJ8he8rQj8a0dmB3iDE3JWUWyNJcq GCcoTpBuPwb3J+p8nv/VpP9qQXhi/g+Q6Si+I5b0qG9Kp4Xtw1xeSo9rerHrcaFNOOhL gXig== X-Gm-Message-State: AOJu0YxspcENME5EbjKgV7D2OOE2UBeZcHEKP+4QwpGbdG9R/Kw4xxaH +c893RZjTyhWiysfIOGKqIhXjjr31RDJ1emvJcg= X-Google-Smtp-Source: AGHT+IEGNcDcG63D7amuZ7Mu8IUCE6dl5UUuSxTbAskfdYh3rk1gRPySHdBx22o30l845WJoR8Ga0A== X-Received: by 2002:a05:6a20:a10c:b0:145:3bd9:1389 with SMTP id q12-20020a056a20a10c00b001453bd91389mr11511620pzk.6.1694425505717; Mon, 11 Sep 2023 02:45:05 -0700 (PDT) Received: from C02DW0BEMD6R.bytedance.net ([203.208.167.146]) by smtp.gmail.com with ESMTPSA id az7-20020a170902a58700b001bdc2fdcf7esm5988188plb.129.2023.09.11.02.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 02:45:05 -0700 (PDT) From: Qi Zheng <zhengqi.arch@bytedance.com> To: akpm@linux-foundation.org, david@fromorbit.com, tkhai@ya.ru, vbabka@suse.cz, roman.gushchin@linux.dev, djwong@kernel.org, brauner@kernel.org, paulmck@kernel.org, tytso@mit.edu, steven.price@arm.com, cel@kernel.org, senozhatsky@chromium.org, yujie.liu@intel.com, gregkh@linuxfoundation.org, muchun.song@linux.dev Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Qi Zheng <zhengqi.arch@bytedance.com> Subject: [PATCH v6 00/45] use refcount+RCU method to implement lockless slab shrink Date: Mon, 11 Sep 2023 17:43:59 +0800 Message-Id: <20230911094444.68966-1-zhengqi.arch@bytedance.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0D963140014 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: rwdj8miz3zh69aufssodfxrfjxpiyii3 X-HE-Tag: 1694425506-49180 X-HE-Meta: U2FsdGVkX1/ksgl3KXABYqc+t4k51yYA7st22d4a2yDh6+VLWfRDcobA7d3xiwh7skVzvZAeJgZF/de3A4y0qm0Zq7b8ZcA+iaAyUR1E8fkLQ+ZR7zQNPh8cPh6cGfHxwUxo5PbmELpHVS0sd91BqmIPp2ieYaJYMfQxT+/U/IyIy5dCYHnzzqZJDbXUWkNS0TAYPWh8Gz8MQ+3FPAFzfDJa3kZaGutPmY2NWhYrDbqz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ixY+YiNHTjPT/Ty2kJcSZDs+MUyJAHlB9bnoYpxskB0B2t+Z0IAt5Eb6BmVAEhl9uTmYC9d6aN2C3ifmMPYKZDFDGk5EkEmhrf155ybByCZqcVQIcGx2ds6ld/J7WcfAXp7r0bSDpmENKoJEOuFZfj9sLmb7AF8q5JXNW77t5AD7Nnt9KZ45WYuFubtPDg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
use refcount+RCU method to implement lockless slab shrink
|
expand
|
Hi there, Given that this series removes the old shrinker APIs and re-adds new shrinker APIs with `EXPORT_SYMBOL_GPL`, is the intention to prevent any out of tree module user which is incompatible with GPL to use the shrinker APIs to register callbacks? Or is there an alternative I was not able to find out by reading this series? Thank you for your work, Kind regards,
On Sun, Nov 26, 2023 at 03:27:03PM +0100, Ryan Lahfa wrote: > Hi there, > > Given that this series removes the old shrinker APIs and re-adds new > shrinker APIs with `EXPORT_SYMBOL_GPL`, is the intention to prevent any > out of tree module user which is incompatible with GPL to use the > shrinker APIs to register callbacks? We really can't do much about out-of-tree code, sorry. Please work to get your out-of-tree code merged into the kernel tree properly, as that's the normal kernel development model. thanks, greg k-h