Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3479579imc; Wed, 13 Mar 2019 20:25:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzM+CL1hjyM5b+NB6XV25iuonn2q8s36iBY8qn0f8YCzynlxIcr5Hjtp4loOE1NbyFuG3Ql X-Received: by 2002:a65:6112:: with SMTP id z18mr34002299pgu.272.1552533939162; Wed, 13 Mar 2019 20:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552533939; cv=none; d=google.com; s=arc-20160816; b=q9KloBUlNHE/TlfrUt7iaBGSdX1u6d9XKaxxTXhXA5XlSqZ9n5KOeab850iOr+UptQ CCK0WmgrlhHW5UU0qezg+RAeW5+nTbm8n7HduQcCGlmWtis70rJCM/5fDbTN8N0zVCW6 FfnM+rls/xnxVhjMo/xSpuOuDyMpPQJzQTwSnGiugrU9lNcVBbHj9vWDOBsatFSsnwzE xfSestdHN40MWNY9GXoolptT60b0jYqiJtcUQdwQRlsAXk4W3Cx5oH4TeaGqoQRLVjoX eXXaLWiC/RDecGGINi2aqL1q7f/djDcnjbHLXZYx9OO78g79RqrWFBX+6jNiR1vTtEaN UOlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=QD/L4U5YxRm2Guw00dch8PmlTQ/omLCRelsZiBSPVsY=; b=IukjV0ewMVskqO8i1de85vYSykN7eNbxseFOwbQMtBCjFAlKr/r7SemGD/4QKoU4fa 8SWl481ZxqiV6W+Xq4DvZKCec2u4Wt4cMrnUww0Ho6w9RYSmnN3I+2yINWh80sbDRqN5 asQwroVqRv/hz6wAfWeapSk2ltY5tuF1k/uacETigI4hy7Q+/bLamdPT4/7ZZSMs6GwM fysh5LN3plbOBLWR9IVwm0ig6owLGjxdq6xLrw1mHge40cwqCPX7lHPWKSFKxwKi39k/ +zxWMAWwNEHWWG79gNC035yVJVlyzhBmn9FS4wbJZSQk3pPlASgj+WuREvMjiMLLHqAy DS4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b=fFNsm8gj; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Q14FmF+x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61si12439297plb.162.2019.03.13.20.25.22; Wed, 13 Mar 2019 20:25:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@tobin.cc header.s=fm2 header.b=fFNsm8gj; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Q14FmF+x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbfCNDYs (ORCPT + 99 others); Wed, 13 Mar 2019 23:24:48 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:57509 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbfCNDYs (ORCPT ); Wed, 13 Mar 2019 23:24:48 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 609AD3739; Wed, 13 Mar 2019 23:24:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 13 Mar 2019 23:24:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=QD/L4U5YxRm2Guw00dch8PmlTQ/ omLCRelsZiBSPVsY=; b=fFNsm8gjbOopziwP/as9hJ3WnJSe6neNNC0/pLoTrln 5egdSuSKvOOgq5hW03NC9btqGVfvcJFp0GJwHwgHPPSWwNy5VYnG82I137mqhwkU ApaZHxuGXwWMR3o0RKCORoLe+vYesHhEYfRVl9YoEnsmce6yfAAUUtuWBefV/D8K c7VzhJz9IB6iKNRzUwJ8VRvdI5R9iQilt9ML3P7tkgs5YOgaVvHRT0bVHaHKgKT3 Ym8Wi0XkDZSDdYb+Nzd627/Rgpglego+/4ia25zEEdJbdF4FmD5N1Umc5gM8hamh Xxh5qYKHzh/7Fq2bvL4Rom+RSKeYFbGMMRq+eKh/SjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=QD/L4U 5YxRm2Guw00dch8PmlTQ/omLCRelsZiBSPVsY=; b=Q14FmF+xo3wVrkrc8Azank 0VTTApneGjeGoytQPhAQlW2gXnOwJ4qGRHpPNZTQrGzgLvBM4HVy276HCQHN505+ QgrnR8NP3WjXiW9EftW2PjGbSRoE7OqfR6YfZJhnq+ghVvoHzHJgMFFLD6cFuLtx JYAljqI9gX5A76iPSHcG0ns0peC5Z3nMPLP+HCwYHodzzJVDPsB9tdtNKwwz4dAb AF43tS4H77Vmd9JZZpP/ild5SSBimDWhI1AbZONj/IFKZUnWyN4ZxNMNEG6MoBD6 qJ57xEYnANEr5Xr7lFJBENDsKihLD/6UHG10WE/CQYR4yWo4H+ze2xTp61FVxaGQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrhedugdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjofgfsehttdertdfo redvnecuhfhrohhmpedfvfhosghinhcuvedrucfjrghrughinhhgfdcuoehmvgesthhosg hinhdrtggtqeenucfkphepuddvgedrudeiledrvdefrddukeegnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmvgesthhosghinhdrtggtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (124-169-23-184.dyn.iinet.net.au [124.169.23.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 31C52E4210; Wed, 13 Mar 2019 23:24:37 -0400 (EDT) Date: Thu, 14 Mar 2019 14:24:16 +1100 From: "Tobin C. Harding" To: Christopher Lameter Cc: "Tobin C. Harding" , Andrew Morton , Roman Gushchin , Pekka Enberg , David Rientjes , Joonsoo Kim , Matthew Wilcox , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/5] slob: Use slab_list instead of lru Message-ID: <20190314032416.GA25492@eros.localdomain> References: <20190313052030.13392-1-tobin@kernel.org> <20190313052030.13392-5-tobin@kernel.org> <0100016978719138-5260db28-77f5-4abb-8110-2732aa709c5e-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0100016978719138-5260db28-77f5-4abb-8110-2732aa709c5e-000000@email.amazonses.com> X-Mailer: Mutt 1.11.3 (2019-02-01) User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 13, 2019 at 07:05:02PM +0000, Christopher Lameter wrote: > On Wed, 13 Mar 2019, Tobin C. Harding wrote: > > > @@ -297,7 +297,7 @@ static void *slob_alloc(size_t size, gfp_t gfp, int align, int node) > > continue; > > > > /* Attempt to alloc */ > > - prev = sp->lru.prev; > > + prev = sp->slab_list.prev; > > b = slob_page_alloc(sp, size, align); > > if (!b) > > continue; > > Hmmm... Is there a way to use a macro or so to avoid referencing the field > within the slab_list? Thanks for the review. Next version includes a fix for this. Tobin.