* setting PF_ flags from user space PF_LESS_THROTTLE
@ 2005-09-27 22:01 Steve French
2005-09-28 6:49 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Steve French @ 2005-09-27 22:01 UTC (permalink / raw)
To: linux-kernel
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)?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: setting PF_ flags from user space PF_LESS_THROTTLE
2005-09-27 22:01 setting PF_ flags from user space PF_LESS_THROTTLE Steve French
@ 2005-09-28 6:49 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-09-28 6:49 UTC (permalink / raw)
To: Steve French; +Cc: linux-kernel
Steve French <smfltc@us.ibm.com> wrote:
>
> 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()?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-28 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27 22:01 setting PF_ flags from user space PF_LESS_THROTTLE Steve French
2005-09-28 6:49 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®