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]
Date:   Wed, 15 Jun 2022 04:22:34 -0700
From:   Christoph Hellwig <hch@...radead.org>
To:     liubo <liubo254@...wei.com>
Cc:     akpm@...ux-foundation.org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, ying.huang@...el.com,
        willy@...radead.org, vbabka@...e.cz, surenb@...gle.com,
        peterx@...hat.com, neilb@...e.de, naoya.horiguchi@....com,
        minchan@...nel.org, linmiaohe@...wei.com, louhongxiang@...wei.com,
        linfeilong@...wei.com
Subject: Re: [PATCH v2 2/2] mm/swapfile: release swap info when swap device
 is unpluged

Sorry, but this is simply broken.  We can't just do d_path magic
here.  That being said the problem is real, and I think the right
answer is to offer a swapoff variant that doesn't need to open the
underlying device or file, but useѕ some kind of handle.  I'm just
not sure what would be a good handle here.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ