Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1335255
| From | "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv2 17/28] thp: skip file huge pmd on copy_huge_pmd() |
| Date | 2016-02-16 11:20 +0100 |
| Message-ID | <r2KTF-6wn-33@gated-at.bofh.it> (permalink) |
| References | <r10pQ-1zg-3@gated-at.bofh.it> <r10pQ-1zg-19@gated-at.bofh.it> <r1qX0-2kB-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Feb 12, 2016 at 10:42:09AM -0800, Dave Hansen wrote: > On 02/11/2016 06:21 AM, Kirill A. Shutemov wrote: > > File pmds can be safely skip on copy_huge_pmd(), we can re-fault them > > later. COW for file mappings handled on pte level. > > Is this different from 4k pages? I figured we might skip copying > file-backed ptes on fork, but I couldn't find the code. Currently, we only filter out on per-VMA basis. See first comment in copy_page_range(). Here we handle PMD mapped file pages in COW mapping. File THP can be mapped into COW mapping as result of read page fault. -- Kirill A. Shutemov
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHv2 17/28] thp: skip file huge pmd on copy_huge_pmd() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-02-11 15:30 +0100
Re: [PATCHv2 17/28] thp: skip file huge pmd on copy_huge_pmd() Dave Hansen <dave.hansen@intel.com> - 2016-02-12 19:50 +0100
Re: [PATCHv2 17/28] thp: skip file huge pmd on copy_huge_pmd() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-02-16 11:20 +0100
Re: [PATCHv2 17/28] thp: skip file huge pmd on copy_huge_pmd() Dave Hansen <dave.hansen@intel.com> - 2016-02-16 16:50 +0100
Re: [PATCHv2 17/28] thp: skip file huge pmd on copy_huge_pmd() "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-02-18 13:50 +0100
csiph-web