Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1623172
| From | Matthew Wilcox <willy@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC] Re: Costless huge virtual memory? /dev/same, /dev/null? |
| Date | 2017-04-13 18:40 +0200 |
| Message-ID | <tvPWN-5wS-15@gated-at.bofh.it> (permalink) |
| References | <r7yRR-5oO-35@gated-at.bofh.it> <tvJy1-14D-11@gated-at.bofh.it> <tvPWN-5wS-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Apr 13, 2017 at 06:29:46PM +0200, Samuel Thibault wrote: > (Ideally we'd be able to take the MAP_HUGETLB mmap flag into account to > map a single huge page repeatedly, even lowering the populating cost, > but AIUI of the current hugepage support it would be far from easy) You could implement ->map_pages instead of (or as well as) ->fault, which would lower your costs if that is a concern. I think the eventual intent is that map_pages would be able to populate a PMD or even a PUD.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC] Re: Costless huge virtual memory? /dev/same, /dev/null? Samuel Thibault <samuel.thibault@ens-lyon.org> - 2017-04-13 11:50 +0200
Re: [RFC] Re: Costless huge virtual memory? /dev/same, /dev/null? Samuel Thibault <samuel.thibault@ens-lyon.org> - 2017-04-13 18:40 +0200
Re: [RFC] Re: Costless huge virtual memory? /dev/same, /dev/null? Matthew Wilcox <willy@infradead.org> - 2017-04-13 18:40 +0200
Re: [RFC] Re: Costless huge virtual memory? /dev/same, /dev/null? Samuel Thibault <samuel.thibault@ens-lyon.org> - 2017-04-13 19:10 +0200
Re: [RFC] Re: Costless huge virtual memory? /dev/same, /dev/null? Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-13 20:40 +0200
Re: [RFC] Re: Costless huge virtual memory? /dev/same, /dev/null? Samuel Thibault <samuel.thibault@ens-lyon.org> - 2017-04-13 20:50 +0200
csiph-web