Re: setting PF_ flags from user space PF_LESS_THROTTLE

From: Andrew Morton
Date: Wed Sep 28 2005 - 01:50:39 EST


Steve French <smfltc@xxxxxxxxxx> 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()?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/