Openmoko Bug #2212: pppd: page allocation failure. order:4, mode:0x4d0
Openmoko Public Trac
bugs at docs.openmoko.org
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
Comment:
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: <https://docs.openmoko.org/trac/ticket/2212#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the openmoko-kernel
mailing list