Re: [uml-devel] [PATCH 3/3] UML - Correctly handle skb allocation failures

2007-09-26 Thread Andrew Morton
On Wed, 26 Sep 2007 17:46:13 -0400 Jeff Dike <[EMAIL PROTECTED]> wrote: > Handle memory allocation failures when reading packets. > > We have to read something from the host, even if we can't allocate any > memory. If we don't, the host side of the device may fill up and stop > delivering interr

[uml-devel] [PATCH 3/3] UML - Correctly handle skb allocation failures

2007-09-26 Thread Jeff Dike
Handle memory allocation failures when reading packets. We have to read something from the host, even if we can't allocate any memory. If we don't, the host side of the device may fill up and stop delivering interrupts because no new packets can be queued. A single sk_buff is allocated whenever

[uml-devel] [PATCH 2/3] UML - Network driver MTU cleanups

2007-09-26 Thread Jeff Dike
A bunch of MTU-related cleanups in the network code. First, there is the addition of the notion of a maximally-sized packet, which is the MTU plus headers. This is used to size the skb that will receive a packet. This allows ether_adjust_skb to go away, as it was used to resize the skb after it

Re: [uml-devel] Is commit da3e30e78ed9652322dccb49fa149e7b4e985f74 a candidate for -stable?

2007-09-26 Thread Jeff Dike
On Wed, Sep 26, 2007 at 09:59:47PM +0100, Nix wrote: > Without this commit, you can't compile UML on a system with 2.6.22 > kernel headers (the reserved2 and reserved3 fields have been > renamed). With it, you can use 2.6.22 or older as you like. I take nominations... The ones I decide on myself

[uml-devel] Is commit da3e30e78ed9652322dccb49fa149e7b4e985f74 a candidate for -stable?

2007-09-26 Thread Nix
Without this commit, you can't compile UML on a system with 2.6.22 kernel headers (the reserved2 and reserved3 fields have been renamed). With it, you can use 2.6.22 or older as you like. (not forwarding to -stable because it seems importunate of me to do so: is this being too cautious?) -- `Som

Re: [uml-devel] [PATCH] UML - time build fix

2007-09-26 Thread Paolo Giarrusso
On mercoledì 26 settembre 2007, Thomas Gleixner wrote: > Jeff, > > On Tue, 2007-09-25 at 17:56 -0400, Jeff Dike wrote: > > On Tue, Sep 25, 2007 at 09:54:15PM +0200, Thomas Gleixner wrote: > > > On Tue, 2007-09-25 at 13:37 -0400, Jeff Dike wrote: > > > > Put back an implementation of timeval_to_ns i

Re: [uml-devel] [PATCH] UML - Fix irqstack crash

2007-09-26 Thread Paolo Giarrusso
On lunedì 24 settembre 2007, Jeff Dike wrote: > On Thu, Sep 20, 2007 at 05:57:49PM +0200, Paolo Giarrusso wrote: > > Yes, indeed - or sign extension on 64bit machines would set to 1 the > > whole high-word. > > > > But using long for that mask makes no difference; either int or long > > long (or b