Messages in this thread Patch in this message | | | Date | Sat, 11 Oct 2003 19:17:50 -0700 | From | William Lee Irwin III <> | Subject | current_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/
| |