Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp228889lqh; Wed, 27 Mar 2024 23:08:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXr4oY1t22HOgGcs1fRe+Lo0VDd5MJyTpm45kcaDkH+ZGin06/+tpJppfihYbctM4XFyb8Kk2SDSforbNFzKarXP3ympa9QnIlqerGolQ== X-Google-Smtp-Source: AGHT+IESvFCX1q+fiUqPQIWsbAm3s0ifwkErykfR34ao+qxdtxFYMAuTbJPOjTgV/y8xwxVpFxXb X-Received: by 2002:a50:f688:0:b0:56c:1bf7:164d with SMTP id d8-20020a50f688000000b0056c1bf7164dmr1269172edn.20.1711606103251; Wed, 27 Mar 2024 23:08:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711606103; cv=pass; d=google.com; s=arc-20160816; b=QG+H3RJc7fINAbMNjfJuKYPEo/Cw9uPjaHySXoEP/krVYIhOR1yguYkjJvSsRol74B FENGOYTaNRxGfIrxFx5TNQVSLT0GWprGrLUhcEHmq0AsxRSD5bnD6UugddGU2tV31tgT xgEyaAyZMDXPXhpSoga0znlHWykxvE42E/NqgJCo6ZWJ7vb9gqWW485nZ74KHv6oSRSw iSBsXdeKgua6xWB+8F321Pl+uCSmH9q9J7InzBAC9aEFtQv30n76vg5Pi6NjyrXHLvKi tQ9jp11VI6+o+YfROAMZv4T6b9UFo3lTs/D8v8+AvDeJlY2YUxMqqw2hxwelet9sBwmp W/jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BShOIzlIJ8GvlXVZkwxP4KTvV+MBz6GP82P0Ay8dA7Y=; fh=/XD03ToPW7Zb7H941ht2/b29VFog5NJcusgCMkKX+io=; b=VkuHOp8QYJ2I3+opDr5ggg9SMyClI0TcjJ4Q+7Hvi5JJCpTD2q1rki0m3KdBFUM2o0 Fcx6klkqmdfCsd8WE4MJ9nBVFtXD5JactahikDmXMpBNi2cKfgqLUxLuS/6kokiGKv1T wj048mRs/QEU3WtEizrCFmn0T0fjKpDWX9itITu2yagnWSr2oLAWNxEJFqDxSNCjGOif dMDsfcDBZIcK6zq8qtw1ifU3cip9reGOUsTBwM70GzkzkNfrfoaj/Zq4b1m7o1qJ1hjl sD4meh5gfJlPCp8k6axCRq8/dK/ChEqy7eFBtNIq+jNL0ZbS+X+SOgwUR7KVC1IHRSuD drUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qjH7Sl8T; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-122451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ev24-20020a056402541800b0056c29d62306si425332edb.585.2024.03.27.23.08.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 23:08:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122451-linux.lists.archive=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=@linuxfoundation.org header.s=korg header.b=qjH7Sl8T; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-122451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 02E161F26C51 for ; Thu, 28 Mar 2024 06:08:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8BD64EB29; Thu, 28 Mar 2024 06:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qjH7Sl8T" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9DB523FBA7; Thu, 28 Mar 2024 06:08:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711606088; cv=none; b=kKyzS9G/GK2fyncaL1XeKtcYeShiPaJBUHet9stZENksVoPbwuT21WC5o4lpxdYxEgK5uL4PVdb4e2GVAxuqtXQZvj72MUHDCcleBwz7R8EOlIsAcYBynMRL9WUGDNrW1gFT9K95SMyo0qV5dgCRpbvp+DRoSbEEDmDZBFNkY+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711606088; c=relaxed/simple; bh=nnA0rFWt7SnSLovWF/sQubwVjNxtvJ50X2vkuAyeF2o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hFEAB+gcMf49hGrtOXAvBQ+Khqqv5kRU9/oE940Baw69Ja/QpQPFG+Az5jx4uMnQRXRPMElU7rhSVSiEslxmHcr06yNpYM945vLbRKI9jcFqId5MucfKXMiP4XhE1SpgfvqaixxRtKmMpYjbL5lTCGOR5D6+zrQU8gtM0/vXdxE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qjH7Sl8T; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB7DDC433F1; Thu, 28 Mar 2024 06:08:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1711606088; bh=nnA0rFWt7SnSLovWF/sQubwVjNxtvJ50X2vkuAyeF2o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qjH7Sl8Ttnt/cWpeDgGWRdBc/J960MVlSsb7g/jmVNwg2cnO+SMVwNQbttnJMprMx XCB9gYBkFSSHWroTyjRL8qyV5dFOfMpMo6kdPYqOYVVJkAYdXaPfA6/dX0BsmqdTit 6M6z+G25cAqF0DWZrPwZhrK3uEkl3faEExvXv6uM= Date: Thu, 28 Mar 2024 07:08:04 +0100 From: Greg KH To: Ayush Tiwari Cc: alison.schofield@intel.com, paul@paul-moore.com, mic@digikod.net, fabio.maria.de.francesco@linux.intel.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, linux-security-module@vger.kernel.org Subject: Re: [PATCH] LANDLOCK: use kmem_cache for landlock_object Message-ID: <2024032836-grief-parish-88e7@gregkh> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 28, 2024 at 04:55:57AM +0530, Ayush Tiwari wrote: > Use kmem_cache replace kzalloc() calls with kmem_cache_zalloc() for > struct landlock_object and update the related dependencies. This says what you do, but not why you want to do any of this. Why is this change needed? What benifit does it bring? And why did you cc: the staging mailing list? thanks, greg k-h