lkml.org 
[lkml]   [2014]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: vmalloc and THP
On Tue, Aug 12, 2014 at 08:00:54AM +0300, Oren Twaig wrote:
> <html style="direction: ltr;">

plain/text, please.

>Hello,
>
>Does memory allocated using vmalloc() will be mapped using huge
>pages either directly or later by THP ?

No. It's neither aligned properly, nor physically contiguous.

>If not, is there any fast way to change this behavior ? Maybe by
>changing the granularity/alignment of such allocations to allow such
>mapping ?

What's the point to use vmalloc() in this case?

--
Kirill A. Shutemov


\
 
 \ /
  Last update: 2014-08-12 08:21    [W:0.038 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site