[PATCH 4/8] struct page: add field for vm_struct

From
J Freyensee <hidden>
Date
2018-03-14 17:43:37
Also in
linux-mm, lkml
Reply to
Matthew Wilcox, 2018-03-13

On 3/13/18 3:00 PM, Matthew Wilcox wrote:
On Tue, Mar 13, 2018 at 11:45:50PM +0200, Igor Stoppa wrote:
quoted
When a page is used for virtual memory, it is often necessary to obtain
a handler to the corresponding vm_struct, which refers to the virtually
continuous area generated when invoking vmalloc.

The struct page has a "mapping" field, which can be re-used, to store a
pointer to the parent area.

This will avoid more expensive searches, later on.

Signed-off-by: Igor Stoppa <redacted>
Reviewed-by: Matthew Wilcox <redacted>
Igor, do you mind sticking these tags on the files that have spent some 
time reviewing a revision of your patchset (like the Reviewed-by: tags I 
provided last revision?)

Thanks,
Jay


--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (26 messages) 26 messages, 3 authors, last reply 2018-03-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help