On 07/20/2015 04:20 PM, Kirill A. Shutemov wrote:
> We're going to allow mapping of individual 4k pages of THP compound
> page. It means we cannot rely on PageTransHuge() check to decide if
> map/unmap small page or THP.
> 
> The patch adds new argument to rmap functions to indicate whether we want
> to operate on whole compound page or only the small page.
> 
> Signed-off-by: Kirill A. Shutemov <[email protected]>
> Tested-by: Sasha Levin <[email protected]>
> Tested-by: Aneesh Kumar K.V <[email protected]>
> Acked-by: Vlastimil Babka <[email protected]>

Acked-by: Jerome Marchand <[email protected]>

> ---
>  include/linux/rmap.h    | 12 +++++++++---
>  kernel/events/uprobes.c |  4 ++--
>  mm/huge_memory.c        | 16 ++++++++--------
>  mm/hugetlb.c            |  4 ++--
>  mm/ksm.c                |  4 ++--
>  mm/memory.c             | 14 +++++++-------
>  mm/migrate.c            |  8 ++++----
>  mm/rmap.c               | 48 +++++++++++++++++++++++++++++++-----------------
>  mm/swapfile.c           |  4 ++--
>  mm/userfaultfd.c        |  2 +-
>  10 files changed, 68 insertions(+), 48 deletions(-)


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to