Thread (48 messages) 48 messages, 5 authors, 2020-10-09

Re: [External] Re: [RFC PATCH 00/24] mm/hugetlb: Free some vmemmap pages of hugetlb page

From: Muchun Song <hidden>
Date: 2020-09-15 22:44:17
Also in: linux-fsdevel, linux-mm, lkml

On Tue, Sep 15, 2020 at 10:32 PM Matthew Wilcox [off-list ref] wrote:
On Tue, Sep 15, 2020 at 08:59:23PM +0800, Muchun Song wrote:
quoted
This patch series will free some vmemmap pages(struct page structures)
associated with each hugetlbpage when preallocated to save memory.
It would be lovely to be able to do this.  Unfortunately, it's completely
impossible right now.  Consider, for example, get_user_pages() called
on the fifth page of a hugetlb page.
Can you elaborate on the problem? Thanks so much.
I've spent a lot of time thinking about this, and there's a lot of work
that needs to happen before we can do this, mostly in device drivers.
Do you want to help?  It's a multi-year project.
Welcome, we can work together.


-- 
Yours,
Muchun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help