Re: x86: vmalloc and THP

Kirill A. Shutemov
2014-08-12T21:41:15Z

On Tue, Aug 12, 2014 at 07:20:52PM +0300, Oren Twaig wrote:
> >What's the point to use vmalloc() in this case?
> I've noticed that some lock/s are using linear addresses which are
> located at 0xffffc901922b4500 and from what I understand
> from mm.txt (kernel 3.0.101):
> *ffffc90000000000 - ffffe8ffffffffff (=45 bits) vmalloc/ioremap space
>
> *So I'm not sure who/how/why this lock got allocated there, but obviously
> it is using that linear set. No ?

It would be nice to know what lock it was, but nothing is inherently wrong
with lock in vmalloc space.