Re: [RFC PATCH 1/5] hugetlb: add hugetlb helpers for soft dirty support

2021-02-24 Thread Gerald Schaefer
On Wed, 24 Feb 2021 17:46:08 +0100 Gerald Schaefer wrote: [...] > Then we fundamentally changed the way how we deal with that "hugetlb code > is treating pmds as ptes" issue. Instead of caring about that in all > huge_pte_xxx primitives, huge_ptep_get() will now return a nicely faked pte > for s3

Re: [RFC PATCH 1/5] hugetlb: add hugetlb helpers for soft dirty support

2021-02-24 Thread Gerald Schaefer
On Wed, 17 Feb 2021 11:24:15 -0500 Peter Xu wrote: > On Wed, Feb 10, 2021 at 04:03:18PM -0800, Mike Kravetz wrote: > > Add interfaces to set and clear soft dirty in hugetlb ptes. Make > > hugetlb interfaces needed for /proc clear_refs available outside > > hugetlb.c. > > > > arch/s390 has it's

Re: [RFC PATCH 1/5] hugetlb: add hugetlb helpers for soft dirty support

2021-02-18 Thread Mike Kravetz
On 2/17/21 8:24 AM, Peter Xu wrote: > On Wed, Feb 10, 2021 at 04:03:18PM -0800, Mike Kravetz wrote: >> Add interfaces to set and clear soft dirty in hugetlb ptes. Make >> hugetlb interfaces needed for /proc clear_refs available outside >> hugetlb.c. >> >> arch/s390 has it's own version of most rou

Re: [RFC PATCH 1/5] hugetlb: add hugetlb helpers for soft dirty support

2021-02-17 Thread Peter Xu
On Wed, Feb 10, 2021 at 04:03:18PM -0800, Mike Kravetz wrote: > Add interfaces to set and clear soft dirty in hugetlb ptes. Make > hugetlb interfaces needed for /proc clear_refs available outside > hugetlb.c. > > arch/s390 has it's own version of most routines in asm-generic/hugetlb.h, > so add n

[RFC PATCH 1/5] hugetlb: add hugetlb helpers for soft dirty support

2021-02-10 Thread Mike Kravetz
Add interfaces to set and clear soft dirty in hugetlb ptes. Make hugetlb interfaces needed for /proc clear_refs available outside hugetlb.c. arch/s390 has it's own version of most routines in asm-generic/hugetlb.h, so add new routines there as well. Signed-off-by: Mike Kravetz --- arch/s390/in