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: <20201204102558.31607-1-osalvador@suse.de>
Date:   Fri,  4 Dec 2020 11:25:55 +0100
From:   Oscar Salvador <osalvador@...e.de>
To:     akpm@...ux-foundation.org
Cc:     n-horiguchi@...jp.nec.com, vbabka@...e.cz, qcai@...hat.com,
        linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        Oscar Salvador <osalvador@...e.de>
Subject: [PATCH v2 0/3] HWPoison: Refactor get page interface

Ok, this is v2.
I left out the MF_COUNT_INCREASED changes as we need to have the
pages pinned when coming from madvise, otherwise we might be messing
with a page which belongs to someone else.

I ran several tests [1] [2] to make sure nothing is broken.

 @Andrew: Please, remove [3] from mmotm and linux-next and replace it
          with this one.

Thanks

[1] https://github.com/Naoya-Horiguchi/mm_regression
[2] https://e.coding.net/cailca/linux/mm
[3] https://patchwork.kernel.org/project/linux-mm/cover/20201119105716.5962-1-osalvador@suse.de/

V1 -> V2:
 - Adressed feedback from Vlastimil
 - Add Acked-by from Vlastimil

Oscar Salvador (3):
  mm,hwpoison: Refactor get_any_page
  mm,hwpoison: Disable pcplists before grabbing a refcount
  mm,hwpoison: Remove drain_all_pages from shake_page

 mm/memory-failure.c | 168 +++++++++++++++++++-------------------------
 1 file changed, 74 insertions(+), 94 deletions(-)

-- 
2.26.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ