Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3681886pxa; Sun, 9 Aug 2020 08:12:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzolvEGX6jMHcV6Zx8IRkT+cShYDwnpf+4dUpnldcSkmUKbdAZcUy4pZ8w0NJHFuRlsbQ1d X-Received: by 2002:a05:6402:847:: with SMTP id b7mr17945553edz.39.1596985942969; Sun, 09 Aug 2020 08:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596985942; cv=none; d=google.com; s=arc-20160816; b=TrLH3Zt4ABhmYZ1mrLj5fWznVJrODGp5tMpzfcZmCV+HMQSmQPwA3fBubxxQ5gyI88 LIZxbs+R8jcMbixPt4O6Mg/mtwAlsJIyYR4NPMJeGRQBP61MDlDv0yCHqy/SSRlpo/63 6ZJ3UfCKUqB9rTOFxvCVf1rtfT1h+NDdtpKsOnszvzaz9maaBvElNmjGwsGMKlFiWVMH lHiFvF1LRCLDnsr/PCLC8kHK394gRMde06tXbo0Z00WmxFNCu45toypKI1RgtHiJ2qSz wPj8bIVPENpKCinlU/1YCpBUDdOUDVSG5v9pn6Du+dtfW1xm05HEiDP4sTry9PiGjtPp Xb1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tk3U73URR05lkh2ICGJjJ/tKPSgnTaTWlg1TLB6sub0=; b=u4jTIon5blUJHKRCzUzQjI/sGHrwnAWZNmvxnS/fG23fnJZ0gbigcIMrMXU8rP9qQP Q5ZwSvs1WqEJgRlgPtr2S4NC2Ymz3+sD6KpikzssIPSoi4X9ab+Wf/fL6eSzK7Pf/whT NJRq+GUB2pwRfTWEve+gxBX9LVwFISRwfgvu8jXRwGd8bGzVawUw9YKXquBXmubaL5e0 SuzAac+0Zi4NVRvfTrifdOBuiG1Pmw1Pau3+I7yBxWFukiWW/xxnH8ljN+/E2QJuVrk2 zcwVxJsfPgv4+n7jHl1a92tFfTWDG1KMEiGinBq9QjW0IMSgZWKw7GMJc2ju3aQrhm8r qLZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YQ6dYle3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si10157404ejx.85.2020.08.09.08.11.58; Sun, 09 Aug 2020 08:12:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YQ6dYle3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726241AbgHIPK0 (ORCPT + 99 others); Sun, 9 Aug 2020 11:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbgHIPKV (ORCPT ); Sun, 9 Aug 2020 11:10:21 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF40DC061756 for ; Sun, 9 Aug 2020 08:10:19 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id n4so3047474vsl.10 for ; Sun, 09 Aug 2020 08:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tk3U73URR05lkh2ICGJjJ/tKPSgnTaTWlg1TLB6sub0=; b=YQ6dYle3zzGv2KDt0bQ3nieuGAXW5cvBGy/K/L0sYBQFK//6nRoiHX9X32W7xDgOMF XzNG/T1r83a+yuQ6IkDzJhuJrHTfJQd1KSYaNN61BEzYAaQstXuPvJ8B/Pjz+M9cs4TL EnTgrC9Fd7BuYprSMKmYqonO4tSyKiDQeHf4UGwBrLE1/RTBrUYnZTe9qxFNqAWVLoGO YCgWkKTjZgA4v4VnsZufQwuWlX+G7EdDlb4JEEykjLOYBpuR96rm81Ey32/EOdIIt80G tH3ZfmWGeWuo2Q8ktOyNtGWC2TpBbQUTEECcKjroqCPhHUWKQ4/YOJlU7FDLwvfB82nf u40g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tk3U73URR05lkh2ICGJjJ/tKPSgnTaTWlg1TLB6sub0=; b=oJ4NeeXCnbNVw+J32GyN911bRvN2NQHmzPeLaJucR1DnmUX3y7B+CuNFPH/P4P6b8H zbAVzHQ0/JQP2A0hthwizi3Np63AvGqf3UPg0Q+FyLcYZY9AQXRZ/JVY6c1u4JXMqYU/ RE/yBlB/vHo45XsB0DtdQNV/o6bRG7dTUtRao+wWXlZ9w9A5cAhy2xM47NSb50TvSSga gzteGL/Qyc3VEKxOzErTExxz10HZxUS2RtsBgcanACu7LvurSgNgXOZ8VVCzxEvOdC9w GS6rZCs/LIraevzMa9PT/pxWGn8cb/IvzcA3fQAeTZT6wmheHRihaVuGsbrT5NMZ4ctx sg5w== X-Gm-Message-State: AOAM531zBI2kqqbjXGPU+zzOiqfy6iKZMbESkcVxacv3qvGzQmTH3GfC 3erwxz5fQCnOfxdPxJFfdb1P7EZxJ3VfbMNNN973RU6AmYQ= X-Received: by 2002:a67:fe15:: with SMTP id l21mr16216028vsr.78.1596985813241; Sun, 09 Aug 2020 08:10:13 -0700 (PDT) MIME-Version: 1.0 References: <20200807200957.1269454-1-jim.cromie@gmail.com> <20200807200957.1269454-4-jim.cromie@gmail.com> <7e5c90bf-eb04-4b63-2990-7be18e22664f@infradead.org> In-Reply-To: <7e5c90bf-eb04-4b63-2990-7be18e22664f@infradead.org> From: jim.cromie@gmail.com Date: Sun, 9 Aug 2020 09:09:46 -0600 Message-ID: Subject: Re: [PATCH 3/7] dyndbg: select ZPOOL in Kconfig.debug To: Randy Dunlap Cc: Jason Baron , LKML , Andrew Morton , Changbin Du , Masahiro Yamada , Shuah Khan , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 8, 2020 at 11:06 PM Randy Dunlap wrote: > > On 8/7/20 1:09 PM, Jim Cromie wrote: > > dyndbg will next need zs_malloc and friends, so add config reqs now, > > to avoid touching make-deps late in a patch-set. > > > > I used select in order not to hide dyndbg inadvertently. > > I want to say recommends, since it could be an optional feature. > > Whats the best way ? > > Hi Jim, > Can you elaborate on what/why/when it could be an optional feature? > hi Randy, I dont think making it optional adds any real value. if ZPOOL/ZRAM/ZSWAP is not included, we dont get any of that sweet sweet compression. or the off-lining of >1/2 the memory. I've got 46 callsites enabled atm, which is more than average, ~3100 callsites offlined. This is the payoff for the added complexity and memory (the site pointer) fwiw, Im not entirely clear on which of ZPOOL/ZRAM/ZSWAP is the correct dependency/ies. ZSWAP feels like the best destination for the data, especially if the data can be pushed aggressively into it.