Re: [PATCH v5 3/3] fadvise: implement POSIX_FADV_NOREUSE

From
Arun Sharma <hidden>
Date
2012-02-16 18:43:00
Also in
linux-fsdevel, lkml
Reply to
Andrea Righi, 2012-02-16
On 2/16/12 2:39 AM, Andrea Righi wrote:
Arun, thank you very much for your review and testing. Probably we'll
move to a different, memcg-based solution, so I don't think I'll post
another version of this patch set as is. In case, I'll apply one of
the workarounds for the rb_root attribute.
I'm not sure if the proposed memory.file.limit_in_bytes is the right interface. Two problems:

* The user is now required to figure out what is the right amount of page cache for the app (may change over time)

* If the app touches two sets of files, one with streaming access and the other which benefits from page cache (eg: a mapper task in a map reduce), memcg doesn't allow the user to specify the access pattern per-fd.

 -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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Thread (26 messages) 26 messages, 7 authors, last reply 2014-01-02
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