Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp239638ybi; Tue, 16 Jul 2019 19:51:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqw49/cXFQO6ldS43xzSWhJ0qkkdBKTqu5ASb+Nv9ffhh6n0y0Cos2vVeWPkXTvD6JEgu7g5 X-Received: by 2002:a63:d04e:: with SMTP id s14mr36149097pgi.189.1563331883363; Tue, 16 Jul 2019 19:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563331883; cv=none; d=google.com; s=arc-20160816; b=U8ETpdJFPlCEZDsWhn112+DgffsuZKaP6lPb4yEMC4u3it8/6n9JpYxt2cSW6tuKaY WkWqKdl/mp4BXaQZr6F8R8EHeyV5QkZVJYnuM6owNCvke3eYqxnzae6lr3k8iVqMUqOf e3+USDBoKBPQ4tm82C2umxvk3Pru1vYTGFCWIm+tSiPcbYAItvTiDIx3nldmMgidw5U+ UgI+wlEazzj7drbMgLjsEE4gwiRRCQFMyrfjDRo83rqFEqUA2vAYCN82kXmNOUzVSVBx qTqxRtySvKrPG5klDONTSkYifbnLguxl2yy4VLflmYLo71mI9Ex+5YaYmteVM3W5BBpZ GEVg== 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:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=pfGCIG//lwlpwIjnlmlEe0IcGWwFZvpDJ6SGAJb7E+w=; b=X6hMS0/U9+p2p6ctyT9YWkfP2t2nB2mArOG4U+jRB+IVuAhB6C2iR0I1DZciqpMRF+ aGZB7EV8XlIXOOUf9WRVn9R0syiJj7FSWDB5TU1+1O1lNk3uHkqhyOaENfKZR1fudUQv DtwiZUOu6m//YrZb64lHZGfJalNvzSj6iEKgiy6QKVjNlK23CkcQ7mQuD9XjYQZJOqFZ PfZvJKkqVgDox8Gsrj2Ul616sBXm/cHf94SpETAzFsGj7YmN6HTmE78wyC1kZnYE+d0t DezUfGM6xdMc94fCagXlS0a0f88mn6e83tbzXXIBEiRqemYiRsPivtpCRQn0vuFKQAwa P86A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=qZsedlFn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m62si22257172pgm.392.2019.07.16.19.51.06; Tue, 16 Jul 2019 19:51:23 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=qZsedlFn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728124AbfGQCsx (ORCPT + 99 others); Tue, 16 Jul 2019 22:48:53 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:34810 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbfGQCsx (ORCPT ); Tue, 16 Jul 2019 22:48:53 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6H2i9fm093863; Wed, 17 Jul 2019 02:48:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2018-07-02; bh=pfGCIG//lwlpwIjnlmlEe0IcGWwFZvpDJ6SGAJb7E+w=; b=qZsedlFn0F6IGP7QFl6bBFglyV51VDvqKi7pBfG6u5OjCdoaFGROuj+vMMj5gAJWRPlg aBEQKFedTIHgfO4r9CvhI5dqRoMI1Ay5i355NQyjW4ZPwoZDpeVTUebX6cCe1OcYLPc1 gGIWfMHgiUTaeKoOuNHzOtxCViIcMw7v0CqbXYYR2dsRwm7fw1ytwM7uEACBIhSmGKX8 SuClFGmaZNvXJHLcm1IGfepBkjcDSEBJTFosB6fXCPI9wRgO83bNic8ZUXi+85yFKoB+ lz5b4ogxkPW6+DJXQqMmHapUDtSB2xz3z70DoZsgAsVnQeWWxHzQfF6rU6LKwQjkBLxi AA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2tq7xqyrkq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jul 2019 02:48:41 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6H2lQHF099298; Wed, 17 Jul 2019 02:48:41 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2tsmcc53va-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jul 2019 02:48:40 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6H2mchj011067; Wed, 17 Jul 2019 02:48:38 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 17 Jul 2019 02:48:38 +0000 To: "Bean Huo \(beanhuo\)" Cc: Alim Akhtar , Avri Altman , Pedro Sousa , "Martin K. Petersen" , "James E.J. Bottomley" , Evan Green , Stanley Chu , "linux-kernel\@vger.kernel.org" , "linux-scsi\@vger.kernel.org" Subject: Re: [PATCH v1] scsi: ufs: change msleep to usleep_range From: "Martin K. Petersen" Organization: Oracle Corporation References: Date: Tue, 16 Jul 2019 22:48:35 -0400 In-Reply-To: (Bean Huo's message of "Mon, 15 Jul 2019 11:21:10 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9320 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=867 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907170033 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9320 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=913 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907170032 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bean, > This patch is to change msleep() to usleep_range() based on > Documentation/timers/timers-howto.txt. It suggests using > usleep_range() for small msec(1ms - 20ms) since msleep() will often > sleep longer than desired value. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering