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-next>] [day] [month] [year] [list]
Date:	Wed, 1 Sep 2010 18:17:23 +0530
From:	Jaswinder Singh Rajput <jaswinderlinux@...il.com>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"the arch/x86 maintainers" <x86@...nel.org>
Subject: Issues in Linux HPET example

Hello,

By executing Documentation/timers/hpet_example.c

for polling, I requested for 3 iterations but it seems iteration work
for only 2 as first expired time is always very small.

[root@...book timers]# ./hpet_example poll /dev/hpet 10 3
-hpet: executing poll
hpet_poll: info.hi_flags 0x0
hpet_poll: expired time = 0x13
hpet_poll: revents = 0x1
hpet_poll: data 0x1
hpet_poll: expired time = 0x1868c
hpet_poll: revents = 0x1
hpet_poll: data 0x1
hpet_poll: expired time = 0x18645
hpet_poll: revents = 0x1
hpet_poll: data 0x1
[root@...book timers]#

for fasync, I requested for 3 iterations but it shows 4 counts.

[root@...book timers]# ./hpet_example fasync /dev/hpet 10 3
-hpet: executing fasync
hpet_fasync: info.hi_flags 0x0
hpet_sigio: called
hpet_sigio: called
hpet_fasync: count = 2
hpet_sigio: called
hpet_fasync: count = 3
hpet_sigio: called
hpet_fasync: count = 4
[root@...book timers]#

How can I fix these issues.

Thanks,
--
Jaswinder Singh.
--
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