)]}'
{
  "commit": "db2aa7fd15e857891cefbada8348c8d938c7a2bc",
  "tree": "d23b3979c42bbbf88cb6855bfe6ec496336a86ae",
  "parents": [
    "35e669e1a254e8b60d4a8983205b383666cc01ca"
  ],
  "author": {
    "name": "Francisco Blas Izquierdo Riera (klondike)",
    "email": "klondike@klondike.es",
    "time": "Wed Dec 14 15:06:04 2016 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Dec 14 16:04:08 2016 -0800"
  },
  "message": "initramfs: allow again choice of the embedded initram compression algorithm\n\nChoosing the appropriate compression option when using an embedded\ninitramfs can result in significant size differences in the resulting\ndata.\n\nThis is caused by avoiding double compression of the initramfs contents.\nFor example on my tests, choosing CONFIG_INITRAMFS_COMPRESSION_NONE when\ncompressing the kernel using XZ) results in up to 500KiB differences\n(9MiB to 8.5MiB) in the kernel size as the dictionary will not get\npolluted with uncomprensible data and may reuse kernel data too.\n\nDespite embedding an uncompressed initramfs, a user may want to allow\nfor a compressed extra initramfs to be passed using the rd system, for\nexample to boot a recovery system.  9ba4bcb645898d (\"initramfs: read\nCONFIG_RD_ variables for initramfs compression\") broke that behavior by\nmaking the choice based on CONFIG_RD_* instead of adding\nCONFIG_INITRAMFS_COMPRESSION_LZ4.  Saddly, CONFIG_RD_* is also used to\nchoose the supported RD compression algorithms by the kernel and a user\nmay want to support more than one.\n\nThis patch also reverts commit 3e4e0f0a875 (\"initramfs: remove\n\"compression mode\" choice\") restoring back the \"compression mode\" choice\nand includes the CONFIG_INITRAMFS_COMPRESSION_LZ4 option which was never\nadded.\n\nAs a result the following options are added or readed affecting the embedded\ninitramfs compression:\n  INITRAMFS_COMPRESSION_NONE Do no compression\n  INITRAMFS_COMPRESSION_GZIP Compress using gzip\n  INITRAMFS_COMPRESSION_BZIP2 Compress using bzip2\n  INITRAMFS_COMPRESSION_LZMA Compress using lzma\n  INITRAMFS_COMPRESSION_XZ Compress using xz\n  INITRAMFS_COMPRESSION_LZO Compress using lzo\n  INITRAMFS_COMPRESSION_LZ4 Compress using lz4\n\nThese depend on the corresponding CONFIG_RD_* option being set (except\nNONE which has no dependencies).\n\nThis patch depends on the previous one (the previous version didn\u0027t) to\nsimplify the way in which the algorithm is chosen and keep backwards\ncompatibility with the behaviour introduced by 9ba4bcb645898\n(\"initramfs: read CONFIG_RD_ variables for initramfs compression\").\n\nLink: http://lkml.kernel.org/r/57EAD77B.7090607@klondike.es\nSigned-off-by: Francisco Blas Izquierdo Riera (klondike) \u003cklondike@klondike.es\u003e\nCc: P J P \u003cppandit@redhat.com\u003e\nCc: Paul Bolle \u003cpebolle@tiscali.nl\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bf8e8f15358f856356ffad460a4b775cdca1d0fb",
      "old_mode": 33188,
      "old_path": "usr/Kconfig",
      "new_id": "6278f135256d424c153d3fadc48f8636ecd24ec1",
      "new_mode": 33188,
      "new_path": "usr/Kconfig"
    }
  ]
}
