i used to work with real operating systems like FreeRTOS and eCos. Now I want to lock a code section in Linux (RT) and I am wondering whats the best way (or) right way to do thi