[PATCH 00/11] Add compression support to pstore

Tony Luck tony.luck at gmail.com
Thu Aug 8 03:30:09 EST 2013


Oh - one more thing - and my apologies for not spotting this before:

                dst = allocate_buf_for_compression(big_buf_sz);

No - you may not call kmalloc() in oops/panic context.  Please pre-allocate
everything you need in some initialization code to make sure that we don't
fail in the panic path because we can't get the memory we need.

-Tony


More information about the Linuxppc-dev mailing list