lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bc4cd9b2-327d-199b-6de4-61561b45c661@intel.com>
Date:   Thu, 11 Apr 2019 07:31:00 -0700
From:   Dave Hansen <dave.hansen@...el.com>
To:     Yang Shi <yang.shi@...ux.alibaba.com>, mhocko@...e.com,
        mgorman@...hsingularity.net, riel@...riel.com, hannes@...xchg.org,
        akpm@...ux-foundation.org, keith.busch@...el.com,
        dan.j.williams@...el.com, fengguang.wu@...el.com, fan.du@...el.com,
        ying.huang@...el.com, ziy@...dia.com
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [v2 PATCH 5/9] mm: vmscan: demote anon DRAM pages to PMEM node

On 4/10/19 8:56 PM, Yang Shi wrote:
>  include/linux/gfp.h            |  12 ++++
>  include/linux/migrate.h        |   1 +
>  include/trace/events/migrate.h |   3 +-
>  mm/debug.c                     |   1 +
>  mm/internal.h                  |  13 +++++
>  mm/migrate.c                   |  15 ++++-
>  mm/vmscan.c                    | 127 +++++++++++++++++++++++++++++++++++------
>  7 files changed, 149 insertions(+), 23 deletions(-)

Yikes, that's a lot of code.

And it only handles anonymous pages?

Also, I don't see anything in the code tying this to strictly demote
from DRAM to PMEM.  Is that the end effect, or is it really implemented
that way and I missed it?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ