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  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]
Date:   Tue, 6 Oct 2020 19:40:05 -0700
From:   Dan Williams <>
To:     Ralph Campbell <>
Cc:     Linux MM <>,
        linux-xfs <>,
        linux-fsdevel <>,
        linux-nvdimm <>,
        Linux Kernel Mailing List <>,
        linux-ext4 <>,
        Matthew Wilcox <>, Jan Kara <>,
        Alexander Viro <>,
        "Theodore Ts'o" <>, Christoph Hellwig <>,
        Andreas Dilger <>,
        "Darrick J. Wong" <>,
        Andrew Morton <>
Subject: Re: [PATCH] ext4/xfs: add page refcount helper

On Tue, Oct 6, 2020 at 4:09 PM Ralph Campbell <> wrote:
> There are several places where ZONE_DEVICE struct pages assume a reference
> count == 1 means the page is idle and free. Instead of open coding this,
> add a helper function to hide this detail.
> Signed-off-by: Ralph Campbell <>
> Reviewed-by: Christoph Hellwig <>
> ---
> I'm resending this as a separate patch since I think it is ready to
> merge. Originally, this was part of an RFC and is unchanged from v3:
> It applies cleanly to linux-5.9.0-rc7-mm1 but doesn't really
> depend on anything, just simple merge conflicts when applied to
> other trees.
> I'll let the various maintainers decide which tree and when to merge.
> It isn't urgent since it is a clean up patch.

Thanks Ralph, it looks good to me. Jan, or Ted care to ack? I don't
have much else pending for dax at the moment as Andrew is carrying my
dax updates for this cycle. Andrew please take this into -mm if you
get a chance. Otherwise I'll cycle back to it when some other dax
updates arrive in my queue.

Powered by blists - more mailing lists