From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F8C0C433DB for ; Tue, 26 Jan 2021 00:14:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A929F22597 for ; Tue, 26 Jan 2021 00:14:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A929F22597 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CF7458D0060; Mon, 25 Jan 2021 19:14:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C80EB8D0059; Mon, 25 Jan 2021 19:14:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B70788D0060; Mon, 25 Jan 2021 19:14:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 9E4A48D0059 for ; Mon, 25 Jan 2021 19:14:13 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 5E9D7181AEF3E for ; Tue, 26 Jan 2021 00:14:13 +0000 (UTC) X-FDA: 77746003986.11.limit68_5b02c3a2758a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin11.hostedemail.com (Postfix) with ESMTP id 3F501180F8B82 for ; Tue, 26 Jan 2021 00:14:13 +0000 (UTC) X-HE-Tag: limit68_5b02c3a2758a X-Filterd-Recvd-Size: 4274 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by imf13.hostedemail.com (Postfix) with ESMTP for ; Tue, 26 Jan 2021 00:14:12 +0000 (UTC) Received: by mail-wm1-f50.google.com with SMTP id s24so586110wmj.0 for ; Mon, 25 Jan 2021 16:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Vz7Wx3SXxaN+HsWZGzhnHFVDxGZAroM2JwH4bW0nEhM=; b=WulKks/yUSJwwUol1tm6wB9TJkukXvTYKvdB2ceQgXomgHQMSU12Q0ukxoGukdPNr8 HGAjlTfWtd5HvJzNWyfyy0crd2HH+/syiXerMgHWpnjKX2vL/MjmxngjAkb9Ff2XGB5O 2/Kvk7D9kj7xdMH5EBWmOi+BQjBDhtTEW1Gfpa+yh52P9hNpbK7Lr+NmN28rhnuHGel+ dO62MQLsOV4fBk09tq1r4tc2zrJUdUMA+jCyQbkJYdTVuaGSVsKAM9Ytr4Ozzu8qwh3t JdPEfNF7P53HhUk4Nx0zB6G5G3rIGu1xvUCi6Vt61QOVMpU8sH7py/rv4XF0bp+yCvWD rXZg== 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=Vz7Wx3SXxaN+HsWZGzhnHFVDxGZAroM2JwH4bW0nEhM=; b=X9LUtRoikDilG/n7orSSAeDLRBjSNqfb60K+Qz8tzLNzRVBnlI8U8YnXiG/JLTH4tu Z4us2NMPR4GzlQAl0UI1MY+6hwajjtW6Ovkx0SeiOLzapgoJL1N097Qtc2Pl6glTOr0+ 6XxA+PUzjZgaxpsy1PldNlV5oWW8AwS0hD6dt3pHIg/esCL5IapS0fK6B/IutoaUVGbG 3bo0ZXTUi5lgsRP2dIEhJgiUqL0s670S8lAecEZWGAiULmHZc4bFaolcZXwJ13uqzywp fTWKzxDlNmfwlYthcFZeENlF6+Ys+50dumP79afZHI7MfJHFJ1IxFwhuPyzMbws06zZ9 Le5w== X-Gm-Message-State: AOAM531L+4VUBEWIj33OEitDaeQkhDos1aIU32Yb6c+GxT/T5FQjp1kq dz4x0HFcvrdA8mbQYJl8f4oj+eli9QIE2MPIRH7e/g== X-Google-Smtp-Source: ABdhPJytUOFxylJO9GQfWCZxkgmC08Bcn5+HCLBHOxR+Vvj6poU2sA/tL72vkNkKpaNCAmBDljbV4s4UOoZM8sJO7UI= X-Received: by 2002:a1c:7906:: with SMTP id l6mr2247505wme.22.1611620051415; Mon, 25 Jan 2021 16:14:11 -0800 (PST) MIME-Version: 1.0 References: <20210120202337.1481402-1-surenb@google.com> <20210125131935.GI827@dhcp22.suse.cz> In-Reply-To: <20210125131935.GI827@dhcp22.suse.cz> From: Suren Baghdasaryan Date: Mon, 25 Jan 2021 16:14:00 -0800 Message-ID: Subject: Re: [PATCH 1/1] process_madvise.2: Add process_madvise man page To: Michal Hocko Cc: linux-man@vger.kernel.org, Andrew Morton , Jann Horn , Kees Cook , Jeffrey Vander Stoep , Minchan Kim , Shakeel Butt , David Rientjes , =?UTF-8?Q?Edgar_Arriaga_Garc=C3=ADa?= , Tim Murray , linux-mm , SElinux list , linux-security-module , Linux API , LKML , kernel-team Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Jan 25, 2021 at 5:19 AM 'Michal Hocko' via kernel-team wrote: > > On Wed 20-01-21 12:23:37, Suren Baghdasaryan wrote: > [...] > > MADV_COLD (since Linux 5.4.1) > > Deactivate a given range of pages by moving them from active to > > inactive LRU list. This is done to accelerate the reclaim of these > > pages. The advice might be ignored for some pages in the range when it > > is not applicable. > > I do not think we want to talk about active/inactive LRU lists here. > Wouldn't it be sufficient to say > Deactive a given range of pages which will make them a more probable > reclaim target should there be a memory pressure. This is a > non-destructive operation. That sounds better. Will update in the next version. > > Other than that, looks good to me from the content POV. > > Thanks! Thanks for the review Michal! > -- > Michal Hocko > SUSE Labs > > -- > To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe@android.com. >