Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1349923rwe; Thu, 1 Sep 2022 17:27:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR768SaF5YGHloMUGzT0WYJERp0n6yp42IN7OtqcnwByi7GvIjCcaZ+if2TZ4YOfIcBZOFyl X-Received: by 2002:a17:907:762d:b0:73d:ad57:e037 with SMTP id jy13-20020a170907762d00b0073dad57e037mr25509802ejc.405.1662078428574; Thu, 01 Sep 2022 17:27:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662078428; cv=none; d=google.com; s=arc-20160816; b=BElRx1Hwp/90Q/yHh8XX+4bDBSUQThzhHG/schd9PlHL5oLOHU6W+YCGArXMiCHz4P 4rdbm3QbT02l9jiQcpir9VNQYwYQrzx1Q/6/SR86E2Q36eI8Tsh+NMpAUElrQDg/arh0 5MOp05tR72CEaCd1tsYS7WslflRKWl8UzMwKMitk1TpMigy0KDpkOW8E+6jMszNSo3MR hOaRrBRPF/PZnOMJsGfiTDHDSsvk4wNDBOagoC7m6C0DDi27+ejU0f3MpUnsciMz4OuS FavwMK19aCN0Dn77bOFx6zEvPDHdHxleN0VaGmC3vs+mZ8sWmM6rEHUwk/D6A5FrzSU4 XKxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/pPOPbPw8AnpH29BUzSqTrm5ZvDmaEgEyFxuBQlNiEg=; b=jsau0zMlersbcYQHlcJ2kAFb6D/n9dFznroW2hnbcNNGxB2H8J9PRGWDqX46tmiWjs x4bbbmpmdv409bkE7KpMdaNSjvg1M14YPhJdZMKqECJRutCLnSq+79/yBNCCbD8QBvE/ L+flvIecfXuP8kWEqcHfMoqK97awI/1pcy/WYGWhO3LwhOWufSXJCwZ0bdffBTKxrpfL Zqz7spB+j6ljbIy7C5f4BUoBEiDch59B/ST1cC9YoAU+OhGA1DqmLdwOwa9bneeZ9iXo xaDwrwBf1Zow+2KOqLLGs/IAdErUICjLFe7vfIjvKE4l7qFEfH2Z2F480IyysnuI1cIb brxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=JFydOg9Q; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a056402400e00b00447102675d6si350363eda.606.2022.09.01.17.26.41; Thu, 01 Sep 2022 17:27:08 -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=@google.com header.s=20210112 header.b=JFydOg9Q; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234934AbiIBAY6 (ORCPT + 99 others); Thu, 1 Sep 2022 20:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234850AbiIBAYz (ORCPT ); Thu, 1 Sep 2022 20:24:55 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60492958D for ; Thu, 1 Sep 2022 17:24:52 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id 123so1055627ybv.7 for ; Thu, 01 Sep 2022 17:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=/pPOPbPw8AnpH29BUzSqTrm5ZvDmaEgEyFxuBQlNiEg=; b=JFydOg9QoPX5QvCMFfTX+qzkxy7dX+yug3qLsycd8X5fIiKliNhG2sOdd7n2FZxg0x wlIQ0PSe2w+jF1eYJALDSn9VwIQg7e+fojjEXzmIOWtowrPcZ8vVaDgvGlc5viuLzbLq BuWwUYh3dJTjnuDVzKYwlUlnzQN1dlqhuf8e4UUJj0Gz3yVOw7ZhtZlACThcN+JogWbQ XLiaLX50zBOT8vT4sikyfQhvA5G9n7Ys1zkULvj3Bu6V7OPgO3m2SYNlgkEGLVgRXA6S YaT8WKnNiPs7HVTvCKPZfxYMJ9fk0eCfVfQjSQqADIJwkH1wr6+8aSYndPr9n1G1vqpS RvLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=/pPOPbPw8AnpH29BUzSqTrm5ZvDmaEgEyFxuBQlNiEg=; b=5nVhQQbht0UrkbswLQS/+DRvZUamYl5TJlIM2rCZSR2aqtqKaw9ozWa50vTFFBt47C a36ZiEQDz/tQhp/hOrv6j/UPzsyrwH9JJQf2ohNrPJQ4+HVnzBjdFOWdEBq6Kbyy1Rbk qFUo7Qg83oRAo4b70D4GtdgsuasLwuORMHJTmI94fvui29o3I2N3m/G8o7uT1HDKe5Iv P59yyFqgtZoVLgYpTHChQCWtVMyoXo40k0ae/iq8f+G/UTdd0I81b54iebxsEV2GlUr0 ugrR7SMxX5vHt0pBnzRGcLGciLVW1MS/fCxtAITfXLBbalsNApAvNTg5gaZEi9mWjB8z c0vg== X-Gm-Message-State: ACgBeo2qoXjehwvVe+q5QXV2rVcq0dBtfEGdixjKqa3Xryheyh8e6DYA mgZTWfPQkvVG5zddgitEB11aFxh49rtH6xJ5oUcLUA== X-Received: by 2002:a05:6902:705:b0:695:b3b9:41bc with SMTP id k5-20020a056902070500b00695b3b941bcmr21283555ybt.426.1662078291363; Thu, 01 Sep 2022 17:24:51 -0700 (PDT) MIME-Version: 1.0 References: <20220830214919.53220-1-surenb@google.com> <20220830214919.53220-15-surenb@google.com> In-Reply-To: From: Suren Baghdasaryan Date: Thu, 1 Sep 2022 17:24:40 -0700 Message-ID: Subject: Re: [RFC PATCH 14/30] mm: prevent slabobj_ext allocations for slabobj_ext and kmem_cache objects To: Roman Gushchin Cc: Andrew Morton , Kent Overstreet , Michal Hocko , Vlastimil Babka , Johannes Weiner , Mel Gorman , Davidlohr Bueso , Matthew Wilcox , "Liam R. Howlett" , David Vernet , Peter Zijlstra , Juri Lelli , Laurent Dufour , Peter Xu , David Hildenbrand , Jens Axboe , mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, changbin.du@intel.com, ytcoode@gmail.com, Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Benjamin Segall , Daniel Bristot de Oliveira , Valentin Schneider , Christopher Lameter , Pekka Enberg , Joonsoo Kim , 42.hyeyoo@gmail.com, Alexander Potapenko , Marco Elver , Dmitry Vyukov , Shakeel Butt , Muchun Song , arnd@arndb.de, jbaron@akamai.com, David Rientjes , Minchan Kim , Kalesh Singh , kernel-team , linux-mm , 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, LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Thu, Sep 1, 2022 at 4:41 PM Roman Gushchin wrote: > > 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. Thank you for reviewing! > > Thanks!