Re: [PATCH] deprecate memclear_highpage_flush deprecation warnings

From: Andrew Morton
Date: Tue May 15 2007 - 12:01:16 EST


On Tue, 15 May 2007 14:24:40 +0200 Christoph Hellwig <hch@xxxxxx> wrote:

> Recent builds get tons of warnings about memclear_highpage_flush
> beeing deprecated. Turns out it's replaced by zero_user_page
> which takes an additional argument.
>
> Now folks, deprecated is for actual functionality going away, there
> is no need to mark the old name deprecated for such a trivial
> paramter change and rename.

Yes, it's rather trivial, but memclear_highpage_flush() *is* going away.

> This stuff should go to Linus in one
> patch that doesn't create utterly useless warnings and keeps around
> stale interfaces.
>
> Here's a patch to kill memclear_highpage_flush and convert the reaming
> user to make the build a littler more silent, it's more than noisy
> enough due to all the useless addition of __deprecated or __must_check
> to widely used functionality and gcc stupid false positives.

Patches have been prepared which convert all in-kernel users. I thought
I'd dtrt and feed them through maintainers, but that takes time. The
laggards are on cc ;)
-
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/