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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 14 May 2014 00:53:30 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	mchan@...adcom.com
Cc:	acho@...e.com, netdev@...r.kernel.org, bpoirier@...e.de
Subject: Re: [PATCH] use cond_resched() to replace udelay() when dump eeprom

From: Michael Chan <mchan@...adcom.com>
Date: Mon, 12 May 2014 10:48:30 -0700

> We still need to time these commands.  Using cond_resched(), the timing
> becomes unpredictable.  Perhaps we can reduce the NVRAM_CMD_TIMEOUT
> counter by a factor of 100 and use msleep(1) instead of udelay(10).

That should work.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists