From patchwork Sat Feb 24 13:52:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chengming Zhou X-Patchwork-Id: 205884 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1156533dyb; Sat, 24 Feb 2024 05:55:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWVk1+eXPdqHXr0nrkDMVK9PlvhPLLTHZiJUqde7JDSrRMYqkg06DodkCyzBRawj4zG5XR6DH9JLzkf0pUo235iS+gX9A== X-Google-Smtp-Source: AGHT+IHDcKxLkjhepTERLlMf2OF7qjXTVjP4TtqYrqgu5L+LojDTG0x81/ND2OqyfwVlS62hhbUR X-Received: by 2002:ac2:425a:0:b0:512:b92a:be02 with SMTP id m26-20020ac2425a000000b00512b92abe02mr1523141lfl.15.1708782956122; Sat, 24 Feb 2024 05:55:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708782956; cv=pass; d=google.com; s=arc-20160816; b=JcSIHrWaJl59cpjuofxpaNgfC1wABc+u/KrUcPallHwwr2s/XppvyN96SgNj+l3Q9M 17LzZgbQ/ITYeNk4ZqLPkVTtmHFyUjSKZzh9RURDtHNLvVygZ9A1mMHB1/J2yNHPXU1q YbsK1RP/Ma1usgCxeWkL8cOJmQaDYHsUYH8hnESv1WmRS8H6uWHzMLpUvSLq+IBojqtZ QJ6G6rI7wobxoL/Ezaft5QKEKwzkF6tJN17ljGsORR6orrp5pPiyNVKkdpBaaGRARyMb x8E2DmF657tkWCfO7UPVnHidH5VBmrJZlcahUIhee/W0azVg665ab6muB+xREKY5sb69 0yPw== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=tm1yrXWwpayVhW0izRTuDBy0hwWeAWTE2v2krJfJP6w=; fh=S4kXNVvE0poYH6xiQ6jgLT2GKCdSn33rqeP1uIcWJPI=; b=qCcCmKhs8BTXo1yRmEGjppygd68f1wdamdCz2X6CaQ4zjALZFKefiBmr59/Xy9oRDp bVpgGUghTagmm/Dp4T+tisrREXAPT3EjGD+8uW8wN51Beca4VMAkk+6uVU/7rn1U5oxz xpbcRJDYxUmd5e5VEZ8Pkbw2Sx0G7u1lr2xQwuocplcGraTfMuvcikcM9FJGaMIfkQRW EeDJoKW3as3MVBy+N2R1N+oFzFzmJF5gv1V9YNy6e3xHtZuin08yv3A1Q/YfQj6t8pRq rIsRGtwr2rWrdpmd9s/NY7lfJzqldHqlpoFAoJMruKGyYl3xZaOOX5BA4EY1wtqwa8YY GB7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=NW9o7oUc; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-79687-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79687-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s14-20020aa7d78e000000b0056173831870si511205edq.321.2024.02.24.05.55.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 05:55:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79687-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=NW9o7oUc; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-79687-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79687-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B0BA21F231A7 for ; Sat, 24 Feb 2024 13:55:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 454FB4CE0F; Sat, 24 Feb 2024 13:53:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="NW9o7oUc" Received: from out-185.mta1.migadu.com (out-185.mta1.migadu.com [95.215.58.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3726B482DD for ; Sat, 24 Feb 2024 13:53:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.185 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782787; cv=none; b=lMF1BPF7HLYD77a/hOB7hfLuvk3itz0pVArIALqbdTQnPcxmb5IkKTks4MfZEFBbHSJvx7ER5jncrLlCtb2XRDJ0+F4em2RnD+RzC4lyw7ncbAnifB/A4pMiQDpA+li6A/lxYTTkexIM5Sn3yo8CvdmsLdPEMNET1RmZQQxzYLo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708782787; c=relaxed/simple; bh=VWF64JLHhDBS2pWz1T4oErLsPpNC811AcQE+tvREolE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=P5dNk3NhI50AHKG0uiATxEtrkMxwoq9zQnvy96XFz1lhNFSf1BuegzZk3dOcAfGBHFeAzmyOfJ/29O9wfchcRQ8eMa9KdVpR/v5ZIc6TGRG4ZRCq9icskPQ3ffHkFyjBF3AyPpS84FOk7aaRM2gh0rLopBy788YFNtAyiuXyCcw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=NW9o7oUc; arc=none smtp.client-ip=95.215.58.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708782784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tm1yrXWwpayVhW0izRTuDBy0hwWeAWTE2v2krJfJP6w=; b=NW9o7oUcJ1oPsAYqMgb00gRou3FUu3uSSHnH5sYa2qqeMgWisTHbGqpoHn193JC4/gmY68 Zq+CJvm+QeyYBRlvCxS8urLV2A1DxV8HiaAhTpXxg15OKntYMjYnA0zWxNShpxbf//UNHJ 7OZQYLU2ZzlItCsW4ilQQ+Dsmjdmr3s= From: chengming.zhou@linux.dev To: rui.silva@linaro.org, gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, roman.gushchin@linux.dev, Xiongwei.Song@windriver.com, chengming.zhou@linux.dev, Chengming Zhou Subject: [PATCH] usb: isp1760: remove SLAB_MEM_SPREAD flag usage Date: Sat, 24 Feb 2024 13:52:56 +0000 Message-Id: <20240224135256.830413-1-chengming.zhou@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791788797317809247 X-GMAIL-MSGID: 1791788797317809247 From: Chengming Zhou The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove its usage so we can delete it from slab. No functional change. Signed-off-by: Chengming Zhou Acked-by: Rui Miguel Silva --- drivers/usb/isp1760/isp1760-hcd.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/usb/isp1760/isp1760-hcd.c b/drivers/usb/isp1760/isp1760-hcd.c index 76862ba40f35..0e5e4cb74c87 100644 --- a/drivers/usb/isp1760/isp1760-hcd.c +++ b/drivers/usb/isp1760/isp1760-hcd.c @@ -2521,21 +2521,19 @@ static const struct hc_driver isp1760_hc_driver = { int __init isp1760_init_kmem_once(void) { urb_listitem_cachep = kmem_cache_create("isp1760_urb_listitem", - sizeof(struct urb_listitem), 0, SLAB_TEMPORARY | - SLAB_MEM_SPREAD, NULL); + sizeof(struct urb_listitem), 0, SLAB_TEMPORARY, NULL); if (!urb_listitem_cachep) return -ENOMEM; qtd_cachep = kmem_cache_create("isp1760_qtd", - sizeof(struct isp1760_qtd), 0, SLAB_TEMPORARY | - SLAB_MEM_SPREAD, NULL); + sizeof(struct isp1760_qtd), 0, SLAB_TEMPORARY, NULL); if (!qtd_cachep) goto destroy_urb_listitem; qh_cachep = kmem_cache_create("isp1760_qh", sizeof(struct isp1760_qh), - 0, SLAB_TEMPORARY | SLAB_MEM_SPREAD, NULL); + 0, SLAB_TEMPORARY, NULL); if (!qh_cachep) goto destroy_qtd;