{"shas":[["5d133ff0920a70d7e950bf43815d30a1ea5c57f8","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","cgroups: export cgroup_iter_{start,next,end}\n\n    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>","LorD ClockaN"],["a16d61480c90bf9a3dcea41af64afc75ad8cb77d","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","ADD: cgroups: introduce timer slack subsystem\n\n    Provides a way of tasks grouping by timer slack value. Introduces per\n    cgroup max and min timer slack value. When a task attaches to a cgroup,\n    its timer slack value adjusts (if needed) to fit min-max range.\n\n    It also provides a way to set timer slack value for all tasks in the\n    cgroup at once.\n\n    This functionality is useful in mobile devices where certain background\n    apps are attached to a cgroup and minimum wakeups are desired.\n\n    Idea-by: Jacob Pan <jacob.jun.pan@linux.intel.com>\n    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>","LorD ClockaN"],["c90ccf77c9ab534ef5ba0c586dda70dda569bfde","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","sched: Add 'autogroup' scheduling feature: automated per session task groups\n\n    A recurring complaint from CFS users is that parallel kbuild has\n    a negative impact on desktop interactivity. This patch\n    implements an idea from Linus, to automatically create task\n    groups. Currently, only per session autogroups are implemented,\n    but the patch leaves the way open for enhancement.\n\n    Implementation: each task's signal struct contains an inherited\n    pointer to a refcounted autogroup struct containing a task group\n    pointer, the default for all tasks pointing to the\n    init_task_group. When a task calls setsid(), a new task group\n    is created, the process is moved into the new task group, and a\n    reference to the preveious task group is dropped. Child\n    processes inherit this task group thereafter, and increase it's\n    refcount. When the last thread of a process exits, the\n    process's reference is dropped, such that when the last process\n    referencing an autogroup exits, the autogroup is destroyed.\n\n    At runqueue selection time, IFF a task has no cgroup assignment,\n    its current autogroup is used.\n\n    Autogroup bandwidth is controllable via setting it's nice level\n    through the proc filesystem:\n\n    cat /proc/<pid>/autogroup\n\n    Displays the task's group and the group's nice level.\n\n    echo <nice level> > /proc/<pid>/autogroup\n\n    Sets the task group's shares to the weight of nice <level> task.\n    Setting nice level is rate limited for !admin users due to the\n    abuse risk of task group locking.\n\n    The feature is enabled from boot by default if\n    CONFIG_SCHED_AUTOGROUP=y is selected, but can be disabled via\n    the boot option noautogroup, and can also be turned on/off on\n    the fly via:\n\n    echo [01] > /proc/sys/kernel/sched_autogroup_enabled\n\n    ... which will automatically move tasks to/from the root task group.\n\n    Signed-off-by: Mike Galbraith <efault@gmx.de>\n    Acked-by: Linus Torvalds <torvalds@linux-foundation.org>\n    Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    Cc: Markus Trippelsdorf <markus@trippelsdorf.de>\n    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>\n    Cc: Paul Turner <pjt@google.com>\n    Cc: Oleg Nesterov <oleg@redhat.com>\n    [ Removed the task_group_path() debug code, and fixed !EVENTFD build failure. ]\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n    LKML-Reference: <1290281700.28711.9.camel@maggy.simson.net>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>","LorD ClockaN"],["7d0563731ca2548b1acb775ad260e5115a78e714","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","TWEAK: sched, autogroup: Fix potential access to freed memory\n\n    Oleg pointed out that the /proc interface kref_get() useage may race with\n    the final put during autogroup_move_group().  A signal->autogroup assignment\n    may be in flight when the /proc interface dereference, leaving them taking\n    a reference to an already dead group.\n\n    Reported-by: Oleg Nesterov <oleg@redhat.com>\n    Signed-off-by: Mike Galbraith <efault@gmx.de>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <1292508592.5940.28.camel@maggy.simson.net>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched, autogroup: Fix reference leak\n\n    The cgroup exit mess also uncovered a struct autogroup reference leak.\n    copy_process() was simply freeing vs putting the signal_struct,\n    stranding a reference.\n\n    Signed-off-by: Mike Galbraith <efault@gmx.de>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    Cc: Oleg Nesterov <oleg@redhat.com>\n    LKML-Reference: <1293784350.6839.2.camel@marge.simson.net>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched: Mark autogroup_init() __init\n\n    autogroup_init() is only called at boot time.\n\n    Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>\n    Cc: Mike Galbraith <efault@gmx.de>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <1294375425-31065-1-git-send-email-yong.zhang0@gmail.com>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched: Fix struct autogroup memory leak\n\n    Seems I lost a change somewhere, leaking memory.\n\n    sched: fix struct autogroup memory leak\n\n    Add missing change to actually use autogroup_free().\n\n    Signed-off-by: Mike Galbraith <efault@gmx.de>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <1294222285.8369.2.camel@marge.simson.net>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched: Move sched_autogroup_exit() to free_signal_struct()\n\n    Per Oleg's suggestion, undo fork failure free/put_signal_struct change,\n    and move sched_autogroup_exit() to free_signal_struct() instead.\n\n    Signed-off-by: Mike Galbraith <efault@gmx.de>\n    Reviewed-by: Oleg Nesterov <oleg@redhat.com>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <1294222564.8369.6.camel@marge.simson.net>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched: Reinstate group names in /proc/sched_debug\n\n    Displaying of group names in /proc/sched_debug was dropped in autogroup\n    patches. Add group names while displaying cfs_rq and tasks information.\n\n    Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <20110111101153.GE4772@in.ibm.com>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched: Display autogroup names in /proc/sched_debug\n\n    Add autogroup name to cfs_rq and tasks information to /proc/sched_debug.\n\n    Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <20110111101257.GF4772@in.ibm.com>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched: Fix signed unsigned comparison in check_preempt_tick()\n\n    Signed unsigned comparison may lead to superfluous resched if leftmost\n    is right of the current task, wasting a few cycles, and inadvertently\n    _lengthening_ the current task's slice.\n\n    Reported-by: Venkatesh Pallipadi <venki@google.com>\n    Signed-off-by: Mike Galbraith <efault@gmx.de>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <1294202477.9384.5.camel@marge.simson.net>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>","LorD ClockaN"],["3a63df5d46d998f7be119739eed09a5c03b2450d","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","set Sched_Autogroup to not compile when BFS is enabled","LorD ClockaN"],["485e41d6716797b37f42ca6e40d79e069c11da74","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","cgroups: read-write lock CLONE_THREAD forking per threadgroup","LorD ClockaN"],["d79c06246f91672bfee0af73a362533cbf0f118a","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","cgroups: add per-thread subsystem callbacks","LorD ClockaN"],["d2a562385d3caecb2b61725f41ae17b5d3535005","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","Compiling error fixes","LorD ClockaN"],["a6507e6cbbbe5e48157e87208bb9d042622cc05d","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","cgroups: make procs file writable","LorD ClockaN"],["d4ecf62c217d67260aa844ad732bd53af334e4f1","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","cgroups: use flex_array in attach_proc","LorD ClockaN"],["2e7e2ca2e4c5dbfc6fdea996e767277e22b6a841","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","cgroup: remove the ns_cgroup","LorD ClockaN"],["81a658437c89d646f85e9d76cac28bf2d13f6d3b","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","sched, autogroup: Stop going ahead if autogroup is disabled","LorD ClockaN"],["fef998cc42f834d81716365164e6b432f9cdd3b1","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","TWEAK: sched - lower granularity","LorD ClockaN"],["8ba0416c02b65ba5b78b8411572526c5920d9082","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","cgroup: fix cpuset permission check\n\n    The permission check code added by \"cgroup: Add generic cgroup subsystem\n    permission checks\" does not build and also leaves a variable uninitialized.\n    Fix it.\n\n    Change-Id: I8009d6315527725d45b20792b7cd74aedc9bff44\n    Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>\n    Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>","LorD ClockaN"],["345a0f912bd199510d9b3e4c873ad5738a656a47","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","Add cleancache","LorD ClockaN"],["f4eb6699adac4ca13baa749467cc29441dba842c","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","FIX: from CodeAurora - cherry picked from intersactRaven\nsched: match mainline commit\n    f26f9aff6aaf67e9a430d16c266f91b13a5bff64 (Sched: fix skip_clock_update optimization)\n\n    This is needed for the following 2 commits, and is related to https://bugzilla.kernel.org/show_bug.cgi?id=23902 which was introduced in 2.6.35.12. I don't know if we were really impacted by this issue, but it's best to fix the logic. Hopefully it will be properly fixed in 2.6.35.14.\n\nsched: Fix the irqtime code to deal with u64 wraps\n\n    Some ARM systems have a short sched_clock() [ which needs to be fixed\n    too ], but this exposed a bug in the irq_time code as well, it doesn't\n    deal with wraps at all.\n\n    Fix the irq_time code to deal with u64 wraps by re-writing the code to\n    only use delta increments, which avoids the whole issue.\n\n    Reviewed-by: Venkatesh Pallipadi <venki@google.com>\n    Reported-by: Mikael Pettersson <mikpe@it.uu.se>\n    Tested-by: Mikael Pettersson <mikpe@it.uu.se>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <1292242433.6803.199.camel@twins>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>\n\nsched: Fix the irqtime code for 32bit\n\n    Since the irqtime accounting is using non-atomic u64 and can be read\n    from remote cpus (writes are strictly cpu local, reads are not) we\n    have to deal with observing partial updates.\n\n    When we do observe partial updates the clock movement (in particular,\n    ->clock_task movement) will go funny (in either direction), a\n    subsequent clock update (observing the full update) will make it go\n    funny in the oposite direction.\n\n    Since we rely on these clocks to be strictly monotonic we cannot\n    suffer backwards motion. One possible solution would be to simply\n    ignore all backwards deltas, but that will lead to accounting\n    artefacts, most notable: clock_task + irq_time != clock, this\n    inaccuracy would end up in user visible stats.\n\n    Therefore serialize the reads using a seqcount.\n\n    Reviewed-by: Venkatesh Pallipadi <venki@google.com>\n    Reported-by: Mikael Pettersson <mikpe@it.uu.se>\n    Tested-by: Mikael Pettersson <mikpe@it.uu.se>\n    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\n    LKML-Reference: <1292242434.6803.200.camel@twins>\n    Signed-off-by: Ingo Molnar <mingo@elte.hu>","LorD ClockaN"],["6a60721e659c02b151c57944b964b2d8fc3e911b","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","sched: Rate-limit nohz","LorD ClockaN"],["609b9c6f4f9c4a0f3c94677de50912575487d1fb","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","ADD:\ndecompressors: add XZ decompressor module\n\n    In userspace, the .lzma format has become mostly a legacy file format that\n    got superseded by the .xz format.  Similarly, LZMA Utils was superseded by\n    XZ Utils.\n\n    These patches add support for XZ decompression into the kernel.  Most of\n    the code is as is from XZ Embedded <http://tukaani.org/xz/embedded.html>.\n    It was written for the Linux kernel but is usable in other projects too.\n\n    Advantages of XZ over the current LZMA code in the kernel:\n      - Nice API that can be used by other kernel modules; it's\n        not limited to kernel, initramfs, and initrd decompression.\n      - Integrity check support (CRC32)\n      - BCJ filters improve compression of executable code on\n        certain architectures. These together with LZMA2 can\n        produce a few percent smaller kernel or Squashfs images\n        than plain LZMA without making the decompression slower.\n\n    This patch: Add the main decompression code (xz_dec), testing module\n    (xz_dec_test), wrapper script (xz_wrap.sh) for the xz command line tool,\n    and documentation.  The xz_dec module is enough to have a usable XZ\n    decompressor e.g.  for Squashfs.\n\n    Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>\n    Cc: \"H. Peter Anvin\" <hpa@zytor.com>\n    Cc: Alain Knaff <alain@knaff.lu>\n    Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>\n    Cc: Phillip Lougher <phillip@lougher.demon.co.uk>\n    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>\n    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>","LorD ClockaN"],["fb50bba866d20d78058422281620c49bd04ddf3b","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","ADD: decompressors: add boot-time XZ support\n\n    This implements the API defined in <linux/decompress/generic.h> which is\n    used for kernel, initramfs, and initrd decompression.  This patch together\n    with the first patch is enough for XZ-compressed initramfs and initrd;\n    XZ-compressed kernel will need arch-specific changes.\n\n    The buffering requirements described in decompress_unxz.c are stricter\n    than with gzip, so the relevant changes should be done to the\n    arch-specific code when adding support for XZ-compressed kernel.\n    Similarly, the heap size in arch-specific pre-boot code may need to be\n    increased (30 KiB is enough).\n\n    The XZ decompressor needs memmove(), memeq() (memcmp() == 0), and\n    memzero() (memset(ptr, 0, size)), which aren't available in all\n    arch-specific pre-boot environments.  I'm including simple versions in\n    decompress_unxz.c, but a cleaner solution would naturally be nicer.\n\n    Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>\n    Cc: \"H. Peter Anvin\" <hpa@zytor.com>\n    Cc: Alain Knaff <alain@knaff.lu>\n    Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>\n    Cc: Phillip Lougher <phillip@lougher.demon.co.uk>\n    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>\n    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>","LorD ClockaN"],["bdf956472ae89c8ac1dbff3b056cbbc66324a9ba","eb12b37ff28da18665a37098cde5fce7621b4bcd@losinj.com","FIX: XZ decompressor: Fix decoding of empty LZMA2 streams\n\n    The old code considered valid empty LZMA2 streams to be corrupt.\n    Note that a typical empty .xz file has no LZMA2 data at all,\n    and thus most .xz files having no uncompressed data are handled\n    correctly even without this fix.\n\n    Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>\n    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>","LorD ClockaN"]],"ref":"refs/heads/2.WIP","size":21,"head":"9869f90d6e812ae4f24149555747a06a2fcc70d3","push_id":42281560}