Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp235565pxk; Thu, 24 Sep 2020 04:33:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8MG9gRlAGsuTzWyT7z41JFT4eh3Ke5bc5mXdimh7S7CiMAq07DTGOh/ae1ao/+wjKIvsf X-Received: by 2002:a17:906:4c4c:: with SMTP id d12mr458847ejw.491.1600947182630; Thu, 24 Sep 2020 04:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600947182; cv=none; d=google.com; s=arc-20160816; b=AjEa2M3HCrAUJxdTmtOkIYPCu8HeZbJDWyxelrq7xf8frFTdNzKS6Jww3dTM4RrIkt HCc9aUBgBpjV4NT4ddgX8vO/ZSRalVtcm82ZxueMyJv72F0pNxInrNGdgksmhnudbiml SCqzpL9v+NXyogWPvFuO9lPW+c4y7/Z7Men+2OKozQLQgrMxU6fW1nxZP+3GYzf57nqD fO1UdSZqXLFV8/pfRt/msmvENTtmsNfdg+vtvrsLOR0VCB6/BNdXaFrulam4dof/TvMx Y5ikkFBejt3zcFuMbI/ieyahyEZmFV+FsIFtRlsZTJ+mq4W0b7M7aX8/8ntgzpz2pjO2 ZRXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=clUvTAjWxOKB0zT0eA1ARy5x1LjR+x7YhgaXafvUhy4=; b=Eh/3AribW4auk1F3dLShGLUNkLPr9hRpEel7qDnZz0upg6/OX0uFo0S50lauve8fYV IGCbcIU7+814xWjSmqkiZQOHJb8N4edUlLrSOLCEsdWy4LhieAYgVG4NZA0mi4Wj/viO S35QLY4l7KRqCzbEkRkSr0oMtk7BdAtUz9p0/JCVpCosbEt0UmwMelDuincGaB1f3Eow E0g1XvWRRTOHkLuHdNBtkkSC8WOw2sX/4tGsX3243SjldV9t/365SxIrY5VQzThWtt8s iNi83a1syQaceGEiBU9jtrG5YcFlPY9MPuzITPPGKBEqYGbFbddEIGkXTFl+Wjyjc46P mJWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=VxAGt4wU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n24si1898106eji.99.2020.09.24.04.32.38; Thu, 24 Sep 2020 04:33:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=VxAGt4wU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727447AbgIXLbi (ORCPT + 99 others); Thu, 24 Sep 2020 07:31:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:35314 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726617AbgIXLbi (ORCPT ); Thu, 24 Sep 2020 07:31:38 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1600947096; 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=clUvTAjWxOKB0zT0eA1ARy5x1LjR+x7YhgaXafvUhy4=; b=VxAGt4wUGV/PfYiprAcyAstOnKD3EWlzpm56hGOesIFqUrJFqUqRCCy6LvrYDwNAFpIMPH JSQrpwXV0rlQUzxDUi6T2a/WGJfrhqI0C8w4uOJJOrx77fkLCpilVATvMO0V1LSfSrakL7 unytmJKc/h6lLIXMRqIyOX4vFfMpx2o= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 98802AC85; Thu, 24 Sep 2020 11:31:36 +0000 (UTC) Message-ID: <2f997848ed05c1f060125f7567f6bc3fae7410bb.camel@suse.com> Subject: Re: [PATCH 3/4] net: usb: rtl8150: use usb_control_msg_recv() and usb_control_msg_send() From: Oliver Neukum To: Petko Manolov Cc: Himadri Pandya , davem@davemloft.net, kuba@kernel.org, pankaj.laxminarayan.bharadiya@intel.com, keescook@chromium.org, yuehaibing@huawei.com, ogiannou@gmail.com, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, gregkh@linuxfoundation.org Date: Thu, 24 Sep 2020 13:09:05 +0200 In-Reply-To: <20200923144832.GA11151@karbon> References: <20200923090519.361-1-himadrispandya@gmail.com> <20200923090519.361-4-himadrispandya@gmail.com> <1600856557.26851.6.camel@suse.com> <20200923144832.GA11151@karbon> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, den 23.09.2020, 17:48 +0300 schrieb Petko Manolov: > > This internally uses kmemdup() with GFP_KERNEL. > > You cannot make this change. The API does not support it. > > I am afraid we will have to change the API first, before more > > such changes are done. > > One possible fix is to add yet another argument to usb_control_msg_recv(), which > would be the GFP_XYZ flag to pass on to kmemdup(). Up to Greg, of course. Hi, submitted. The problem is those usages that are very hard to trace. I'd dislike to just slab GFP_NOIO on them for no obvious reason. Regards Oliver