From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751548AbdJCNeN (ORCPT ); Tue, 3 Oct 2017 09:34:13 -0400 Received: from mail-io0-f173.google.com ([209.85.223.173]:45536 "EHLO mail-io0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751171AbdJCNeL (ORCPT ); Tue, 3 Oct 2017 09:34:11 -0400 X-Google-Smtp-Source: AOwi7QCAB+DFq1+BQRBdq9/l0RN6VoeRMBxFlKK1eiLP7D2x3ZK7tZYjsC+ZOS4CP8qZ9ysG+9KzFQ== Date: Tue, 3 Oct 2017 06:34:08 -0700 From: Tejun Heo To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Li Zefan , Johannes Weiner , Waiman Long Subject: [GIT PULL] cgroup fixes for v4.14-rc3 Message-ID: <20171003133408.GG3301751@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Linus. The recent migration code updates assumed that migrations always execute from the top to the bottom once and didn't clean up internal states after each migration round; however, cgroup_transfer_tasks() repeats the inner steps multiple times and the garbage internal states from the previous iteration led to OOPS. Waiman fixed the bug by reinitializing the relevant states at the end of each migration round. Thanks. The following changes since commit 6e80ecdddf4ea6f3cd84e83720f3d852e6624a68: Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm (2017-09-21 15:51:19 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.14-fixes for you to fetch changes up to c4fa6c43ce4b427350cfbb659436bfe3d9e09a1d: cgroup: Reinit cgroup_taskset structure before cgroup_migrate_execute() returns (2017-09-22 08:14:45 -0700) ---------------------------------------------------------------- Waiman Long (1): cgroup: Reinit cgroup_taskset structure before cgroup_migrate_execute() returns kernel/cgroup/cgroup.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- tejun