Re: [PATCH] mm: split thp synchronously on MADV_DONTNEED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 23, 2021 at 8:57 AM David Hildenbrand <david@xxxxxxxxxx> wrote:
>
[...]
> >>
> >> I do wonder which these locking contexts are exactly, and if we could
> >> also do the same thing on ordinary munmap -- because I assume it can be
> >> similarly problematic for some applications.
> >
> > This is a good question regarding munmap. One main difference is
> > munmap takes mmap_lock in write mode and usually performance critical
> > applications avoid such operations.
>
> Maybe we can extend it too most page zapping, if that makes things simpler.
>

Do you mean doing sync THP split for most of page zapping functions
(but only if that makes things simpler)?




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux