Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1342707rwe; Thu, 1 Sep 2022 17:17:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR6u4V9N+HfGJ6xD4T/0Tq/+ayLOU9eUsk8vJSBiRwiHBUYHI2tYJUdo+1GQFdNIiQx9UxGE X-Received: by 2002:a17:902:ef50:b0:170:9f15:b998 with SMTP id e16-20020a170902ef5000b001709f15b998mr33348763plx.102.1662077853656; Thu, 01 Sep 2022 17:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662077853; cv=none; d=google.com; s=arc-20160816; b=H0yqIFCCwW1vque6DPnZOohN3basl78rz1KKS5QXnPnQlg7OWPiA6YLLq6/MbtyvkN 26AhRKn6oT1/g1gQ8kpCvGEbZN+cbRms33+3Hpw8WzhPCjQMtBGvNRR4BzVl1y5k5V8N RDQVF0s97cgAW4A8do5vEeBdlyKFbtbs4RsKIfFyhCxadb1tuQtVeDxUftImbSQ57apO HlgCGCRIwDSzqbyOenurCYpfHHAawO2ssI1DuYJdTWE0o5efna58ebNIZXSxMzM5YrnF 9NOSXZDbLDLzdnTINeWQsGI3wYoQMXpdJRJKtG+pGS3cdctU54KjoBgiUP62S8ekMzL3 7GDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=VCjuzNKAQwi4WscZTTheCwWMDo51dWnYKGYDxlIvOxM=; b=BCmX95uABVrY2Vu2Dc4a87nHHI3m1DLQNr46Gjew34szfjAQd95Bd39979aqA7QhIG Gx9BN+rlE7d8RRLFliGRGUQHH6QFHXhVnQ1t5+UjsqPo8KhmMVXVdkmkBrZ69O5920Pi 50jO8FWawBRrpS4uaP/fEBXef1lM+ZoqPhg4YS78aTKXqyuBClaKVG0RD3fgJoOyw3uI znysSU5vHFziGyxVE4bow1wjUSxBkNvzBEGklozZUH0DjLGAHYlgtUJHV+upduTsd5p7 aVssMTV1YFx9tYLuaIK1+QxAZ4/+KqzUHqqiCPOOQrfMRZ/D6hxkrp/H2GRXKW1cqSQt 3czA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=B9gaPrqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mi7-20020a17090b4b4700b001fe35ddd963si5209407pjb.103.2022.09.01.17.17.22; Thu, 01 Sep 2022 17:17:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=B9gaPrqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233562AbiIAXlH (ORCPT + 99 others); Thu, 1 Sep 2022 19:41:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232631AbiIAXlF (ORCPT ); Thu, 1 Sep 2022 19:41:05 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 057146172D; Thu, 1 Sep 2022 16:41:03 -0700 (PDT) Date: Thu, 1 Sep 2022 16:40:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1662075661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VCjuzNKAQwi4WscZTTheCwWMDo51dWnYKGYDxlIvOxM=; b=B9gaPrqoM9PK1lD+hEX/op7qHNl+aw6jdPSVrB1+SupdzgrKuElns2pV73ErXthR33K4/r Csn8Bq+pn89vebEyMD7KRNTie0fIVFpBfkYpm+nAJ89w7k+b02t9MZ2ViDAd0K6/czkU7+ 8O6NPwDmFvimrwGJf/eHTnN/ekV1fK4= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Suren Baghdasaryan Cc: akpm@linux-foundation.org, kent.overstreet@linux.dev, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, ldufour@linux.ibm.com, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, changbin.du@intel.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, arnd@arndb.de, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-mm@kvack.org, iommu@lists.linux.dev, kasan-dev@googlegroups.com, io-uring@vger.kernel.org, linux-arch@vger.kernel.org, xen-devel@lists.xenproject.org, linux-bcache@vger.kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 14/30] mm: prevent slabobj_ext allocations for slabobj_ext and kmem_cache objects Message-ID: References: <20220830214919.53220-1-surenb@google.com> <20220830214919.53220-15-surenb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830214919.53220-15-surenb@google.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 30, 2022 at 02:49:03PM -0700, Suren Baghdasaryan wrote: > Use __GFP_NO_OBJ_EXT to prevent recursions when allocating slabobj_ext > objects. Also prevent slabobj_ext allocations for kmem_cache objects. > > Signed-off-by: Suren Baghdasaryan Patches 12-14 look good to me. It's probably to early to ack anything, but otherwise I'd ack them. Thanks!