Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp504258imm; Thu, 21 Jun 2018 23:57:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKzsqK4XAC8wRPjtmyBk2tIE5oSTSHIjWYD7SlUVmMAEWGgQfuc+mpS8QW1ib1C05Dk7Y1o X-Received: by 2002:a65:4c4d:: with SMTP id l13-v6mr313642pgr.211.1529650647427; Thu, 21 Jun 2018 23:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529650647; cv=none; d=google.com; s=arc-20160816; b=eRcdACvvxMGfO9syWnk/UExDJs9+abyMyvjK+7/TCLe+EbJ+c0hjBvKEK2ttFLn5pv mUUVHrTEef/iXKZ2Wqi+TYb06JeiuMnq88prKgJXBoO3WPnBEJLOgKB/rvyEfBIM7+TU egvrW0BOulGZ2LSM5flZ2uj6BOwX+WNNb57OovZfy1ReatwKaJYhORPWMuCjbjFAIxo1 nbkbHdRCO7yXOz/ov50QQcsDCfbVqE8YRmxIP+N6LPRypR1Uj1Q99Z+Oypd10xaNcMQw Gl4EVn029q5gpeYLF9xHSZwoduPyyh8Vt7tebh88EtrCRWvnRgH/QAtF03aD/sguc655 MeTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=w0Cd64AFrGtvchkYQXhkbBoFpkg+TO0Nej9+QfZe6js=; b=Mh6/8ZXAO4w0XH9/bhoJUHbprXvIgXyKsikK+6/BwmfuXaQFjaHH2VRdqLQoiECxGp zhDm0k4+HNjyqyycWVIhsTGMO0R19ovq6yCe2FFtQvb5Y68BMVaDOQqMRnxTFnCr0pyU PtPQp3tQ6vilvue6F8Cq/SCPzeeOZAcuPRD0WdKUDVh03PLrnMAB7isZJ90M5KvpjwXN sUBPmis0fJFUo2gpHG7ld3ytEmgqT4Uk4xfFCD922z7CaMNg8M1qQTe1Q/O1q3cke5nD 6W06tqg5yNDKqE+iFKbRjWEl6++zaMC0gLy3xSKRlg8spFAFcNsu/wQaOsSNtBSFUwf+ StTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q7-v6si6886217pll.445.2018.06.21.23.57.12; Thu, 21 Jun 2018 23:57:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751131AbeFVG4f (ORCPT + 99 others); Fri, 22 Jun 2018 02:56:35 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:40643 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbeFVG4e (ORCPT ); Fri, 22 Jun 2018 02:56:34 -0400 Received: from p4fea482e.dip0.t-ipconnect.de ([79.234.72.46] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fWFzL-0000Z0-W9; Fri, 22 Jun 2018 08:56:08 +0200 Date: Fri, 22 Jun 2018 08:56:07 +0200 (CEST) From: Thomas Gleixner To: Reinette Chatre cc: Stephen Rothwell , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Al Viro , Linux-Next Mailing List , Linux Kernel Mailing List , David Howells Subject: Re: linux-next: manual merge of the tip tree with the vfs tree In-Reply-To: Message-ID: References: <20180622115346.1e9cc433@canb.auug.org.au> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 Jun 2018, Reinette Chatre wrote: > I am the contributor of the pseudo-locking related code that caused the > conflict. > > Stephen, thank you very much for proceeding with the merge and fixing it > up. I copied your later fix addition to this email and combined they > look good. I did some basic smoke testing of the merged code and it works. > > Thomas and David, please let me know what I can do from my side to help > with this. I'll have a look later today. > > As summary, with the above changes combined the merge can be done using: > > ->8- > diff --cc arch/x86/kernel/cpu/intel_rdt_rdtgroup.c > index 7b4a09d81a30,38a54f56ff40..caa2754f8948 > --- a/arch/x86/kernel/cpu/intel_rdt_rdtgroup.c > +++ b/arch/x86/kernel/cpu/intel_rdt_rdtgroup.c > @@@ -1861,16 -1270,9 +1842,13 @@@ static int rdt_get_tree(struct fs_conte > rdtgroup_default.mon.mon_data_kn = kn_mondata; > } > > + ret = rdt_pseudo_lock_init(); > - if (ret) { > - dentry = ERR_PTR(ret); > ++ if (ret) > + goto out_mondata; > - } > + > - dentry = kernfs_mount(fs_type, flags, rdt_root, > - RDTGROUP_SUPER_MAGIC, NULL); > - if (IS_ERR(dentry)) > + ret = kernfs_get_tree(fc); > + if (ret < 0) > - goto out_mondata; > + goto out_psl; > > if (rdt_alloc_capable) > static_branch_enable_cpuslocked(&rdt_alloc_enable_key); > > Reinette > >