Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp266215lqh; Thu, 28 Mar 2024 00:57:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8hP1vaV0mqhqwcMqT5LzyhAv/wEc1644VyP/tCMAGRQUcER8jEj/1yooykR/0KqBAscXCEIRsO45pAKXoXM4zmKnS8tDe6DEiJbWeow== X-Google-Smtp-Source: AGHT+IEYFR8mhWN/N9xe+gcox9kTJfk5K6OUWSrHAa5ZmJN+hav0gdoJGv41uv0E0B2gQ0DAidZC X-Received: by 2002:a0c:f847:0:b0:690:f1e3:ca7c with SMTP id g7-20020a0cf847000000b00690f1e3ca7cmr1977056qvo.16.1711612671842; Thu, 28 Mar 2024 00:57:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711612671; cv=pass; d=google.com; s=arc-20160816; b=J3ZE0z2nlZ82NuVVhxTMnM2LLPXVoCvXi7gb6EuwbKRAxo5SVM7EoNKIyFvtHzxGZG 6uepN5/u7FJi6GL60ozohY7K29p3EsDiKfUDOC9VLXexczDpZ9pCzUgUYp12kuMmuMJp fCgbAeSxe4NswKbKJQp75OcRcceNkthnIO/IKXs2egPAoQXZQhHvoYusu+yh4/Ud2lUY YH3S3ZU6t/sijMfOT6BsswxFfeXLb0x2aIskJdPx0UVFWRacA7TMDzK1T4+GHkVZx8Bo oAyRrEGxgXp6BXEespnWUMVM+Upo4nWWxrn3lAusY31E4uQ3i6UlQORtk8Gn2NIRHaqM Neuw== 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=+F6qq90RMnVCx2dPk6+bOFn/UT39BJkerD8BiiuXch8=; fh=eMZ7+okKWF021YqBnldrz9kRoR207xXW+OULf/IET5k=; b=ag6FfDgGzF4C64rfUK4DGBwzrzZMlFcTAah1Bxq+eidcVxj2oz5X+pTbr8+FkpSd09 3dy8qaLOpQ1Xdkdk3gwNlkNmJRfaKtJuVUkrJY4UNbM3zevVgoZtenc32aKtMSaIrLMq yK2Ug05hRWZZe3e/O7YcZ/pvFwXS6ogyxiq0Pwfe0yDioibZvdm/1veTjwuDFtoEhjo4 11kP+Ewetvf5Nj3K2pdM8SpY/vzVS02X8Q6HlGe1actbIf9qyVxU0yRr0tARwxE/ChgE jJ1g+4PVUfEhPKzMpK3a71coMO7RZeZ4ahlAGNhFR12gQx2YLjO4G1AeZD8EbIw3yuPm nlug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KOPpP3K4; 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-122549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122549-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. [147.75.199.223]) by mx.google.com with ESMTPS id pe12-20020a056214494c00b00690acb3e24csi878234qvb.569.2024.03.28.00.57.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 00:57:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KOPpP3K4; 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-122549-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122549-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 885101C23D1A for ; Thu, 28 Mar 2024 07:57:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C5745381E; Thu, 28 Mar 2024 07:57:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KOPpP3K4" Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (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 0A77222EED; Thu, 28 Mar 2024 07:57:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612664; cv=none; b=R4WV7nbavuDR5sAeUhOd472HHID8EVoqy+cscnIfBvEIlT9+yykNmSuhdKHls8EJ06lKYJa6j5LEiSHa/OPex0EGpe1u8CZgd1grpuNNAPFPL6v4Id6A3lOjhJFoo3PWWtwlK/LjQkJsvP9apddSjlAPro4amIsf8IJUGPP9+k0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711612664; c=relaxed/simple; bh=Ykk5j54CrXF8Gc0MNwakndBqctWdj6NqiHrpMavfno8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K8TFiXj4xZFY+ifbK1peA65gKlkPHRooPw0IkFqQ+uH+s4aZdOythRpAgN/rxHGkBxJgoCzA58nQmtDf9wRT+HKlCk4UclVab6YTB+3wi2lJWBeS5Vp1mepASgRUUlxorAXEAVbv7oGnMdNg1DOqRalfz3/L/h2apDIErHpQzow= 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=KOPpP3K4; arc=none smtp.client-ip=209.85.219.173 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-yb1-f173.google.com with SMTP id 3f1490d57ef6-dcd9e34430cso687959276.1; Thu, 28 Mar 2024 00:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711612662; x=1712217462; 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=+F6qq90RMnVCx2dPk6+bOFn/UT39BJkerD8BiiuXch8=; b=KOPpP3K4GzYsywSeMRfOs7/QbBiqOLQSOpJ1KPZt3Eg+t6oJ8+prYd6ERUwa5+ylOs HEPY4iUyfpSH4NI3CYFD9v4jn/gBFDLvw9Li/xUONTi/wXbarT9MZtthqADPJPjWlDQP o+Xp8/mcKBfZoUbwiiQhEGzsbnW0iGoCFBaY1x16DeV7QKOHfPITdA3tqPlFfgu/SghJ f0C5wVGCaJj3rjxafv2KVXq+znXF+o65l2uh9KMo2QjKINMxWczXvM49lsbHm4JGkAUd k1LRhsaO1gvY5SOFkGJSHJpvNBxCSFyQt6ysTSFd9q5eiqT+5L4THuMFir7NNd3CO9bK bI0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711612662; x=1712217462; 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=+F6qq90RMnVCx2dPk6+bOFn/UT39BJkerD8BiiuXch8=; b=OBIuw3EoIgyAXykwpFiCNXnaClJ6bipNLQUg8oalKqSBWfPwQ3TWkSWgCAuwAlgOkU NkZOU9ShcbXqJRDPRVNf9Yh/M05MldC7gvUXCAlii+yE0+olTJvJC0jM5r50KGvuafUW yuNySUpoJ+ejMCCxxP/NEgRGI1g4/Ij8n/E6i80NqOkNf8wB/J6XGTkPNhFzirMb74M8 9AMvMPWoWzj6dZYPNe22D1I+zYn1kkHGm4DIML5t6ZjViyXsT3iTZodr9PMcy01lXf98 jYmTEVP7D4nmxP4t44nNaYKxQ3bMVPj5/1nEri4/ZaMrP3YyP4HEPQH6uXLYlmo+F1v0 dDQQ== X-Forwarded-Encrypted: i=1; AJvYcCVfleEz8vOQN7kszfxF4zbtJ7FnVJVvrHo/yJgyYBwORIMlXBUqm7Pl4BKD777cNXb35ZljAeFLbI2SM53y2MArIj363w+neQ+o3VjqdfW9BvIGq7XPfm8SqOrMlxD9DwBnBoiDqMAU70KHRF8M/AMr37Za X-Gm-Message-State: AOJu0YzGyYqXB4Ej/Y3IxUZj0BpQ2CCU3EcbErmw2WVLUk6Y+wBR4c6V p3u5qmbT8Uy4rAfurv1t+8cEvsOpFBStGI6vn2kVaNAkBN7TiwJg X-Received: by 2002:a25:c381:0:b0:dc7:483d:5903 with SMTP id t123-20020a25c381000000b00dc7483d5903mr2103362ybf.17.1711612661964; Thu, 28 Mar 2024 00:57:41 -0700 (PDT) Received: from ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx ([103.6.158.65]) by smtp.gmail.com with ESMTPSA id q24-20020a656858000000b005f077dce0f6sm644922pgt.31.2024.03.28.00.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 00:57:41 -0700 (PDT) Date: Thu, 28 Mar 2024 13:27:36 +0530 From: Ayush Tiwari To: Greg KH 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: References: <2024032836-grief-parish-88e7@gregkh> 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: <2024032836-grief-parish-88e7@gregkh> On Thu, Mar 28, 2024 at 07:08:04AM +0100, Greg KH 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. > > 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 Hello Greg, Apologies for the errors. I will resend the patch with reason also for the changes I made. Earlier I didn't mention as I thought this patch is regarding an Issue from the Issues List. But will keep this in mind from now. Also, apologies for CC the staging mailing lists. I won't include it from next time if it's not needed. Thanks.