first of all i don't have chance to modify the process' code.
the thing mlockall does is exactly what i am trying to do
(at least a part of it).
So your answer is he couldn't know about user-mode so it is not possible.
What if kernel forks that process or somehow its process id is informed
-- - mersan email@example.com firstname.lastname@example.org
LIFE WORTH LIVING WITHOUT YOU?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/