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 us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30D8EC4332F for ; Tue, 18 Oct 2022 19:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666119754; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pjf31vNsk8cV2uW/7/S8n3Z/0/FJer0M1p/p3Yqb0qI=; b=dRuRWlkv6QrbC6REVYpR98bE79e0jhnTagEzNadOb5/Cp37gQhLypODZMsXjrfZ0qUc3a1 gcQ1k3b1OeO3LuUIqCQspH7i8tSFhksHwV2OqhDbX0DLRhv6Zxll+AJ40N+LvWsuxfJINs +k2J7JTzwch7JjeHhiliRNtyrdpqmP0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-660-bzc0jkZHM6qxbZCYUrn0Pg-1; Tue, 18 Oct 2022 15:02:25 -0400 X-MC-Unique: bzc0jkZHM6qxbZCYUrn0Pg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6168F101AA66; Tue, 18 Oct 2022 19:02:17 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7D76340C2064; Tue, 18 Oct 2022 19:01:59 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5B4781946594; Tue, 18 Oct 2022 19:01:57 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7CBEB194658F for ; Tue, 18 Oct 2022 19:01:56 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 6043D1121320; Tue, 18 Oct 2022 19:01:56 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 59CC41121315 for ; Tue, 18 Oct 2022 19:01:56 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 38B6A18A0723 for ; Tue, 18 Oct 2022 19:01:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-235-RBC7RhlHPfGYxAQEGg06cQ-1; Tue, 18 Oct 2022 15:01:54 -0400 X-MC-Unique: RBC7RhlHPfGYxAQEGg06cQ-1 Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1okr9l-009r0R-62; Tue, 18 Oct 2022 18:17:37 +0000 Date: Tue, 18 Oct 2022 11:17:37 -0700 From: Christoph Hellwig To: Mike Snitzer Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Subject: Re: [dm-devel] [git pull] device mapper changes for 6.1 X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jilin Yuan , Nikos Tsironis , Shaomin Deng , Nathan Huckleberry , linux-block@vger.kernel.org, dm-devel@redhat.com, Mikulas Patocka , Genjian Zhang , Linus Torvalds , Milan Broz , Alasdair G Kergon , Jiangshan Yi Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Oct 18, 2022 at 12:20:50PM -0400, Mike Snitzer wrote: > > - Enhance DM ioctl interface to allow returning an error string to > userspace. Depends on exporting is_vmalloc_or_module_addr() to allow > DM core to conditionally free memory allocated with kasprintf(). That really does not sound like a good idea at all. And it does not seem to have any MM or core maintainer signoffs. -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel 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 D99B4C4332F for ; Tue, 18 Oct 2022 18:17:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbiJRSRt (ORCPT ); Tue, 18 Oct 2022 14:17:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229787AbiJRSRs (ORCPT ); Tue, 18 Oct 2022 14:17:48 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 040587D1FF for ; Tue, 18 Oct 2022 11:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=AqJ0v0hhWU7bzKshJrvn579bKb31i80AclR/mDSMXJo=; b=SGDjpWATMVzh/pbCUrefeFdPR3 Jo2+g5toaGqCPCKiA/4iJzwggRpKDJnBLXuOtQPH10gThWpbWYVKQIo57mZQZEvQSoVbyFogJUC3w 8ifeTiMaNLzkY4M2z61hXIlTYfQtECUbzK/WTh68RFL53hDmiRBvDYta4t0fWD7DoTBXC/YCJveto bfBhqYttUsoTM6tU2hMR2ox0Oh7xEDOqoHz7vDt9bIsfmUF9Cf1g2ANPFaBmNra+/xBBgumc8Ty6D 5tOHdPxsUSEsswU1hvlGM+9UQTK1/xbNay/LQ9y0j4uzB6uzs544LcfCWVFlaFnGTTU4WSbUmVXUS qogy+R8A==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1okr9l-009r0R-62; Tue, 18 Oct 2022 18:17:37 +0000 Date: Tue, 18 Oct 2022 11:17:37 -0700 From: Christoph Hellwig To: Mike Snitzer Cc: Linus Torvalds , dm-devel@redhat.com, linux-block@vger.kernel.org, Alasdair G Kergon , Genjian Zhang , Jiangshan Yi , Jilin Yuan , Mikulas Patocka , Milan Broz , Nathan Huckleberry , Nikos Tsironis , Shaomin Deng Subject: Re: [git pull] device mapper changes for 6.1 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Tue, Oct 18, 2022 at 12:20:50PM -0400, Mike Snitzer wrote: > > - Enhance DM ioctl interface to allow returning an error string to > userspace. Depends on exporting is_vmalloc_or_module_addr() to allow > DM core to conditionally free memory allocated with kasprintf(). That really does not sound like a good idea at all. And it does not seem to have any MM or core maintainer signoffs.