All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org
Subject: current_is_kswapd is a function
Date: Sat, 11 Oct 2003 19:17:50 -0700	[thread overview]
Message-ID: <20031012021750.GA772@holomorphy.com> (raw)

current_is_kswapd() is a function, not an integer; this explains some
anomalies in reported statistics.

===== fs/inode.c 1.107 vs edited =====
--- 1.107/fs/inode.c	Sun Oct  5 01:07:55 2003
+++ edited/fs/inode.c	Sat Oct 11 19:15:48 2003
@@ -453,7 +453,7 @@
 	dispose_list(&freeable);
 	up(&iprune_sem);
 
-	if (current_is_kswapd)
+	if (current_is_kswapd())
 		mod_page_state(kswapd_inodesteal, reap);
 	else
 		mod_page_state(pginodesteal, reap);

             reply	other threads:[~2003-10-12  2:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12  2:17 William Lee Irwin III [this message]
2003-10-12 12:02 ` current_is_kswapd is a function Andrew Morton
2003-10-12 12:18   ` Jamie Lokier

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=20031012021750.GA772@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.