Hi, never mind, my RTT of 2 weeks doesn't look like very short too :).
BTW this capable() has the exactly same problem with being called with
task_lock held. Is it OK to move it completely out of critical section?
I'm asking because it sets a current->flags SU bit used for accounting.
If I move it out of the section, it will set the bit always.
But does so only if current limits are different to the new ones. My
opinion is that we can ignore it anyway.
Makes sense to me.
Sorry I can't see it. Could you point out in which function this is done?