Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4096207yba; Wed, 17 Apr 2019 04:39:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3pZ3Vm0/UILiIEI+qdG3CHpRmCZaCX5NUA6m9k5xHp0a07x4Hm/2talWky/O6fJRWM5yH X-Received: by 2002:a17:902:e287:: with SMTP id cf7mr60837073plb.217.1555501140456; Wed, 17 Apr 2019 04:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555501140; cv=none; d=google.com; s=arc-20160816; b=w6CzWW0cEqGrxJ0ZZ7ok8uNMGn+HNaQkKPaZtCyHKSgAtRNm9bJwYcv52INIESz8L6 2o3Qbbx8295GWqUQ2Qfz2Yy0lE2nK0jSEfRIB27aIrp2VAOk0mzfTMHXtdxuuWwJi7RZ D8/IJpYg5YsBmjjKPhsCZ7yzaue5r2PkYYxqcTPmIOy6TU6x4C2kdVJcj+khQMfFZb7A oMUmrWQzqav10SQtUYq6osYUIWcYNjhuY9L1zGrktclerbiRoO/YB2su7zAYCgXVingX yxCDye3Hjg1a2SaIFaJpy+5hM8/cCnc6Oyp7j0hEpSL+zpFi42Qg74ME1uAEtADs1Hjf aVsw== 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=eKzmZNT13+qker03LiNcwHRJhLqfn2RV0qJqGvu7EY4=; b=Kx6nA5A1+GHIkcgwyHHJK3FKU+i5EH93E6t5CZmokywOaazmzAG0sLpccKfGvwzIpd AB15CW/fOc1rv03u1Hyf5vzJB6Bl9tinKK5MqiQau4/9CY3RIpZsRxh9fvcYkyHD3QTc QCQmV1U0vls1JUXa+OX7o1qKMvHxPMnZZx5nWp8HkIsLXQ7abAjjvRFiZUPW52uIRpUi x2S4+QVZtbxW8lnNdupd16h0eqRd3CScPakoUe8v3eEr/57Nt79s7SrqnpzU0C91VYWt 4fGKGZGiSuzWO/cgUXSfvzQA5PSPtTK3e/qyBaWGckWe5YrhWox4VUrLWG069YTA5mES v4EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kMbCFC+e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a192si31743777pge.50.2019.04.17.04.38.44; Wed, 17 Apr 2019 04:39:00 -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=@gmail.com header.s=20161025 header.b=kMbCFC+e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731743AbfDQLge (ORCPT + 99 others); Wed, 17 Apr 2019 07:36:34 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:35164 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbfDQLgd (ORCPT ); Wed, 17 Apr 2019 07:36:33 -0400 Received: by mail-ed1-f65.google.com with SMTP id y67so7399021ede.2 for ; Wed, 17 Apr 2019 04:36:32 -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=eKzmZNT13+qker03LiNcwHRJhLqfn2RV0qJqGvu7EY4=; b=kMbCFC+eUYXJoI5dYtIWxJ5wK3/tha36syWzU3Rv+YAe3oJ6BkXSk74Q3VESpj80dR rwS4k7J7wGEez1GYJIQtaNJcA8/AIEyQMKWheQtXWv5ow8aDkodVTPmMYIqKlv61FFQX 80PmR/Yoddis22cMFJor3N49+ErK3zzL18v3JifdHl06pgVZv3Y90lMwQoeR8omnz3rO 63/jkMGT/TOAn2CeUmPSyGR5c8Sf+pqUna0EBTsd6UTaaYJTkMFUPTXvAnBkqOkUTsIN kXFV1i0kj/vB5ViXpaDufDydMr9N3On2/0gLJCPdeQCZDh3O70/pzzX8ZENA0CXK+mzl rwgQ== 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=eKzmZNT13+qker03LiNcwHRJhLqfn2RV0qJqGvu7EY4=; b=aP8ckk0HGO++KKws3OoHf0uMSr19aflA8pgoxtLbLUzc4PbeQaPLnGkRxPfcJTiu+3 ebpb1M2IAvsSAae5Lqv5wKWVfoUhlORfQdezsp3jmPG0VSFwamR+HlicPikOgPwH57E0 /r+Lnohz6OoO77Kl6zsm4FzlEk/PoKl2TVrbixnn3EEUpnZa7aYXWYtU6AhJTAZbQQ45 8Z5tOuPmGLiMMK4oRih/rqw+9Ut4/G/sdIgmVKBORQN0jjUuV1/nuqPUnlFH4mRlr4Vq oK17BWNxRznl4dgx/PkC35pbzsT/KjzQOQHwixpH98hD7ajBu6PRELUogoTythGt9WY0 QDrQ== X-Gm-Message-State: APjAAAXI2oEjeEfSuwyHPDuP97i+P0MmzVv5OSe/eopc+Z3vbJymY0cv Hddc9YClTEXYGnvtC5nQcVSpT+KnOQRwj6JvvWM= X-Received: by 2002:a50:ac2b:: with SMTP id v40mr19049674edc.54.1555500991965; Wed, 17 Apr 2019 04:36:31 -0700 (PDT) MIME-Version: 1.0 References: <1555487246-15764-1-git-send-email-huangzhaoyang@gmail.com> <20190417110615.GC5878@dhcp22.suse.cz> In-Reply-To: <20190417110615.GC5878@dhcp22.suse.cz> From: Zhaoyang Huang Date: Wed, 17 Apr 2019 19:36:21 +0800 Message-ID: Subject: Re: [RFC PATCH] mm/workingset : judge file page activity via timestamp To: Michal Hocko Cc: Andrew Morton , Vlastimil Babka , Joonsoo Kim , David Rientjes , Zhaoyang Huang , Roman Gushchin , Jeff Layton , "open list:MEMORY MANAGEMENT" , LKML , Pavel Tatashin , Johannes Weiner , Matthew Wilcox 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 sorry for the confusion. What I mean is the basic idea doesn't change as replacing the refault criteria from refault_distance to timestamp. But the detailed implementation changed a lot, including fix bugs, update the way of packing the timestamp, 32bit/64bit differentiation etc. So it makes sense for starting a new context. On Wed, Apr 17, 2019 at 7:06 PM Michal Hocko wrote: > > On Wed 17-04-19 18:55:15, Zhaoyang Huang wrote: > > fix one mailbox and update for some information > > > > Comparing to http://lkml.kernel.org/r/1554348617-12897-1-git-send-email-huangzhaoyang@gmail.com, > > this commit fix the packing order error and add trace_printk for > > reference debug information. > > > > For johannes's comments, please find bellowing for my feedback. > > OK, this suggests there is no strong reason to poset a new version of > the patch then. Please do not fragment discussion and continue > discussing in the original email thread until there is some conclusion > reached. > > Thanks! > -- > Michal Hocko > SUSE Labs