Displaying 7 results from an estimated 7 matches for "l787".
Did you mean:
787
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...)` (where CLI child processes talk to a daemonized copy
which tracks the timers for events), around here:
https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626
for the daemon and here for the child:
https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L762-L787
In both cases we run an infinite loop with `select()` to wait up to 1
second and `read()` from the pipe. The common expectation is that if there
is nothing to read, the program blocks in `select()` waiting for a reply
from the kernel, and only returns after the specified timeout - to the
point tha...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...)` (where CLI child processes talk to a daemonized copy
which tracks the timers for events), around here:
https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626
for the daemon and here for the child:
https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L762-L787
In both cases we run an infinite loop with `select()` to wait up to 1
second and `read()` from the pipe. The common expectation is that if there
is nothing to read, the program blocks in `select()` waiting for a reply
from the kernel, and only returns after the specified timeout - to the
point tha...
2019 Feb 01
0
[PATCH v2 5/6] drm/virtio: drop fencing in virtio_gpu_resource_create_ioctl
...uffer, which you can also use to wait for completion in case your
kernel is new enough.
> From the guest driver perspective, a fence is just implemented has a
> virtio 3D resource.
>
> https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c#L787
>
> The DRM_IOCTL_VIRTGPU_WAIT ioctl essentially waits for the reservation
> objects associated with that fence resource to become available. So
> the flow is:
>
> virtio_gpu_execbuffer_ioctl
> virtio_gpu_resource_create_ioctl with fence resource
> virtio_gpu_wait_ioctl w...
2023 Jun 13
2
Upssched 100% CPU after updating Debian 12
...processes talk to a daemonized copy
> which tracks the timers for events), around here:
> https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626
> for the daemon and here for the child:
> https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L762-L787
>
> In both cases we run an infinite loop with `select()` to wait up to 1
> second and `read()` from the pipe. The common expectation is that if there
> is nothing to read, the program blocks in `select()` waiting for a reply
> from the kernel, and only returns after the specified ti...
2023 Jun 13
2
Upssched 100% CPU after updating Debian 12
...processes talk to a daemonized copy
> which tracks the timers for events), around here:
> https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L583-L626
> for the daemon and here for the child:
> https://github.com/networkupstools/nut/blob/v2.8.0/clients/upssched.c#L762-L787
>
> In both cases we run an infinite loop with `select()` to wait up to 1
> second and `read()` from the pipe. The common expectation is that if there
> is nothing to read, the program blocks in `select()` waiting for a reply
> from the kernel, and only returns after the specified ti...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Hi,
I ran the strace command while upssched was 100% CPU hungry. This is what I got:
1686633611.702798 read(7, "", 1) = 0 <0.000004>
1686633611.702816 read(7, "", 1) = 0 <0.000004>
1686633611.702834 pselect6(11, [7 10], NULL, NULL, {tv_sec=1, tv_nsec=0}, NULL) = 1 (in [7], left {tv_sec=0, tv_nsec=999998800}) <0.000006>
1686633611.702862 read(7,
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Hi,
I ran the strace command while upssched was 100% CPU hungry. This is what I got:
1686633611.702798 read(7, "", 1) = 0 <0.000004>
1686633611.702816 read(7, "", 1) = 0 <0.000004>
1686633611.702834 pselect6(11, [7 10], NULL, NULL, {tv_sec=1, tv_nsec=0}, NULL) = 1 (in [7], left {tv_sec=0, tv_nsec=999998800}) <0.000006>
1686633611.702862 read(7,