From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97C34C77B7A for ; Mon, 17 Apr 2023 17:23:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230130AbjDQRXI (ORCPT ); Mon, 17 Apr 2023 13:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbjDQRXH (ORCPT ); Mon, 17 Apr 2023 13:23:07 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08F444EC7 for ; Mon, 17 Apr 2023 10:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681752141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZYFTRQGDNFH6eOF0v3UAIXsZ4GgWXkmgoVXlVBEL91A=; b=iYZfeQE6wREurf5zdHRN+HIby/9AJgDTTIOE+UIbWYkVPSyWdCK4pEz5Ae8Qm3asCf9xKY ZLgN0/ep/cOSa1uunLJCwcOAucePj6YT1X0G/512PX7vkU8//eBiYzKij5MEDf/kssitW7 deuQ/4SrsGCOFZDl7H/tXhQwgn6cgzk= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-61-nU3gyLFIPjmPAEGjeTqeVg-1; Mon, 17 Apr 2023 13:22:20 -0400 X-MC-Unique: nU3gyLFIPjmPAEGjeTqeVg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8FEAC29DD9B4; Mon, 17 Apr 2023 17:22:19 +0000 (UTC) Received: from [10.18.17.153] (dhcp-17-153.bos.redhat.com [10.18.17.153]) by smtp.corp.redhat.com (Postfix) with ESMTP id 71FF42027044; Mon, 17 Apr 2023 17:22:19 +0000 (UTC) Message-ID: <27aa72bf-9673-1247-e1e0-4089682173f4@redhat.com> Date: Mon, 17 Apr 2023 13:22:19 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: FAILED: patch "[PATCH] cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork()" failed to apply to 5.10-stable tree Content-Language: en-US To: gregkh@linuxfoundation.org, mkoutny@suse.com, tj@kernel.org Cc: stable@vger.kernel.org References: <2023041705-gauze-elated-d7c7@gregkh> From: Waiman Long In-Reply-To: <2023041705-gauze-elated-d7c7@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On 4/17/23 04:04, gregkh@linuxfoundation.org wrote: > The patch below does not apply to the 5.10-stable tree. > If someone wants it applied there, or to any other stable or longterm > tree, then please email the backport, including the original git commit > id to . > > To reproduce the conflict and resubmit, you may use the following commands: > > git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y > git checkout FETCH_HEAD > git cherry-pick -x eee87853794187f6adbe19533ed79c8b44b36a91 > # > git commit -s > git send-email --to '' --in-reply-to '2023041705-gauze-elated-d7c7@gregkh' --subject-prefix 'PATCH 5.10.y' HEAD^.. > > Possible dependencies: > > eee878537941 ("cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methods") > 42a11bf5c543 ("cgroup/cpuset: Make cpuset_fork() handle CLONE_INTO_CGROUP properly") > 18f9a4d47527 ("cgroup/cpuset: Skip spread flags update on v2") > e2d59900d936 ("cgroup/cpuset: Allow no-task partition to have empty cpuset.cpus.effective") > 18065ebe9b33 ("cgroup/cpuset: Miscellaneous cleanups & add helper functions") > f9da322e864e ("cgroup: cleanup comments") > 8ca1b5a49885 ("mm/page_alloc: detect allocation forbidden by cpuset and bail out early") > b94f9ac79a73 ("cgroup/cpuset: Change references of cpuset_mutex to cpuset_rwsem") > 69dc8010b8fc ("Merge branch 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup") I have posted a patch series that also include commit 18f9a4d47527 ("cgroup/cpuset: Skip spread flags update on v2") which is not technically a fix but is relative simple and low risk.  I have also twist the patches 1, 3 and 4 a bit to fit 5.10. Compile, boot and sanity tests were done to verify its correctness. Cheers, Longman