Re: exporting task_nice in O(1)-sched

From: Chris Friesen (cfriesen@nortelnetworks.com)
Date: Tue Apr 23 2002 - 11:51:48 EST


Robert Love wrote:
>
> On Tue, 2002-04-23 at 11:27, J.A. Magallon wrote:
>
> > Found this building bproc. New O(1) scheduler kills the nice field in
> > task struct. It gives a way to fix the niceness (set_user_nice()), but
> > the funtion to _query_ is not exported. Any particular reason ?
>
> Probably because Ingo intended to hide as many interfaces to the
> scheduler as possible and only export those symbols that were needed.
>
> It is safe to export if it is needed.

Seems kind of silly to be able to set it but not read it...

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:35 EST