Skip to contentSkip to conversation

setting PF_ flags from user space PF_LESS_THROTTLE

DISCUSSION Steve French 2 participants 2 messages Sep 27, 2005 – Sep 28, 2005

lore
Share & tools
lore
#0 lore raw

I wanted to see if PF_LESS_THROTTLE would be helpful for Samba to set(as it is for nfsd, which sets it directly in kernel) to avoid loopback mount hangs when low on memory.

Any idea whether the task flags, in particular PF_LESS_THROTTLE could be set from user space (I did not see an obvious way, short of invoking a new kernel helper, which does not exist, to set it on user space's behalf)?

#1 lore raw
Quoted 9 lines · Steve French

I wanted to see if PF_LESS_THROTTLE would be helpful for Samba to set(as it is for nfsd, which sets it directly in kernel) to avoid loopback mount hangs when low on memory.

Any idea whether the task flags, in particular PF_LESS_THROTTLE could be set from user space (I did not see an obvious way, short of invoking a new kernel helper, which does not exist, to set it on user space's behalf)?

sys_prctl()?