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-next>] [day] [month] [year] [list]
Date:   Wed, 15 Jun 2022 15:02:26 +0800
From:   liubo <liubo254@...wei.com>
To:     <akpm@...ux-foundation.org>, <linux-mm@...ck.org>,
        <linux-kernel@...r.kernel.org>
CC:     <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>, <liubo254@...wei.com>
Subject: [PATCH v2 0/2] mm/swapfile: release swap info when swap device is unpluged

This series patch try to fix the problem that the resources
corresponding to swap are not effectively released when
the swap partition disk is hot-pluged.

1/2: Extract operations of resource release in the swapoff process.
2/2: release swap info when swap device is unpluged

This is a second version, which addressed some comments:
1. turn first patch into a two patch series. The first does the
code movement with no functional changes and the second does
the actual fix.

---
For v1, see: https://lore.kernel.org/linux-mm/20220528084941.28391-1-liubo254@huawei.com/
---

liubo (2):
  mm/swapfile: Extract operations of resource release in the swapoff
    process
  mm/swapfile: release swap info when swap device is unpluged

 mm/swapfile.c | 261 +++++++++++++++++++++++++++++++++++---------------
 1 file changed, 183 insertions(+), 78 deletions(-)

-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ