Displaying 20 results from an estimated 762 matches for "jiffie".
Did you mean:
jiffies
[Bug 1778] New: Skipping garbage collection in nf_conncount.c stops working when jiffies wrap around
2024 Nov 07
0
[Bug 1778] New: Skipping garbage collection in nf_conncount.c stops working when jiffies wrap around
https://bugzilla.netfilter.org/show_bug.cgi?id=1778
Bug ID: 1778
Summary: Skipping garbage collection in nf_conncount.c stops
working when jiffies wrap around
Product: netfilter/iptables
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: nf_conntrack
Assignee: netfilter-buglog at lists.netfilter.org...
2007 Apr 18
4
[Bridge] [Patch] [2.6.7] Bridge - Fix BPDU message_age
...0530
+++ linux-2.6.7/net/bridge/br_stp.c 2004-06-22 19:32:49.015908632 +0530
@@ -161,20 +161,19 @@ void br_transmit_config(struct net_bridg
if (!br_is_root_bridge(br)) {
struct net_bridge_port *root
= br_get_port(br, br->root_port);
- bpdu.max_age = root->message_age_timer.expires - jiffies;
-
- if (bpdu.max_age <= 0) bpdu.max_age = 1;
+ bpdu.message_age = br->max_age -
+ (root->message_age_timer.expires - jiffies) + 1;
}
bpdu.max_age = br->max_age;
bpdu.hello_time = br->hello_time;
bpdu.forward_delay = br->forward_delay;
- br_send_config_bpdu(p, &...
2009 Jun 15
2
clocksource? jiffies?
Hi there,
I''m trying to find out if theres anything wrong with using
extra = "clocksource=jiffies"
in domU configuration.
It seems to fix some problems we''ve had with live migration.
Thanks.
--
Please remember that an email is just like a postcard; it is not
confidential nor private nor secure and can be read by many other people
than the intended recipient. A postcard c...
2007 Jul 22
0
[PATCH] Fix lguest clock when jiffies not available
[ Ingo, Thomas cc'd in case this issue effects normal jiffies clock too? ]
When the Host TSC is unreliable or can change, lguest guests use the
jiffies clock. However, the clock value seems to creep upwards in
sub-jiffies increments, and then tick_handle_periodic() goes into an
infinite loop.
Instead, the host writes the current time into the lguest page...
2007 Jul 22
0
[PATCH] Fix lguest clock when jiffies not available
[ Ingo, Thomas cc'd in case this issue effects normal jiffies clock too? ]
When the Host TSC is unreliable or can change, lguest guests use the
jiffies clock. However, the clock value seems to creep upwards in
sub-jiffies increments, and then tick_handle_periodic() goes into an
infinite loop.
Instead, the host writes the current time into the lguest page...
2015 Sep 28
3
[PATCH 0/1] efi: DNS resolver
...ving the
> recursion limit and retry the same servers several times as the UDP
> packets may get lost. And coding style improvement.
As you noted, you don't accommodate timeouts which is probably the
most critical operation this doesn't have. We can't stay in the query
forever. jiffies() and ms_timer() are the two available in the core.
core/legacynet/dnsresolv.c used jiffies() but ms_timer() should be
dealing with millisecond values, not 55ms jiffies and about CLK_TCK
jiffies per second.
An alternative way to just stub it is to merge everything but the
actual call that starts...
2013 Oct 16
0
答复: Re: DomU's network interface will hung when Dom0 running 32bit
...s network interface hung issue recently, and have
> >> been working on the issue from that time. I find that DomU''s network
> >> interface, which send lesser package, will hung if Dom0 running
> >> 32bit and DomU''s up-time is very long. I think that one jiffies
> >> overflow bug exist in the function tx_credit_exceeded().
> >> I know the inline function time_after_eq(a,b) will process jiffies
> >> overflow, but the function have one limit a should little that (b +
> >> MAX_SIGNAL_LONG). If a large than the value, ti...
2010 Jan 02
8
Resolve "Time went backwards" problem by using jiffies as clocksource
...nts this in console once every second,
[55082.616234] __ratelimit: 1503 messages suppressed
[55082.616234] clocksource/0: Time went backwards: ret=380ab26c53a
I resolved this by following the instructions in "http://wiki.debian.org/Xen",
which is basically changing clocksource to "jiffies".
Now the problem has gone away, I''m wondering if somebody can help me:
1. Is domain-0 not able to set the system time of domain-u the root cause?
I can see this error in console "Unable to set System Clock to: <a
datetime value>",
even after I changed clock...
2011 Jan 10
6
2.6.37 dom0 under Xen 4.1 clocksource not working
When booting 2.6.37 (from kernel.org) under Xen 4.1, there are
apparently issues with timer interrupts being delivered to the dom0.
Repeatedly causing an interrupt (for example, the ACPI power button) will
allow the system to boot, as does adding "clocksource=jiffies" to the
kernel command line. This is only present under Xen, not when booting the
same kernel on real hardware.
When boot with clocksource=jiffies, the system will sometimes freeze
for about 30 seconds and then continue; however, this could be related
to kernel debugging that I have enabled....
2018 Mar 28
2
[PATCH] vhost-net: add time limitation for tx polling(Internet mail)
...;>> +++ b/drivers/vhost/net.c
>>> @@ -473,6 +473,7 @@ static void handle_tx(struct vhost_net *net)
>>> struct socket *sock;
>>> struct vhost_net_ubuf_ref *uninitialized_var(ubufs);
>>> bool zcopy, zcopy_used;
>>> + unsigned long start = jiffies;
>> Checking jiffies is tricky, need to convert it to ms or whatever others.
>>
>>>
>>> mutex_lock(&vq->mutex);
>>> sock = vq->private_data;
>>> @@ -580,7 +581,7 @@ static void handle_tx(struct vhost_net *net)
>>>...
2018 Mar 28
2
[PATCH] vhost-net: add time limitation for tx polling(Internet mail)
...;>> +++ b/drivers/vhost/net.c
>>> @@ -473,6 +473,7 @@ static void handle_tx(struct vhost_net *net)
>>> struct socket *sock;
>>> struct vhost_net_ubuf_ref *uninitialized_var(ubufs);
>>> bool zcopy, zcopy_used;
>>> + unsigned long start = jiffies;
>> Checking jiffies is tricky, need to convert it to ms or whatever others.
>>
>>>
>>> mutex_lock(&vq->mutex);
>>> sock = vq->private_data;
>>> @@ -580,7 +581,7 @@ static void handle_tx(struct vhost_net *net)
>>>...
2007 Apr 18
2
[PATCH RFC] Change softlockup watchdog to ignore stolen time
...g uses sched_clock() to measure time, it would
automatically ignore stolen time, and therefore only report when the
guest itself locked up. When running native, sched_clock() returns
real-time nanoseconds, so the behaviour would be unchanged.
Does this seem sound?
Also, softlockup.c's use of jiffies seems archaic now. Should it be
converted to use timers? Mightn't it report lockups just because there
was no timer event?
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
diff -r b41fb9e70d72 kernel/softlockup.c
--- a/kernel/softlockup.c Thu Mar 22 16:25:15 2007 -0700
+++ b...
2007 Apr 18
2
[PATCH RFC] Change softlockup watchdog to ignore stolen time
...g uses sched_clock() to measure time, it would
automatically ignore stolen time, and therefore only report when the
guest itself locked up. When running native, sched_clock() returns
real-time nanoseconds, so the behaviour would be unchanged.
Does this seem sound?
Also, softlockup.c's use of jiffies seems archaic now. Should it be
converted to use timers? Mightn't it report lockups just because there
was no timer event?
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
diff -r b41fb9e70d72 kernel/softlockup.c
--- a/kernel/softlockup.c Thu Mar 22 16:25:15 2007 -0700
+++ b...
2015 Mar 09
2
[PATCH] 9p/trans_virtio: fix hot-unplug
...iv;
-
- if (chan->inuse)
- p9_virtio_close(chan->client);
- vdev->config->del_vqs(vdev);
+ unsigned long warning_time;
+ bool inuse;
mutex_lock(&virtio_9p_lock);
+
+ /* Remove self from list so we don't get new users. */
list_del(&chan->chan_list);
+ warning_time = jiffies;
+
+ /* Wait for existing users to close. */
+ while (chan->inuse) {
+ mutex_unlock(&virtio_9p_lock);
+ msleep(250);
+ if (time_after(jiffies, warning_time + 10 * HZ)) {
+ dev_emerg(&vdev->dev, "p9_virtio_remove: "
+ "waiting for device in use.\n...
2015 Mar 09
2
[PATCH] 9p/trans_virtio: fix hot-unplug
...iv;
-
- if (chan->inuse)
- p9_virtio_close(chan->client);
- vdev->config->del_vqs(vdev);
+ unsigned long warning_time;
+ bool inuse;
mutex_lock(&virtio_9p_lock);
+
+ /* Remove self from list so we don't get new users. */
list_del(&chan->chan_list);
+ warning_time = jiffies;
+
+ /* Wait for existing users to close. */
+ while (chan->inuse) {
+ mutex_unlock(&virtio_9p_lock);
+ msleep(250);
+ if (time_after(jiffies, warning_time + 10 * HZ)) {
+ dev_emerg(&vdev->dev, "p9_virtio_remove: "
+ "waiting for device in use.\n...
2009 Sep 29
0
Resolution of jiffies Timer
Hi,
I''m using Xen 3.2.1 with 2.6.26 as Dom0 and DomU in the x86_64
Versions/Builds as provided by Debian Lenny.
I noticed that when using "jiffies" as clocksource, the resolution of
the timers in a DomU is 4ms, e.g. ping shows only runtimes in 4ms
increments [1]. When using "xen" the resolution is fine (didn''t make
exact measurements) but xen is a no-go when migrating guests between Dom0s.
Is the 4ms resolution be...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...27 14:01:28 2007 -0800
+++ b/arch/i386/kernel/vmitime.c Tue Feb 27 14:12:01 2007 -0800
@@ -276,15 +276,12 @@ static void vmi_account_real_cycles(unsi
cycles_not_accounted = cur_real_cycles - real_cycles_accounted_system;
while (cycles_not_accounted >= cycles_per_jiffy) {
- /* systems wide jiffies and wallclock. */
+ /* systems wide jiffies. */
do_timer(1);
cycles_not_accounted -= cycles_per_jiffy;
real_cycles_accounted_system += cycles_per_jiffy;
}
-
- if (vmi_timer_ops.wallclock_updated())
- update_xtime_from_wallclock();
write_sequnlock(&xtime_lock);
}
@@ -380,7 +...
2007 Apr 18
0
[PATCH 1/9] Vmi timer fixes round two.patch
...27 14:01:28 2007 -0800
+++ b/arch/i386/kernel/vmitime.c Tue Feb 27 14:12:01 2007 -0800
@@ -276,15 +276,12 @@ static void vmi_account_real_cycles(unsi
cycles_not_accounted = cur_real_cycles - real_cycles_accounted_system;
while (cycles_not_accounted >= cycles_per_jiffy) {
- /* systems wide jiffies and wallclock. */
+ /* systems wide jiffies. */
do_timer(1);
cycles_not_accounted -= cycles_per_jiffy;
real_cycles_accounted_system += cycles_per_jiffy;
}
-
- if (vmi_timer_ops.wallclock_updated())
- update_xtime_from_wallclock();
write_sequnlock(&xtime_lock);
}
@@ -380,7 +...
2017 Feb 20
2
Linking Linux kernel with LLD
...ink current issue with "Kernel panic - not syncing: IO-APIC + timer doesn't work!" is also clear.
timer_irq_works(void) never returns 1:
https://github.com/torvalds/linux/blob/d966564fcdc19e13eb6ba1fbe6b8101070339c3d/arch/x86/kernel/apic/io_apic.c#L1641
I think it happens because of jiffies (http://www.makelinux.net/books/lkd2/ch10lev1sec3#ch10fig01)
It should have the same address as jiffies_64:
https://github.com/torvalds/linux/blob/b66484cd74706fa8681d051840fe4b18a3da40ff/arch/x86/kernel/vmlinux.lds.S#L41
And that is true for BFD linked binary:
10595: ffffffff8140b000 8 OBJ...
2013 Aug 26
0
[PATCH] bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones
...imer_pending(&br->ip4_multicast_querier_timer))
return;
memset(&br_group.u, 0, sizeof(br_group.u));
@@ -804,20 +823,41 @@ static void br_multicast_send_query(struct net_bridge *br,
br_group.proto = htons(ETH_P_IP);
__br_multicast_send_query(br, port, &br_group);
+ time = jiffies;
+ time += sent < br->multicast_startup_query_count ?
+ br->multicast_startup_query_interval :
+ br->multicast_query_interval;
+ mod_timer(port ? &port->ip4_multicast_query_timer :
+ &br->ip4_multicast_query_timer, time);
+}
+
#if IS_ENABLED(CONFIG_IPV6)
+static voi...