Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp826462lqh; Thu, 28 Mar 2024 19:15:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVV2AU4ABQ02PWCjgG/ZGnVds0Lqbsp6niO8+3ifE5JoLH/12DHxJwx6nRy01dYtZt18K+boEEpr2pUEdA+F2Sb+3pYQ6KCS7fu8qoD+w== X-Google-Smtp-Source: AGHT+IHY6y0+9+g1qxZKbjUOxt4szcb3tBPJO5XsF3C4o1LZdAgLWAcri9zn23kx8Alb2c1iPETE X-Received: by 2002:a05:620a:29d3:b0:78b:c74c:f025 with SMTP id s19-20020a05620a29d300b0078bc74cf025mr1244076qkp.2.1711678532202; Thu, 28 Mar 2024 19:15:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711678532; cv=pass; d=google.com; s=arc-20160816; b=KOeTl19GnHhsV0bpFrcfPjhegdY55p/ru9LIp3Rp+GrpnP/H2yPmxODgoQC21x/XhQ dN+cwZ3uTSCNBAiSmXuQY6oEIV5Yi6x5tjeYnW2MuEPthDOcaJ9NPvJ1IFFHZzfdcHrJ Up1a2BsCSl/be1t3mVaaZsp1wqmKNgaFmwlpZPrAH5GHTJpvsNS1tYPSE2zXOVV8J4Za qZNyiedI4XTGUovtkyJ/wkDB1tYRsH4mkK/4OHbCXmedkG/EKNhssxmNKWzjOg5EAmBI 2XZLA9ydeZAmmHUwd9rfME//XAc58fVJnRbj7IMqTO+i/6Z9VvowvykfO09Z2aEU5dJT UwPQ== 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=eHKg/7V7Pl/oLudfM0ileqdKuhPljGzHIMYbgvPiGiA=; fh=vLrPd32rIZusOXvpq9l+ltUmV3IH9F1C7/JJ8a+Gqks=; b=jraQKa4PyFOO0K185/DuPZGG8aNZBokvf2oqKFxldv7q6t8d8BrGsPOTNstBA7qRpw qd3pwESNHnarRu79YkpuewlSVaCOpbZb9bBta+qefgIIvGMmbXhC6hFMGYq7yXjIuGMl 6E31Tg/q2mEHimTPy5YMD+kxe60m1ukT+yiwVIDQFyIp/dkO/NeQaAIE3cvTuP+fQKo8 +KFOSBtAvZlU7ZMcLrmFD9GSlbIcBCgAol4slARgNw+SCmPy+bOO3INXyUie7BznfaYY 8Ek9tYH1ZwNCrUg+lI+NfT/t0e49SgsKheBvJR14i9QRiQCCsmW5Et7Ww5gohnMT0oo7 Hb8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LWvtN2Nc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-124052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id yf12-20020a05620a3bcc00b0078a5da3cd25si2722488qkn.694.2024.03.28.19.15.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 19:15:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LWvtN2Nc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-124052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E8EB41C2AC75 for ; Fri, 29 Mar 2024 02:15:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 005E52B9AD; Fri, 29 Mar 2024 02:14:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LWvtN2Nc" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 CC67A1DA4E; Fri, 29 Mar 2024 02:14:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711678494; cv=none; b=sr3k9zXa9k6xeWXq64eFC0D0rXXZYYIeqY2OXqBlVW+tVUFfakdVVoPJMtldFib9rOmX3FmTfSv7g33QXYMPCeUxdpkXM1bvWcomjYezm4fJtEnDjJp+G2JPNgxn9MtCOXUQg0Axh6lyeSYUQe+HU5S55WhmtwmxD5xh0oX0kRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711678494; c=relaxed/simple; bh=DhZdQ2iI7Zs+BqDVOGl/HOsjIT1jvsMP+tqZq0VoEFI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TC6Fb2P/+Qm2dt5CGRrtaMBwc5Q4xiRx6lKR0TPahHrAqhPR1Lgm4efb4ZTQdAyXZL8lZJ6EoGHLaYuWj06Nm0y2XscFRlbPxvpZomh+JMu8Ggu5hs3+bJKeIxXaikIdSOZ0atSEU/wmgC2aZO5mH39BlG2zi3wKz78OwBMtAf8= 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=LWvtN2Nc; arc=none smtp.client-ip=209.85.214.170 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 Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1def2a1aafaso12171355ad.3; Thu, 28 Mar 2024 19:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711678492; x=1712283292; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=eHKg/7V7Pl/oLudfM0ileqdKuhPljGzHIMYbgvPiGiA=; b=LWvtN2NcWKtQpPb59VF/GBak8NrRXRB8C2vS40r0fcXG4ktaM6BvoEfA8/DbI8kUVh 2BPFAW7hFDf/ZrpR5aTKkrvN9j0WjKis4wM+kF8YJjD+RLdg47OlTeHa++SqOIT6f3z9 5Cwum59JJmbxuV80yNR597Kdp6CH8sg2uKWqLCZc+2dfRd7S7mDM1e4T+rVd9DdCM3D1 +pCJyKrRQk4Csj7im4SnVHQqxS2RhkOnpUQ0tBu7pW155sB3LqSkbgWbDGxh8JPYgxv/ vpS6zqdo1FJc+Y9Wesi+OXNtTPAyRRu3zmj7L1Qa+k3Uce8PuGMwj9vW5wWAtLSbiZ6y AA3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711678492; x=1712283292; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eHKg/7V7Pl/oLudfM0ileqdKuhPljGzHIMYbgvPiGiA=; b=CLNvWdgVfs/Tak/m2IdgfAWRIkvQVQ6mWdxpW38/82dYyq8Qdenc/yV86OPtvr6sRR GMMFmuk4T13AamneyhGQjH5fdWOUT7KN9MGw8tbxreQuQnGuDFIlXseP8+8yawIwAcJk NEMQe92xq8K92oAOnHwhWnYyMr8r17FLfp82lxWyTeCBl2TXz4wb48PWfsRtd8MABzGd jCfBQ5O48KlRyRYmK+I9CPqljlmKP08r4u6uy9h2PpyfMr0LgxM3TiDYjz+XAgHDiNMk eRhT9ZEyzxOFeVxh3lJBBD5aSvdEnO1Y5xIWrP6RIKZfF0yRV5eHYPtzKYgZUYnSl3fR xcWA== X-Forwarded-Encrypted: i=1; AJvYcCWHHYpVyZ1lMcBzspN16x96gDDNqNcVYvCq9+rCwTUS5BZnUO2gOgW7Hngz1Yaz0OTozleJfxMxVGGvQLg7GxG0M/yK9pu+pq+BVKBsF7eDxfR8PY/86AJROenky+IsxHjjqk3zV8+t1NnmOFJLMVhWVhlG X-Gm-Message-State: AOJu0YwI0R2rYHntmZR1uRVp7vwF3Q5AdB4vW+FwoSevIhGAeTMEXwCT EGpbqSLsD09K9Q5/eWnfn68OcKa/1nSa+s8Iy5gwZ++jTr6IkB0R/pfpfccObpo= X-Received: by 2002:a17:903:1210:b0:1e0:27c8:5c7e with SMTP id l16-20020a170903121000b001e027c85c7emr1375866plh.25.1711678491960; Thu, 28 Mar 2024 19:14:51 -0700 (PDT) Received: from ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx ([2401:4900:4e59:88b8:f462:3eea:57c6:a15a]) by smtp.gmail.com with ESMTPSA id u2-20020a170902e80200b001e0b5fd3c95sm2342659plg.259.2024.03.28.19.14.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 19:14:51 -0700 (PDT) Date: Fri, 29 Mar 2024 07:44:42 +0530 From: Ayush Tiwari To: Dan Carpenter 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, gregkh@linuxfoundation.org, outreachy@lists.linux.dev, linux-security-module@vger.kernel.org Subject: Re: [PATCH] LANDLOCK: use kmem_cache for landlock_object Message-ID: 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 09:39:14AM +0300, Dan Carpenter wrote: > 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. > > > > Signed-off-by: Ayush Tiwari > > Is there some advantage to doing this? You need to re-write the commit > message to give us some clue why you are doing this. > > regards, > dan carpenter > Hello Apologies for the errors. I am working on a newer version, instilling all the corrections. Thanks for the feedback.