Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
> int
> linux_sys_sched_setparam(struct lwp *l, const struct
> linux_sys_sched_setparam_args *uap, register_t *retval)
> {
> + error = sched_linux2native(LINUX_SCHED_OTHER, &lp, &policy, &sp);
> + if (error)
> + goto out;
>
> - return 0;
> + error = do_sched_setparam(SCARG(uap, pid), 0, policy, &sp);
> + if (error)
> + goto out;
> +
> + out:
> + return error;
you should use the current policy instead of assuming SCHED_OTHER.
YAMAMOTO Takashi
Home |
Main Index |
Thread Index |
Old Index