"mlockall() locks all pages mapped into the address space of the calling process"
How to do it from console for a process tree?
Something like lockall sh -c "read_data | process_data | write_data"
, in style of nice
, ionice
and schedtool -e
.