Re: [PATCH v3] mm/page_owner: use kvmalloc instead of kmalloc

From: Michal Hocko
Date: Tue Oct 30 2018 - 04:15:42 EST


On Tue 30-10-18 14:55:51, Miles Chen wrote:
[...]
> It's a real problem when using page_owner.
> I found this issue recently: I'm not able to read page_owner information
> during a overnight test. (error: read failed: Out of memory). I replace
> kmalloc() with vmalloc() and it worked well.

Is this with trimming the allocation to a single page and doing shorter
than requested reads?
--
Michal Hocko
SUSE Labs