lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 13 Jan 2012 10:11:15 -0800
From:	Greg KH <greg@...ah.com>
To:	Dmitry Antipov <dmitry.antipov@...aro.org>
Cc:	Steve Glendinning <steve.glendinning@...c.com>,
	Greg Kroah-Hartman <gregkh@...e.de>, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/net/usb/smsc95xx.c: change msleep() to
 usleep_range()

On Fri, Jan 13, 2012 at 03:57:04PM +0400, Dmitry Antipov wrote:
> The resolution of msleep is related to HZ, so 10ms msleep() causes
> ~23ms sleep with OMAP's default CONFIG_HZ=128 timer configuration.
> This looks too much, and usleep_range() with some slack gives more
> control of what is happening here.
> 
> Signed-off-by: Dmitry Antipov <dmitry.antipov@...aro.org>
> ---
>  drivers/net/usb/smsc95xx.c |    6 +++---

drivers/net/* patches need to be sent to netdev@...r.kernel.org to be
properly applied.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ