lkml.org 
[lkml]   [2003]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectcurrent_is_kswapd is a function
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);
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.019 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site