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 - 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/