ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Anton D. Kachalov" <mouse@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Q: bdflush knock-out?
Date: Wed, 2 Feb 2005 14:51:35 +0300
Message-ID: <20050202115134.GC22593@lrn.ru> (raw)
In-Reply-To: <20050131190925.GB29349@lrn.ru>

On Mon, Jan 31, 2005 at 10:09:25PM +0300, Anton D. Kachalov wrote:
> А может нам уже пора выкинуть тулзу, которой уже 10 лет и которая
> использовалась ещё в ядрах 1.2?

для ядрa 2.4
fs/buffer.c:
long sys_bdflush(int func, long data)
{
  ...
  if (func == 1) {
  	/* do_exit directly and let kupdate to do its work alone. */
	do_exit(0);
	...
  }
}

для ядра 2.6
/*
 * There are no bdflush tunables left.  But distributions are
 * still running obsolete flush daemons, so we terminate them here.
 *
 * Use of bdflush() is deprecated and will be removed in a future kernel.
 * The `pdflush' kernel threads fully replace bdflush daemons and this call.
 */
long sys_bdflush(int func, long data)
{
   ...
   if (func == 1)
    	do_exit(0);
   return 0;
}

Т.ч. ни в 2.4, ни в 2.6 больше bdflush не нужен.

Rgds,
Anton


      parent reply	other threads:[~2005-02-02 11:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 19:09 Anton D. Kachalov
2005-02-01 13:17 ` Anton Farygin
2005-02-02 11:51   ` Sergey Vlasov
2005-02-02 11:56     ` Dmitry V. Levin
2005-02-02 11:51 ` Anton D. Kachalov [this message]

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=20050202115134.GC22593@lrn.ru \
    --to=mouse@altlinux.org \
    --cc=devel@altlinux.ru \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git