Displaying 17 results from an estimated 17 matches for "1154,11".
Did you mean:
114,11
2005 Aug 20
0
[PATCH] remove some FZIGZAG
..._zzi=zzi;
}
/*Expands all other zero run/value combo tokens.*/
void oc_token_expand_run(int _token,int _extra_bits,
- ogg_int16_t _dct_coeffs[64],int *_zzi){
+ ogg_int16_t _dct_coeffs[128],int *_zzi){
static const int NZEROS_ADJUST[OC_NDCT_RUN_MAX-OC_DCT_RUN_CAT1B]={
6,10,1,2
};
@@ -1154,11 +1154,11 @@
_token-=OC_DCT_RUN_CAT1B;
rl=(_extra_bits&NZEROS_MASK[_token])+NZEROS_ADJUST[_token];
zzi=*_zzi;
- while(rl-->0)_dct_coeffs[OC_FZIG_ZAG[zzi++]]=0;
+ while(rl-->0)_dct_coeffs[zzi++]=0;
valsigned[0]=VALUE_ADJUST[_token]+
(_extra_bits>>VALUE_SHIFT[_toke...
2019 Apr 25
2
[PATCH net] vhost_net: fix possible infinite loop
...n from workqueue - which acts as
@@ -1134,6 +1134,7 @@ static void handle_rx(struct vhost_net *net)
struct iov_iter fixup;
__virtio16 num_buffers;
int recv_pkts = 0;
+ bool next_round = false;
mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
sock = vq->private_data;
@@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
vq->log : NULL;
mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
- while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
- &busyloop_intr))) {
+ do {
+ sock_len = vhost_net_rx_peek_head_len(net, sock-&g...
2019 Apr 25
2
[PATCH net] vhost_net: fix possible infinite loop
...n from workqueue - which acts as
@@ -1134,6 +1134,7 @@ static void handle_rx(struct vhost_net *net)
struct iov_iter fixup;
__virtio16 num_buffers;
int recv_pkts = 0;
+ bool next_round = false;
mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
sock = vq->private_data;
@@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
vq->log : NULL;
mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
- while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
- &busyloop_intr))) {
+ do {
+ sock_len = vhost_net_rx_peek_head_len(net, sock-&g...
2017 Dec 01
0
[PATCH 3/3] tap: free skb if flags error
...829,11 @@ static ssize_t tap_do_read(struct tap_queue *q,
> DEFINE_WAIT(wait);
> ssize_t ret = 0;
>
> - if (!iov_iter_count(to))
> + if (!iov_iter_count(to)) {
> + if (skb)
> + kfree_skb(skb);
> return 0;
> + }
>
> if (skb)
> goto put;
> @@ -1154,11 +1157,14 @@ static int tap_recvmsg(struct socket *sock, struct msghdr *m,
> size_t total_len, int flags)
> {
> struct tap_queue *q = container_of(sock, struct tap_queue, sock);
> + struct sk_buff *skb = m->msg_control;
> int ret;
> - if (flags & ~(MSG_DONT...
2017 Dec 01
0
[PATCH 3/3] tap: free skb if flags error
...00644
--- a/drivers/net/tap.c
+++ b/drivers/net/tap.c
@@ -829,8 +829,11 @@ static ssize_t tap_do_read(struct tap_queue *q,
DEFINE_WAIT(wait);
ssize_t ret = 0;
- if (!iov_iter_count(to))
+ if (!iov_iter_count(to)) {
+ if (skb)
+ kfree_skb(skb);
return 0;
+ }
if (skb)
goto put;
@@ -1154,11 +1157,14 @@ static int tap_recvmsg(struct socket *sock, struct msghdr *m,
size_t total_len, int flags)
{
struct tap_queue *q = container_of(sock, struct tap_queue, sock);
+ struct sk_buff *skb = m->msg_control;
int ret;
- if (flags & ~(MSG_DONTWAIT|MSG_TRUNC))
+ if (flags &...
2019 Apr 26
2
[PATCH net] vhost_net: fix possible infinite loop
...truct vhost_net *net)
>> struct iov_iter fixup;
>> __virtio16 num_buffers;
>> int recv_pkts = 0;
>> + bool next_round = false;
>>
>> mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
>> sock = vq->private_data;
>> @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
>> vq->log : NULL;
>> mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
>>
>> - while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
>> - &busyloop_intr))) {
>> + d...
2019 Apr 26
2
[PATCH net] vhost_net: fix possible infinite loop
...truct vhost_net *net)
>> struct iov_iter fixup;
>> __virtio16 num_buffers;
>> int recv_pkts = 0;
>> + bool next_round = false;
>>
>> mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
>> sock = vq->private_data;
>> @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
>> vq->log : NULL;
>> mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
>>
>> - while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
>> - &busyloop_intr))) {
>> + d...
2017 Dec 01
9
[PATCH net,stable v4 0/3] vhost: fix a few skb leaks
From: Wei Xu <wexu at redhat.com>
Matthew found a roughly 40% tcp throughput regression with commit
c67df11f(vhost_net: try batch dequing from skb array) as discussed
in the following thread:
https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html
v4:
- fix zero iov iterator count in tap/tap_do_read()(Jason)
- don't put tun in case of EBADFD(Jason)
- Replace
2017 Dec 01
9
[PATCH net,stable v4 0/3] vhost: fix a few skb leaks
From: Wei Xu <wexu at redhat.com>
Matthew found a roughly 40% tcp throughput regression with commit
c67df11f(vhost_net: try batch dequing from skb array) as discussed
in the following thread:
https://www.mail-archive.com/netdev at vger.kernel.org/msg187936.html
v4:
- fix zero iov iterator count in tap/tap_do_read()(Jason)
- don't put tun in case of EBADFD(Jason)
- Replace
2019 May 12
2
[PATCH net] vhost_net: fix possible infinite loop
...> ????? __virtio16 num_buffers;
> > > > ????? int recv_pkts = 0;
> > > > +??? bool next_round = false;
> > > > ? ????? mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
> > > > ????? sock = vq->private_data;
> > > > @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
> > > > ????????? vq->log : NULL;
> > > > ????? mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
> > > > ? -??? while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
> > > > -??...
2019 May 12
2
[PATCH net] vhost_net: fix possible infinite loop
...> ????? __virtio16 num_buffers;
> > > > ????? int recv_pkts = 0;
> > > > +??? bool next_round = false;
> > > > ? ????? mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
> > > > ????? sock = vq->private_data;
> > > > @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
> > > > ????????? vq->log : NULL;
> > > > ????? mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
> > > > ? -??? while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
> > > > -??...
2019 Apr 25
0
[PATCH net] vhost_net: fix possible infinite loop
...4,6 +1134,7 @@ static void handle_rx(struct vhost_net *net)
> struct iov_iter fixup;
> __virtio16 num_buffers;
> int recv_pkts = 0;
> + bool next_round = false;
>
> mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
> sock = vq->private_data;
> @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
> vq->log : NULL;
> mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
>
> - while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
> - &busyloop_intr))) {
> + do {
> + sock_len = vhos...
2019 May 05
0
[PATCH net] vhost_net: fix possible infinite loop
...???? struct iov_iter fixup;
>>> ????? __virtio16 num_buffers;
>>> ????? int recv_pkts = 0;
>>> +??? bool next_round = false;
>>> ? ????? mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
>>> ????? sock = vq->private_data;
>>> @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
>>> ????????? vq->log : NULL;
>>> ????? mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
>>> ? -??? while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
>>> -?????????????????????????????...
2019 May 13
0
[PATCH net] vhost_net: fix possible infinite loop
...??? __virtio16 num_buffers;
>>>>> ????? int recv_pkts = 0;
>>>>> +??? bool next_round = false;
>>>>> ? ????? mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
>>>>> ????? sock = vq->private_data;
>>>>> @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
>>>>> ????????? vq->log : NULL;
>>>>> ????? mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
>>>>> ? -??? while ((sock_len = vhost_net_rx_peek_head_len(net, sock->sk,
>>>>&...
2019 May 14
1
[PATCH net] vhost_net: fix possible infinite loop
...t; > > ????? int recv_pkts = 0;
> > > > > > +??? bool next_round = false;
> > > > > > ? ????? mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX);
> > > > > > ????? sock = vq->private_data;
> > > > > > @@ -1153,8 +1154,11 @@ static void handle_rx(struct vhost_net *net)
> > > > > > ????????? vq->log : NULL;
> > > > > > ????? mergeable = vhost_has_feature(vq, VIRTIO_NET_F_MRG_RXBUF);
> > > > > > ? -??? while ((sock_len = vhost_net_rx_peek_head_len(net, soc...
2007 Sep 25
50
[patch 00/43] lguest: Patches for 2.6.24 (and patchbomb test)
Hi all,
These are the patches I'm planning to submit for 2.6.24. Comments
gratefully accepted. Along with the usual cleanups and improvements are Jes'
de-i386-ification patches, and a new "virtio" mechanism designed to be shared
with KVM (and hopefully other hypervisors).
Cheers,
Rusty.
Documentation/lguest/Makefile | 30
Documentation/lguest/lguest.c
2007 Sep 25
50
[patch 00/43] lguest: Patches for 2.6.24 (and patchbomb test)
Hi all,
These are the patches I'm planning to submit for 2.6.24. Comments
gratefully accepted. Along with the usual cleanups and improvements are Jes'
de-i386-ification patches, and a new "virtio" mechanism designed to be shared
with KVM (and hopefully other hypervisors).
Cheers,
Rusty.
Documentation/lguest/Makefile | 30
Documentation/lguest/lguest.c