Re: [PATCH] THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit(ping)

From: H. Peter Anvin
Date: Mon Aug 28 2006 - 16:30:37 EST


Matt Domsch wrote:
On Mon, Aug 28, 2006 at 12:00:37PM -0700, H. Peter Anvin wrote:
Matt Domsch wrote:
No reason. I was just trying to be careful, not leaving data in the
upper bits of those registers going uninitialized. If we know they're
not being used ever, then it's not a problem. But I don't think
that's the source of the command line size concern, is it?

No, it's treating the command line as a fixed buffer, as opposed to a null-terminated string. This was always a bug, by the way.

OK, I'll look at fixing that, and using %esi throughout.


NAK on that. "Using %esi throughout" is a red herring, and just will produce worse code for no gain.

-hpa
-
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/