Openmoko Bug #2212: pppd: page allocation failure. order:4, mode:0x4d0

Openmoko Public Trac bugs at
Tue Jan 20 21:45:35 CET 2009

#2212: pppd: page allocation failure. order:4, mode:0x4d0
 Reporter:  lindi            |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  normal           |      Milestone:                 
Component:  System Software  |        Version:  unspecified    
 Severity:  normal           |       Keywords:                 
 Haspatch:  1                |      Blockedby:                 
Estimated:                   |    Patchreview:                 
 Blocking:                   |   Reproducible:                 
Changes (by werner):

  * haspatch:  0 => 1


 This is nasty :-( It's z_decomp_alloc trying to allocate a chunk of
 64kB of contiguous kernel memory for its 'struct inflate_workspace',
 defined in lib/zlib_inflate/infutil.h (MAX_WBITS is 15.)

 Such large allocations are generally bad practice and it's a bit
 disconcerting to find one here. Fortunately, there may be an easy
 fix by just using vmalloc. I've attached an untested patch.

 I'm not sure if the problem is very reproducible and if you're
 actually using PPP compression. If the answer to at least one of
 these items is yes, then could you please give it a try ?

Ticket URL: <> <>
openmoko trac

More information about the buglog mailing list