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]
Message-ID: <20220509131416.17553-1-linmiaohe@huawei.com>
Date:   Mon, 9 May 2022 21:14:01 +0800
From:   Miaohe Lin <linmiaohe@...wei.com>
To:     <akpm@...ux-foundation.org>
CC:     <willy@...radead.org>, <vbabka@...e.cz>, <dhowells@...hat.com>,
        <neilb@...e.de>, <apopple@...dia.com>, <david@...hat.com>,
        <surenb@...gle.com>, <peterx@...hat.com>,
        <naoya.horiguchi@....com>, <linux-mm@...ck.org>,
        <linux-kernel@...r.kernel.org>, <linmiaohe@...wei.com>
Subject: [PATCH 00/15] A few cleanup patches for swap

Hi everyone,
This series contains a few patches to fix the comment, remove unneeded
return value, use some helpers and so on. More details can be found in
the respective changelogs. Thanks!

Miaohe Lin (15):
  mm/swap: use helper is_swap_pte() in swap_vma_readahead
  mm/swap: use helper macro __ATTR_RW
  mm/swap: fold __swap_info_get() into its sole caller
  mm/swap: remove unneeded return value of free_swap_slot
  mm/swap: print bad swap offset entry in get_swap_device
  mm/swap: remove buggy cache->nr check in refill_swap_slots_cache
  mm/swap: remove unneeded p != NULL check in __swap_duplicate
  mm/swap: make page_swapcount and __lru_add_drain_all
  mm/swap: avoid calling swp_swap_info when try to check
    SWP_STABLE_WRITES
  mm/swap: break the loop if matching device is found
  mm/swap: add helper swap_offset_available()
  mm/swap: fix the obsolete comment for SWP_TYPE_SHIFT
  mm/swap: clean up the comment of find_next_to_unuse
  mm/swap: fix the comment of get_kernel_pages
  mm/swap: fix comment about swap extent

 include/linux/swap.h       | 11 +----
 include/linux/swap_slots.h |  2 +-
 include/linux/swapops.h    |  4 +-
 mm/memory.c                |  2 +-
 mm/swap.c                  |  6 +--
 mm/swap_slots.c            |  6 +--
 mm/swap_state.c            |  8 +---
 mm/swapfile.c              | 86 ++++++++++++++++----------------------
 8 files changed, 50 insertions(+), 75 deletions(-)

-- 
2.23.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ