search for: do_gettimeofday

Displaying 20 results from an estimated 24 matches for "do_gettimeofday".

2019 Jun 06
2
error compiling dahdi for recent kernels
...rs/dahdi/oct612x/oct612x-user.o /local/src/dahdi/dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/oct612x/oct612x-user.c: In function ‘Oct6100UserGetTime’: /local/src/dahdi/dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/oct612x/oct612x-user.c:38:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:277: /local/src/dahdi/dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/oc...
2008 Aug 06
1
[2.6 patch] ocfs2/cluster/tcp.c: make some functions static
...net_debug_item); nst->st_task = task; @@ -153,31 +153,61 @@ void o2net_init_nst(struct o2net_send_tracking *nst, u32 msgtype, nst->st_node = node; } -void o2net_set_nst_sock_time(struct o2net_send_tracking *nst) +static void o2net_set_nst_sock_time(struct o2net_send_tracking *nst) { do_gettimeofday(&nst->st_sock_time); } -void o2net_set_nst_send_time(struct o2net_send_tracking *nst) +static void o2net_set_nst_send_time(struct o2net_send_tracking *nst) { do_gettimeofday(&nst->st_send_time); } -void o2net_set_nst_status_time(struct o2net_send_tracking *nst) +static void o...
2014 Nov 03
1
dmesg error
...D ffff81021ac87040 0 17872 31199 (NOTLB) ffff810124fc7bd8 0000000000000082 ffff81021c8ad200 ffff8101714f4d80 0000000000000000 0000000000000007 ffff81016471b820 ffff81021ac87040 0000e805f8d72d5b 0000000000002d53 ffff81016471ba08 0000000388055b77 Call Trace: [<ffffffff8006ecd9>] do_gettimeofday+0x40/0x90 [<ffffffff8005a412>] getnstimeofday+0x10/0x29 [<ffffffff80028bb2>] sync_page+0x0/0x43 [<ffffffff800637de>] io_schedule+0x3f/0x67 [<ffffffff80028bf0>] sync_page+0x3e/0x43 [<ffffffff80063922>] __wait_on_bit_lock+0x36/0x66 [<ffffffff8003f980>] __lock...
2013 Aug 28
0
Investigating memory performance: bare metal vs. xen-pv vs. xen-hvm
...eboot cc_compiler : gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) To avoid as much noise as possible I''ve got a kernel module in which I''m performing the following straight forward test: for (j = 2; j < 18; j++) { cpysize = 1 << j; cpycnt = size / cpysize; do_gettimeofday(&tvb); for (i = 0; i < loops; ++i) { for (k = 0; k < cpycnt; ++k) { memcpy(src+k*cpysize,dst+k*cpysize,cpysize); } } do_gettimeofday(&tve); msec = timevaldiff(&tvb, &tve); printk(KERN_INFO "Did the loops in %ld msec for cpysize = %d \n", msec, cpysize); } Where...
2012 Feb 16
5
[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping v2
Just updated versions of the patches send by Mario Kleiner. This ones are rebased on top of the nouveau tree and updated according to the review feedback. Regards, Lucas
2008 Feb 26
2
Patch to add debugfs interface to o2net
This is a forward port for net_proc.c from 1.2.
2008 Aug 01
1
[git patches] Ocfs2 and Configfs fixes
The only non-fix here is Joel's new configfs convenience macros, but nobody is using them yet, so I think the patch is safe. By the way, these patches (as usual) are all rebased on top of your latest tree. I think that since the vast majority of ocfs2 and configfs patches are self-contained and within a small area of the kernel that this should probably be fine. If you feel otherwise however,
2012 May 03
0
Strange situation with openssl and kernel
...ay 2 22:48:20 vmail kernel: ffff810002d941a0 000000000000000a ffff810037f5f820 ffff8100b78fc0c0 May 2 22:48:20 vmail kernel: 00001b85cd09baa4 0000000000001325 ffff810037f5fa08 000000008006e665 May 2 22:48:20 vmail kernel: Call Trace: May 2 22:48:20 vmail kernel: [<ffffffff8006ecd9>] do_gettimeofday+0x40/0x90 May 2 22:48:20 vmail kernel: [<ffffffff8005a412>] getnstimeofday+0x10/0x29 May 2 22:48:20 vmail kernel: [<ffffffff8001558e>] sync_buffer+0x0/0x3f May 2 22:48:20 vmail kernel: [<ffffffff800637de>] io_schedule+0x3f/0x67 May 2 22:48:20 vmail kernel: [<ffffffff800...
2013 Jun 06
1
Problem with dahdi XPP driver?
...4565] [<c012b256>] ? getnstimeofday+0x4d/0xca Jun 3 15:03:52 kernel: [361033.894565] [<c012b256>] ? getnstimeofday+0x4d/0xca Jun 3 15:03:52 kernel: [361033.894565] [<f847a002>] ? xframe_receive+0x118/0x52c [xpp] Jun 3 15:03:52 kernel: [361033.894565] [<c012b2e2>] ? do_gettimeofday+0xf/0x29 Jun 3 15:03:52 kernel: [361033.894565] [<f84c50ee>] ? xpp_receive_callback+0x117/0x13e [xpp_usb] Jun 3 15:03:52 kernel: [361033.894565] [<f8065c63>] ? usb_hcd_giveback_urb+0x60/0x8e [usbcore] Jun 3 15:03:52 kernel: [361033.894565] [<f80f867c>] ? qh_completions+0x...
2012 Feb 15
2
[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping
Hi, these are two patches against the nouveau kms driver. The first patch makes sure that pageflip completion events get their vblank count and timestamp from the drm. The second patch from Lucas Stach, here included with his permission, makes sure that the timestamps of vblanks are calculated with high precision and robustness. Both patches together make sure that all timestamps returned by the
2012 Apr 25
2
[PATCH 1/2] drm/nouveau: Use drm_vblank_count_and_time() for pageflip completion events.
...nel the flip will be handled in */ chan = nouveau_fence_channel(new_bo->bo.sync_obj); @@ -550,6 +550,9 @@ nouveau_finish_page_flip(struct nouveau_channel *chan, struct drm_device *dev = chan->dev; struct nouveau_page_flip_state *s; unsigned long flags; + struct timeval tnow, tvbl; + + do_gettimeofday(&tnow); spin_lock_irqsave(&dev->event_lock, flags); @@ -563,12 +566,26 @@ nouveau_finish_page_flip(struct nouveau_channel *chan, struct nouveau_page_flip_state, head); if (s->event) { struct drm_pending_vblank_event *e = s->event; - struct timeval now; - do_...
2012 Jun 05
0
Errors in dmesg
...93e40 0 1793 843 1819 1789 (L-TLB) ffff81183fdc9cf0 0000000000000046 ffff810c3fbe4780 ffff810c3f574600 ffff810c3f574600 000000000000000a ffff810c3f88f7e0 ffff810c3e843860 0011dd0b95e546c6 000000000000a1a4 ffff810c3f88f9c8 0000000400074c00 Call Trace: [<ffffffff8006ecd9>] do_gettimeofday+0x40/0x90 [<ffffffff8005a3ad>] getnstimeofday+0x10/0x29 [<ffffffff800155a2>] sync_buffer+0x0/0x3f [<ffffffff800637de>] io_schedule+0x3f/0x67 [<ffffffff800155dd>] sync_buffer+0x3b/0x3f [<ffffffff80063a0a>] __wait_on_bit+0x40/0x6e [<ffffffff800155a2>] sync_bu...
2013 Mar 28
1
mesa vdpau regression with "dri2: Fix potential race and crash for swap at next vblank."
..._free: kfree(s); return ret; @@ -638,24 +644,16 @@ nouveau_finish_page_flip(struct nouveau_channel *chan, } s = list_first_entry(&fctx->flip, struct nouveau_page_flip_state, head); - if (s->event) { - struct drm_pending_vblank_event *e = s->event; - struct timeval now; - - do_gettimeofday(&now); - e->event.sequence = 0; - e->event.tv_sec = now.tv_sec; - e->event.tv_usec = now.tv_usec; - list_add_tail(&e->base.link, &e->base.file_priv->event_list); - wake_up_interruptible(&e->base.file_priv->event_wait); - } - list_del(&s->head);...
2008 Feb 04
0
[PATCH] o2net: Reconnect after idle time out.
...gt;nn_lock); @@ -1391,6 +1387,7 @@ static void o2net_sc_send_keep_req(struc static void o2net_idle_timer(unsigned long data) { struct o2net_sock_container *sc = (struct o2net_sock_container *)data; + struct o2net_node *nn = o2net_nn_from_num(sc->sc_node->nd_num); struct timeval now; do_gettimeofday(&now); @@ -1413,6 +1410,14 @@ static void o2net_idle_timer(unsigned lo sc->sc_tv_func_start.tv_sec, (long) sc->sc_tv_func_start.tv_usec, sc->sc_tv_func_stop.tv_sec, (long) sc->sc_tv_func_stop.tv_usec); + /* + * Initialize the nn_timeout so that the next connection a...
2008 Feb 13
2
[PATCH] o2net: Reconnect after idle time out.V2
...gt;nn_lock); @@ -1391,6 +1397,7 @@ static void o2net_sc_send_keep_req(struc static void o2net_idle_timer(unsigned long data) { struct o2net_sock_container *sc = (struct o2net_sock_container *)data; + struct o2net_node *nn = o2net_nn_from_num(sc->sc_node->nd_num); struct timeval now; do_gettimeofday(&now); @@ -1413,6 +1420,12 @@ static void o2net_idle_timer(unsigned lo sc->sc_tv_func_start.tv_sec, (long) sc->sc_tv_func_start.tv_usec, sc->sc_tv_func_stop.tv_sec, (long) sc->sc_tv_func_stop.tv_usec); + /* + * Initialize the nn_timeout so that the next connection a...
2013 Aug 12
6
3TB External USB Drive isn't recognized
...) ffff81005fad5640 0000000000000046 ffff81006427ce78 ffffffff800e4df4 0000000000000086 000000000000000a ffff81000ccfd7a0 ffff810037c1b100 0001039304f5b0b1 000000000000a05c ffff81000ccfd988 0000000300000000 Call Trace: [<ffffffff800e4df4>] blkdev_readpage+0x0/0xf [<ffffffff8006e1d7>] do_gettimeofday+0x40/0x90 [<ffffffff80028b44>] sync_page+0x0/0x43 [<ffffffff800e4df4>] blkdev_readpage+0x0/0xf [<ffffffff800637ea>] io_schedule+0x3f/0x67 [<ffffffff80028b82>] sync_page+0x3e/0x43 [<ffffffff8006392e>] __wait_on_bit_lock+0x36/0x66 [<ffffffff8003fce0>] __lock_pa...
2007 Apr 18
1
[PATCH 0/8] lguest
...6-mm1 - Moved to drivers/lguest - Don't bother fflush()ing in verbose(): we always use a \n now anyway. - Remove part of lguest.txt which documents the code: moving them to the code, is in progress. - Move assembler parts of lguest.c out to lguest_asm.S. - Use ktimer_get_real_ts() rather than do_gettimeofday. It's the new black! - Use explicit types (w/ typechecking) for shadow pagetable code. - Use unsigned long for addresses rather than u32. - Comment on wmb(). - Use mask-in, not mask-out on CPUID for more future proofiness. - Implement noop wbinvd (used when cpuid says there's no clflush,...
2007 Apr 18
1
[PATCH 0/8] lguest
...6-mm1 - Moved to drivers/lguest - Don't bother fflush()ing in verbose(): we always use a \n now anyway. - Remove part of lguest.txt which documents the code: moving them to the code, is in progress. - Move assembler parts of lguest.c out to lguest_asm.S. - Use ktimer_get_real_ts() rather than do_gettimeofday. It's the new black! - Use explicit types (w/ typechecking) for shadow pagetable code. - Use unsigned long for addresses rather than u32. - Comment on wmb(). - Use mask-in, not mask-out on CPUID for more future proofiness. - Implement noop wbinvd (used when cpuid says there's no clflush,...
2006 Jul 18
33
Paravirtualised drivers for fully virtualised domains
(The list appears to have eaten my previous attempt to send this. Apologies if you receive multiple copies.) The attached patches allow you to use paravirtualised network and block interfaces from fully virtualised domains, based on Intel''s patches from a few months ago. These are significantly faster than the equivalent ioemu devices, sometimes by more than an order of magnitude.
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths