Thread (10 messages) 10 messages, 3 authors, 2013-01-04

Re: [RFC v4 0/3] Support volatile for anonymous range

From: Arun Sharma <hidden>
Date: 2012-12-18 18:53:10
Also in: lkml

On 12/17/12 10:47 PM, Minchan Kim wrote:
I hope more inputs from user-space allocator people and test patch
with their allocator because it might need design change of arena
management for getting real vaule.
jemalloc knows how to handle MADV_FREE on platforms that support it. 
This looks similar (we'll need a SIGBUS handler that does the right 
thing = zero the page + mark it as non-volatile in the common case).

All of this of course assumes that apps madvise the kernel through APIs 
exposed by the malloc implementation - not via a raw syscall.

In other words, some new user space code needs to be written to test 
this out fully. Sounds feasible though.

  -Arun

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help