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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 24 Apr 2019 14:35:09 +0300
From:   Mike Rapoport <rppt@...ux.ibm.com>
To:     Anshuman Khandual <anshuman.khandual@....com>
Cc:     Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
        linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] docs/vm: add documentation of memory models

On Wed, Apr 24, 2019 at 04:20:02PM +0530, Anshuman Khandual wrote:
> 
> 
> On 04/24/2019 03:58 PM, Mike Rapoport wrote:
> > +To use vmemmap, an architecture has to reserve a range of virtual
> > +addresses that will map the physical pages containing the memory
> > +map. and make sure that `vmemmap` points to that range. In addition,
> > +the architecture should implement :c:func:`vmemmap_populate` method
> > +that will allocate the physical memory and create page tables for the
> > +virtual memory map. If an architecture does not have any special
> > +requirements for the vmemmap mappings, it can use default
> > +:c:func:`vmemmap_populate_basepages` provided by the generic memory
> > +management.
> 
> Just to complete it, could you also include struct vmem_altmap and how it
> can contribute towards the physical backing for vmemmap virtual mapping.
> Otherwise the write up looks complete.

Sure, but I'd prefer having it as a separate patch. 

-- 
Sincerely yours,
Mike.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ