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: <20230112083006.163393-1-wangkefeng.wang@huawei.com>
Date:   Thu, 12 Jan 2023 16:29:59 +0800
From:   Kefeng Wang <wangkefeng.wang@...wei.com>
To:     <akpm@...ux-foundation.org>, <willy@...radead.org>,
        <linux-mm@...ck.org>
CC:     <linux-kernel@...r.kernel.org>,
        Kefeng Wang <wangkefeng.wang@...wei.com>
Subject: [PATCH -next 0/7] mm: remove cgroup_throttle_swaprate() completely

Convert all the caller functions of cgroup_throttle_swaprate() to use
folios, and use folio_throttle_swaprate(),  which allows us to remove
cgroup_throttle_swaprate() completely.

Kefeng Wang (7):
  mm: huge_memory: make __do_huge_pmd_anonymous_page() to take a folio
  mm: memory: convert do_anonymous_page() to use a folio
  mm: memory: convert do_cow_fault to use folios
  mm: memory: convert page_copy_prealloc() to use a folio
  mm: memory: convert wp_page_copy() to use folios
  mm: memory: use folio_throttle_swaprate() in do_swap_page()
  mm: swap: remove unneeded cgroup_throttle_swaprate()

 include/linux/swap.h |  12 ++---
 mm/huge_memory.c     |  23 +++++-----
 mm/memory.c          | 104 +++++++++++++++++++++++--------------------
 mm/swapfile.c        |   4 +-
 4 files changed, 74 insertions(+), 69 deletions(-)

-- 
2.35.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ