lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160804091601.GA12395@node.shutemov.name>
Date:	Thu, 4 Aug 2016 12:16:01 +0300
From:	"Kirill A. Shutemov" <kirill@...temov.name>
To:	zhong jiang <zhongjiang@...wei.com>
Cc:	kirill.shutemov@...ux.intel.com, Mel Gorman <mgorman@...e.de>,
	Michal Hocko <mhocko@...e.cz>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: A question about transparent hugepages

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ