Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4024133pxj; Tue, 8 Jun 2021 04:48:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDBcsicQ7wY9+VllftcfsV3L/oRJhRgZmWyi7BqHtH23OwjSCm4SbvaQjlztDkH6IHHmel X-Received: by 2002:a05:6402:1ac9:: with SMTP id ba9mr25171144edb.250.1623152926586; Tue, 08 Jun 2021 04:48:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623152926; cv=none; d=google.com; s=arc-20160816; b=z09pjIyfUC5tsMXck8R1SnhHEM0XS6wz17F6DhzRr9L402gjvnlIQFcaEjQcPd/YbL kQrcYwE9sLVwb2n2HwhpuVyLJ9dLfj+rm/0+GgxCGugYwd7diAbsxK1gQUK4c66woYI5 sWEv87JH94LsrlLo23bvyg2yWwHfSXsoaREmps26uEiXwzYe4JaktTXuRB9NCuQHv6At TyrxRxFFoey1fuGn8IMfUr4vZS+QxosSfFYh/zP6gAWzPFhKvXt1wQhBZoEcj9EJoZnh 7lwj/h1KbGe732KyczfCiwx2aJjyMpLXouKE0pB2OMonsye6MZp74OrNRNJ6d0fnbuM6 6+6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=I2u7YqhyOdZKae7fcJEYwiWy+Scz9ZzyAC5TCEpH6OE=; b=B7D+VF0MKWp8C8x+/srOp4KRJhthvGnz22RU5GVpnpy3Vi+hx4JVwujvs3m56yMcIs ctM4XUOFwsSqujRcj/B99Ao8CQd1sF4yDdRZIsonx0XSkGR5hfsWw0Zd4pI+ABykA+JK u0eLf9Va8fb601+LundTpKUm6tHyMiL0+3vgGSbBdEiR9G0q/PJa7VOYNJnM9A36xrC+ 1txYVqhPW1Na7cl4ZLXTSLM2h9A7REOzRtAVv32EVTt+vGt/LVlAn9lXEMeCaxmd+bjL AvmuRl4yifvKMfv2UXlCGF1jgIWwBsI8kCc3QHlNS5EkzgWu+HyoOro0sLicKtAJTfbg ucxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si9745250eje.489.2021.06.08.04.48.23; Tue, 08 Jun 2021 04:48:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232218AbhFHLsB (ORCPT + 99 others); Tue, 8 Jun 2021 07:48:01 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8089 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232176AbhFHLr7 (ORCPT ); Tue, 8 Jun 2021 07:47:59 -0400 Received: from dggeme703-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FzpJz0XdTzYrjy; Tue, 8 Jun 2021 19:43:15 +0800 (CST) Received: from huawei.com (10.175.104.170) by dggeme703-chm.china.huawei.com (10.1.199.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 8 Jun 2021 19:46:03 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH v2 0/2] Cleanups for zbud Date: Tue, 8 Jun 2021 19:45:13 +0800 Message-ID: <20210608114515.206992-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.170] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggeme703-chm.china.huawei.com (10.1.199.99) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This series contains just cleanups to save some possible memory in zbud_pool and avoid exporting any unneeded zbud API. More details can be found in the respective changelogs. Thanks! v1->v2: Use union and add comment per Andrew. Miaohe Lin (2): mm/zbud: reuse unbuddied[0] as buddied in zbud_pool mm/zbud: don't export any zbud API MAINTAINERS | 1 - include/linux/zbud.h | 23 ----- mm/zbud.c | 229 +++++++++++++++++++++++-------------------- 3 files changed, 120 insertions(+), 133 deletions(-) delete mode 100644 include/linux/zbud.h -- 2.23.0