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] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 06 Oct 2008 13:16:15 -0400
From:	George Nychis <gnychis@....edu>
To:	Thomas Gleixner <tglx@...utronix.de>
CC:	"Randy.Dunlap" <rdunlap@...otime.net>, linux-kernel@...r.kernel.org
Subject: Re: [patch] Re: how to link to hrtimers in the kernel



Thomas Gleixner wrote:
> On Mon, 6 Oct 2008, Randy.Dunlap wrote:
>> On Mon, 6 Oct 2008, George Nychis wrote:
>>
>>> Hi all,
>>>
>>> I have modified drivers/usb/core/devio.c to use hrtimer_nanosleep(), and have
>>> included linux/hrtimer.h with it.
> 
> Please do not use hrtimer_nanosleep() in drivers. That's
> wrong.
> 
> What do you want to achieve ?
>  

I am trying to sleep at the microsecond level, which ssleep and msleep 
cannot provide.  I couldn't find any other nanosleep method in the kernel.

I found information by searching the net on using jiffies to accomplish 
sleep periods, but that is not high enough in resolution.

I'd greatly appreciate any feedback.

Thanks!
George
--
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