Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3389713img; Mon, 25 Mar 2019 09:17:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1gWuQE1Miy5nagAul+CTQWaOs24shofp44oRAk823BOO+dyGpFUF8Lw0nxt+89rt3lItm X-Received: by 2002:a17:902:d70f:: with SMTP id w15mr26218358ply.234.1553530663749; Mon, 25 Mar 2019 09:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553530663; cv=none; d=google.com; s=arc-20160816; b=LBpAVrIzP3/kIVqU3ou6E9nsg2GHnzZ3uUGlnW4nve/CcSIEBXbR9Mz5pCJ/qDusqI 1zzM8ryhOlvJAiWV2i+ZtfcbKyOYKH2tdDk/ymAr8WExEMicrV46CV+A3xiwF366U4uf wDMrdeNxgZ6PAUA/ti87NjdI+/WpkA+me5ITLZA0HgVzNCeeEaTRl+n0AuoDLLa9Yxug jgJl90KNB+056c9n3qyp8FuCGHn7WxdrIPAGydMNqytZ/Lm7oiMuXCeKKDznmJ4CZao9 JKPaXciQ0ggMlgYALeNOpSvvLDZEl2X1pH1KYeLbo32k+gnGpVqeTEPXt+Z7dICE5/HI 8vjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=QBGlTHgFvFWzHfC6BIPxPtr9RCcl2kLO9acSShDGZdE=; b=QQ4i9U48wjmeYkSUwMpKK4RY4b2iKPNUryEOgp6HeJOQ17TJUT8JpxuQpD/du3aGTT t2r0u6jOeabXPqLoB6LMAdso+QwwiR/4k008BV6wJ06VRa3drlZWXBG9y3OxQQeE9zTL 3dZMmKsbLjOKRl4tWxHKXztXtb3n72tGK89BR0h/wSqmHwyu9DGb7GXmoIZ44ZNAORZ1 o+wTTfRH7DlwJ7XFVwk0fwLoOrxYWxFlwjT1EqxR87fKLlD0RTZRkjCDlJyl60+Hc9gq Ookjai0wBkJt3mB7q+UnLcWbgh8V6TeHYgDW+1Oieu57kMoa+mJVFDHIE3j04A4lv/aO lEwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b="PknB/rT6"; 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 f18si669093pgj.188.2019.03.25.09.17.26; Mon, 25 Mar 2019 09:17:43 -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=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b="PknB/rT6"; 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 S1729315AbfCYQQQ (ORCPT + 99 others); Mon, 25 Mar 2019 12:16:16 -0400 Received: from a9-92.smtp-out.amazonses.com ([54.240.9.92]:34726 "EHLO a9-92.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbfCYQQQ (ORCPT ); Mon, 25 Mar 2019 12:16:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1553530575; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=QBGlTHgFvFWzHfC6BIPxPtr9RCcl2kLO9acSShDGZdE=; b=PknB/rT6TahcS66rVgUbw9Ic4A4pEX1qBQ2wTSkh2PhvAkZRHV7Zcuqm6b3JqKhA 4hoV4XgeocRtt9EvxbHy/FvfE55r2n1YZIJ0ZEtwlv0vO342rwcva6yZjeeISduq9Uh uV/UjIIVfgbZqFHci6clrkvWSpEUm8rPbycwFms4= Date: Mon, 25 Mar 2019 16:16:15 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Matthew Wilcox cc: Waiman Long , Oleg Nesterov , Andrew Morton , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-kernel@vger.kernel.org, linux-mm@kvack.org, selinux@vger.kernel.org, Paul Moore , Stephen Smalley , Eric Paris , "Peter Zijlstra (Intel)" Subject: Re: [PATCH 2/4] signal: Make flush_sigqueue() use free_q to release memory In-Reply-To: <20190325152613.GG10344@bombadil.infradead.org> Message-ID: <01000169b5a35953-18d68249-266d-48a1-bddd-adbecfcc3e9f-000000@email.amazonses.com> References: <20190321214512.11524-1-longman@redhat.com> <20190321214512.11524-3-longman@redhat.com> <20190322015208.GD19508@bombadil.infradead.org> <20190322111642.GA28876@redhat.com> <01000169a686689d-bc18fecd-95e1-4b3e-8cd5-dad1b1c570cc-000000@email.amazonses.com> <93523469-48b0-07c8-54fd-300678af3163@redhat.com> <01000169a6ea5e46-f845b8db-730b-436e-980c-3e4273ad2e34-000000@email.amazonses.com> <20190322195926.GB10344@bombadil.infradead.org> <01000169b534b9e8-31a2af2c-c396-47f9-8534-4cbd934ef09d-000000@email.amazonses.com> <20190325152613.GG10344@bombadil.infradead.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2019.03.25-54.240.9.92 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Mar 2019, Matthew Wilcox wrote: > Options: > > 1. Dispense with this optimisation and always store the size of the > object before the object. I think thats how SLOB handled it at some point in the past. Lets go back to that setup so its compatible with the other allocators?