Re: [LSF/MM/BPF TOPIC] Restricted kernel address spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 17, 2020 at 01:34:57PM +0300, Kirill A. Shutemov wrote:
> On Sun, Feb 16, 2020 at 08:35:04AM +0200, Mike Rapoport wrote:
> > > BTW, with clarified scope of the AMD Erratum, I believe we can implement
> > > "collapse" for direct mapping. Willing to try?
> >  
> > My initial plan was to use a pool of large pages to satisfy "secret"
> > allocation requests. Whenever a new large page is allocated for that pool,
> > it's removed from the direct map without being split into small pages and
> > then when it would be reinstated back there would be no need to collapse
> > it. 
> 
> It might be okay. But you likely will have to split 1G pages in direct
> mapping into 2M.

Right, it is quite likely, at least for the dynamic allocations.

> Being able to repare the direct mapping is more generally
> useful.

And it's not strictly related to the "secret" memory. I'll try to have a
look at it.

 
> -- 
>  Kirill A. Shutemov

-- 
Sincerely yours,
Mike.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux