lkml.org 
[lkml]   [2021]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [External] [PATCH 0/2] Track reserve map changes to restore on error
On Wed, May 26, 2021 at 7:31 AM Mike Kravetz <mike.kravetz@oracle.com> wrote:
>
> Here is a modification to the reservation tracking for fixup on errors.
> It is a more general change, but should work for the hugetlb_mcopy_pte_atomic
> case as well.
>
> Perhaps use this as a prerequisite for your fix(es)? Pretty sure this
> will eliminate the need for the call to hugetlb_unreserve_pages.

Hi Mike,

It seems like someone is fixing a bug, right? Maybe a link should be
placed in the cover letter so that someone can know what issue
we are facing.

Thanks.

>
> Mike Kravetz (2):
> hugetlb: rename HPageRestoreReserve flag to HPageRestoreRsvCnt
> hugetlb: add new hugetlb specific flag HPG_restore_rsv_map
>
> fs/hugetlbfs/inode.c | 3 +-
> include/linux/hugetlb.h | 17 +++++--
> mm/hugetlb.c | 108 ++++++++++++++++++++++++++++------------
> mm/userfaultfd.c | 14 +++---
> 4 files changed, 99 insertions(+), 43 deletions(-)
>
> --
> 2.31.1
>

\
 
 \ /
  Last update: 2021-05-26 05:21    [W:0.091 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site