Messages in this thread | | | From | liubo <> | Subject | [PATCH v2 0/2] mm/swapfile: release swap info when swap device is unpluged | Date | Wed, 15 Jun 2022 15:02:26 +0800 |
| |
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
| |