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


Groups > linux.kernel > #1456145 > unrolled thread

A question about transparent hugepages

Started byzhong jiang <zhongjiang@huawei.com>
First post2016-08-04 06:10 +0200
Last post2016-08-04 11:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  A question about transparent hugepages zhong jiang <zhongjiang@huawei.com> - 2016-08-04 06:10 +0200
    Re: A question about transparent hugepages "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-08-04 11:20 +0200

#1456145 — A question about transparent hugepages

Fromzhong jiang <zhongjiang@huawei.com>
Date2016-08-04 06:10 +0200
SubjectA question about transparent hugepages
Message-ID<s2i8N-3PY-1@gated-at.bofh.it>
according to the total_mapcount,  Different process can map any subpages of the
transparent hugepages.   How it can happen to ? 

[toc] | [next] | [standalone]


#1456232

From"Kirill A. Shutemov" <kirill@shutemov.name>
Date2016-08-04 11:20 +0200
Message-ID<s2mYN-6W6-9@gated-at.bofh.it>
In reply to#1456145
On Thu, Aug 04, 2016 at 12:02:29PM +0800, zhong jiang wrote:
> according to the total_mapcount,  Different process can map any subpages of the
> transparent hugepages.   How it can happen to ? 

For anonymous memory it can only happen over copy-on-write via fork() +
munmap() or something in one of the processes.

Now we have tmpfs/shmem with huge pages in mainline. In this case you can
map any subpage directly from file.

-- 
 Kirill A. Shutemov

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web