Messages in this thread | | | Date | Sun, 12 Oct 2003 05:02:23 -0700 | From | Andrew Morton <> | Subject | Re: 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/
| |