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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7ACD6C433DF for ; Fri, 5 Jun 2020 21:20:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 497C8207D0 for ; Fri, 5 Jun 2020 21:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591392042; bh=+gORxLkVIxEdqWco6HED7TCdyMYtJr7q3ukaReKzwKY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=ufkx2Hc6nwtoH6Fv0Gl01tGsz/a0nL/lgj43qzVyraFTA61aztv+hLt8GxP1/tgDb ps7RxA3dhQFGrwZwc1MmEcaOXzf7icmTr0x09GNfcKwky2jxaDWiepJnwMDxz6RcKc 0ATAgj00V3RA/YH65Naa1TxEBMl2q4VwiCsCgIg0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728445AbgFEVUl (ORCPT ); Fri, 5 Jun 2020 17:20:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:33234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728180AbgFEVUk (ORCPT ); Fri, 5 Jun 2020 17:20:40 -0400 Received: from X1 (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A8E39206DB; Fri, 5 Jun 2020 21:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591392039; bh=+gORxLkVIxEdqWco6HED7TCdyMYtJr7q3ukaReKzwKY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SAe8mBsBRKq4WLKnMZu0Pl1S3mSc5KqR/AfF3SnCG6FEpJjnubaRrNGmXLBMkcrNA K+cmGvckrgvnU2VryDBY04S3YztNndvzVWmZ1Nqd3JKl8EJjOWRndbi/EPUiU22RgH LEFGcSL4w8o6ksMTo4nnC7nbCFaRFGQs/+3XcP14= Date: Fri, 5 Jun 2020 14:20:39 -0700 From: Andrew Morton To: Matthew Wilcox Cc: Qian Cai , linux-kernel@vger.kernel.org, dave@stgolabs.net, manfred@colorfullife.com, mm-commits@vger.kernel.org Subject: Re: + ipc-convert-ipcs_idr-to-xarray-update.patch added to -mm tree Message-Id: <20200605142039.b8a81c08bf5ba34fa0181545@linux-foundation.org> In-Reply-To: <20200605201134.GJ19604@bombadil.infradead.org> References: <20200420181310.c18b3c0aa4dc5b3e5ec1be10@linux-foundation.org> <20200424014753.DfBuzjmzo%akpm@linux-foundation.org> <20200605195848.GB5393@lca.pw> <20200605201134.GJ19604@bombadil.infradead.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Jun 2020 13:11:34 -0700 Matthew Wilcox wrote: > On Fri, Jun 05, 2020 at 03:58:48PM -0400, Qian Cai wrote: > > This will trigger, > > > > [ 8853.759549] LTP: starting semget05 > > [ 8867.257088] BUG: sleeping function called from invalid context at mm/slab.h:567 > > [ 8867.270259] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22556, name: semget05 > > [ 8867.270309] 2 locks held by semget05/22556: > > [ 8867.270345] #0: 00000000512de7e0 (&ids->rwsem){++++}-{3:3}, at: ipcget+0x4e/0x230 > > [ 8867.270426] #1: 00000000552b9018 (&new->lock){+.+.}-{2:2}, at: ipc_addid+0xf4/0xf50 > > Did the fix for this not make it into -next? I don't think I've seen this fix before. And I'm unclear on how it pertains to the current patch(es) in -mm. And it has no changelog! Perhaps it would be best to do a formal send of the latest version?