From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14058 invoked from network); 8 Jul 1999 02:15:11 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Jul 1999 02:15:11 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA13310 for ; Mon, 28 Jun 1999 18:49:21 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id PAA23718; Mon, 28 Jun 1999 15:49:20 -0700 Date: Mon, 28 Jun 1999 15:49:20 -0700 From: Richard Henderson To: axp-list@redhat.com Cc: root@chaos.analogic.com, FrameBuffer Subject: Re: bug in fbmem.c, Message-ID: <19990628154920.B20008@twiddle.net> References: <3777ED20.1CB60952@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <3777ED20.1CB60952@pobox.com>; from Jeff Garzik on Mon, Jun 28, 1999 at 05:46:08PM -0400 On Mon, Jun 28, 1999 at 05:46:08PM -0400, Jeff Garzik wrote: > "Richard B. Johnson" wrote: > > Are you sure? With some limits-checking it should work, compiler > > just subtracts N words from the stack-pointer to make room and > > since the compiler 'knows' it did this, it still 'knows' where > > everything else is. How much room is left on the kernel stack? You don't know, so you don't know how to bound such a limits check. > Even if the compiler can do it the fix is not correct because data > copying need only occur on the Alpha, not on all platforms. If it were up to me, I'd do it for all platforms, since it's more Correct. This isn't exactly a speed-critical interface. But it's not up to me -- the fbdev maintainers may do whatever they wish. r~