public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Zach Brown <zach.brown@oracle.com>
To: linux-kernel@vger.kernel.org
Cc: Jens Axboe <axboe@suse.de>
Subject: setting task->ioprio from a kernel thread
Date: Mon, 25 Jul 2005 21:31:24 -0700	[thread overview]
Message-ID: <42E5BC9C.8060803@oracle.com> (raw)


In OCFS2 there is currently an in-kernel heartbeat thread that really 
wants to communicate liveness to other nodes as quickly as possible by 
writing to a block device.  Setting aside the specific wisdom of a 
kernel heartbeat thread for a bit, has it been considered that kernel 
threads might want to set their io priority with the task->ioprio bits? 
  Neither set_task_ioprio() nor sys_ioprio_set() seem to be accessible 
to modules and open-coding it is clearly a bad idea.  Would the universe 
be opposed to a _GPL() export of, say, the sys_() interface?

- z

             reply	other threads:[~2005-07-26  4:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-26  4:31 Zach Brown [this message]
2005-07-29  7:36 ` setting task->ioprio from a kernel thread Jens Axboe

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=42E5BC9C.8060803@oracle.com \
    --to=zach.brown@oracle.com \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /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