public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* exporting task_nice in O(1)-sched
@ 2002-04-23 15:27 J.A. Magallon
  2002-04-23 17:15 ` Robert Love
  0 siblings, 1 reply; 3+ messages in thread
From: J.A. Magallon @ 2002-04-23 15:27 UTC (permalink / raw)
  To: Lista Linux-Kernel; +Cc: Robert Love

Hi.

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 ?

Patch:

--- linux/kernel/ksyms.c.org	2002-04-23 16:56:27.000000000 +0200
+++ linux/kernel/ksyms.c	2002-04-23 16:56:47.000000000 +0200
@@ -455,6 +455,7 @@
 EXPORT_SYMBOL(schedule_timeout);
 EXPORT_SYMBOL(sys_sched_yield);
 EXPORT_SYMBOL(set_user_nice);
+EXPORT_SYMBOL(task_nice);
 #ifdef CONFIG_SMP
 EXPORT_SYMBOL_GPL(set_cpus_allowed);
 #endif

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre7-jam6 #2 SMP mar abr 23 16:56:56 CEST 2002 i686

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-23 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-23 15:27 exporting task_nice in O(1)-sched J.A. Magallon
2002-04-23 17:15 ` Robert Love
2002-04-23 16:51   ` Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox