linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J.A. Magallon" <jamagallon@able.es>
To: Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Cc: Robert Love <rml@tech9.net>
Subject: exporting task_nice in O(1)-sched
Date: Tue, 23 Apr 2002 17:27:49 +0200	[thread overview]
Message-ID: <20020423152749.GC1697@werewolf.able.es> (raw)

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

             reply	other threads:[~2002-04-23 15:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-23 15:27 J.A. Magallon [this message]
2002-04-23 17:15 ` exporting task_nice in O(1)-sched Robert Love
2002-04-23 16:51   ` Chris Friesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020423152749.GC1697@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@tech9.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).