lkml.org 
[lkml]   [2003]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: current_is_kswapd is a function
William Lee Irwin III <wli@holomorphy.com> wrote:
>
> - if (current_is_kswapd)
> + if (current_is_kswapd())

Well damn, I must have looked at that a hundred times when wondering why
/proc/vmstat:pginodesteal was always zero. Thanks.

It would probably be worthwhile teaching the compiler to generate a warning
in this case; I doubt if anyone is likely to want to find out at runtime
whether the linker happened to place a particular function at address zero.
I shall suggest that.



-
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.187 / U:1.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site