Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1886569ybl; Thu, 30 Jan 2020 07:44:55 -0800 (PST) X-Google-Smtp-Source: APXvYqyBF0Pd8OqnlaHv0zxZkTwvvAr6AAaiaz2UaJDbc8iUJg3dj8fdC2Z6By+XLCsDwXt9IlNl X-Received: by 2002:a9d:66c1:: with SMTP id t1mr3663654otm.73.1580399095480; Thu, 30 Jan 2020 07:44:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580399095; cv=none; d=google.com; s=arc-20160816; b=uYCTGx+0P5lKluTC5FGpnHiAY84TEdm8zNmuPf7Zjl1wKkbR6TmDAV6WJv0IKHavAl IeR/hIzzvaUdh6s7otJKEwammHB/5CAhDZoxqH5lQTG13XAQsJB4SYE5p7RkkocEAJZW jcPfqkvpE26bEow61jcrOvp3HGZ/xx7usjl4RgHKcjD8RD7ypmdfLJ8ft1nU8ceC08// dfLaV8HzyQZkj2kH02mYfJYgjpY9KXgAnnpHQDkj/Madxdf6KhA09JM3NcI8UWbMCJl3 twxEmU92/b7lsh13Yx4nPVc1lhri5LPL8dCMtVE3nA/4EBTbd/nIlRP8pBRWcziuHkWq fckg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=E640G7xpq8EEqGFGhViiBLIgmtWUBEZ/NNaf7LrXPi4=; b=ABmRdleTPF3tY8vG343DwEXMRCRXnkMRG1JSluKbKXOhdYUD15WI7Srth6xKVxn90c U26UIbnX03QoYyTRa6bDmcu3+OHnrS3/FilUDLD5a+bf7uWz/yE1wrfeNvDTBUDG8Zag 6Ik2Yf8a/Vxd88aK4GJ/kaBbKuCZZBJRTKFBDYonLuARlMuojTONbwSlBreFFTjbsekz /RNm3cVnefGL5ig0UrtqMoVGILNyVzNsoK09XxZ4RxqCxAwUOz4gpa5tN2hKIVD60gT4 3axTLktN6urdfp8WSWHzroJKc15h0tLBx3UIz7CpDEA0TyiWwKMwv2NR5YzaoApa7P/W No4Q== 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 g17si3277343otr.261.2020.01.30.07.44.43; Thu, 30 Jan 2020 07:44:55 -0800 (PST) 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 S1727314AbgA3Pni (ORCPT + 99 others); Thu, 30 Jan 2020 10:43:38 -0500 Received: from mx2.suse.de ([195.135.220.15]:36464 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726948AbgA3Pni (ORCPT ); Thu, 30 Jan 2020 10:43:38 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0319FAFCC; Thu, 30 Jan 2020 15:43:37 +0000 (UTC) Date: Thu, 30 Jan 2020 07:33:28 -0800 From: Davidlohr Bueso To: Johan Hovold Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] USB: serial: relax unthrottle memory barrier Message-ID: <20200130153328.jt5stb4svajrbkf6@linux-p48b> References: <20200130100658.683-1-johan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200130100658.683-1-johan@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Jan 2020, Johan Hovold wrote: >Commit a8d78d9f3856 ("USB: serial: clean up throttle handling") >converted the throttle handling to use atomic bitops. This means that we >can relax the smp_mb() in unthrottle() to smp_mb__after_atomic(), which >for example is a no-op on architectures like x86 that provide fully >ordered atomics. > >Signed-off-by: Johan Hovold Reviewed-by: Davidlohr Bueso