Re: Linux 2.6.7-rc2

From: Albert Cahalan
Date: Mon May 31 2004 - 09:44:31 EST


Peter Osterlund writes:

> If I put "#if 0" around the *wdata assignment in
> nfs_writepage_sync, the stack usage goes down to 36,
> so it looks like gcc is building a temporary structure
> on the stack and then copies the whole thing to *wdata.

This would be required because of the -Wno-strict-aliasing
option. For the 2.7.xx kernels, how about we start off by
replacing -Wno-strict-aliasing with -std=gnu99 ? It's been
5 years since 1999. The "restrict" keyword is useful too.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/