Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292921 > unrolled thread

Re: [PATCH 6/9] rmap: support file THP

Started by"Kirill A. Shutemov" <kirill@shutemov.name>
First post2015-12-16 13:10 +0100
Last post2015-12-16 13:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 6/9] rmap: support file THP "Kirill A. Shutemov" <kirill@shutemov.name> - 2015-12-16 13:10 +0100

#1292921 — Re: [PATCH 6/9] rmap: support file THP

From"Kirill A. Shutemov" <kirill@shutemov.name>
Date2015-12-16 13:10 +0100
SubjectRe: [PATCH 6/9] rmap: support file THP
Message-ID<qGj45-1Aw-1@gated-at.bofh.it>
On Tue, Dec 01, 2015 at 12:56:13PM -0800, Dave Hansen wrote:
> On 11/18/2015 03:25 PM, Kirill A. Shutemov wrote:
> > -void page_add_file_rmap(struct page *page)
> > +void page_add_file_rmap(struct page *page, bool compound)
> 
> I take it we have to pass 'compound' in explicitly because
> PageCompound() could be true, but we don't want to do a compound
> mapping.  This is true for those weirdo sound driver allocations and a
> few other ones, right?

Right. Also more common case will be PTE-mapped THPs as we have now for
anon-THP.

Basically, we mirror what was done for anon rmap interface.

-- 
 Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web