search for: 477,7

Displaying 20 results from an estimated 92 matches for "477,7".

Did you mean: 407,7
2011 Feb 15
2
[PATCH] virtio: use __GFP_NOWARN for try_fill_recv in virtnet_poll
...-off-by: Michal Hocko <mhocko at suse.cz> --- drivers/net/virtio_net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 90a23e4..aea1e51 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -477,7 +477,7 @@ again: } if (vi->num < vi->max / 2) { - if (!try_fill_recv(vi, GFP_ATOMIC)) + if (!try_fill_recv(vi, GFP_ATOMIC|__GFP_NOWARN)) schedule_delayed_work(&vi->refill, 0); } -- 1.7.2.3 -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Pr...
2011 Feb 15
2
[PATCH] virtio: use __GFP_NOWARN for try_fill_recv in virtnet_poll
...-off-by: Michal Hocko <mhocko at suse.cz> --- drivers/net/virtio_net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 90a23e4..aea1e51 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -477,7 +477,7 @@ again: } if (vi->num < vi->max / 2) { - if (!try_fill_recv(vi, GFP_ATOMIC)) + if (!try_fill_recv(vi, GFP_ATOMIC|__GFP_NOWARN)) schedule_delayed_work(&vi->refill, 0); } -- 1.7.2.3 -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Pr...
2014 Jan 30
3
[PATCH] drm/nouveau: set irq_enabled manually
...rm_device *dev, unsigned long flags) if (ret) goto fail_device; + dev->irq_enabled = true; + /* workaround an odd issue on nvc1 by disabling the device's * nosnoop capability. hopefully won't cause issues until a * better fix is found - assuming there is one... @@ -475,6 +477,7 @@ nouveau_drm_remove(struct pci_dev *pdev) struct nouveau_drm *drm = nouveau_drm(dev); struct nouveau_object *device; + dev->irq_enabled = false; device = drm->client.base.device; drm_put_dev(dev); -- 1.8.3.2
2023 Aug 17
1
[PATCH net-next v2] virtio_net: Introduce skb_vnet_common_hdr to avoid typecasting
...tatic inline struct virtio_net_hdr_mrg_rxbuf *skb_vnet_hdr(struct sk_buff *skb) +static inline struct virtio_net_common_hdr * +skb_vnet_common_hdr(struct sk_buff *skb) { - return (struct virtio_net_hdr_mrg_rxbuf *)skb->cb; + return (struct virtio_net_common_hdr *)skb->cb; } /* @@ -469,7 +477,7 @@ static struct sk_buff *page_to_skb(struct virtnet_info *vi, unsigned int headroom) { struct sk_buff *skb; - struct virtio_net_hdr_mrg_rxbuf *hdr; + struct virtio_net_common_hdr *hdr; unsigned int copy, hdr_len, hdr_padded_len; struct page *page_to_free = NULL; int tailroom, sh...
2007 Jun 26
2
RFC: multiple address spaces for one process
...k->mm_avail); + /* paranoia */ + tsk->mm_avail = NULL; +} Index: linux-2.6/kernel/fork.c =================================================================== --- linux-2.6.orig/kernel/fork.c 2007-06-07 19:13:00.000000000 -0400 +++ linux-2.6/kernel/fork.c 2007-06-26 06:30:18.000000000 -0400 @@ -477,7 +477,7 @@ * Allocate a new mm structure and copy contents from the * mm structure of the passed in task structure. */ -static struct mm_struct *dup_mm(struct task_struct *tsk) +struct mm_struct *dup_mm(struct task_struct *tsk) { struct mm_struct *mm, *oldmm = current->mm; int err; @...
2007 Jun 26
2
RFC: multiple address spaces for one process
...k->mm_avail); + /* paranoia */ + tsk->mm_avail = NULL; +} Index: linux-2.6/kernel/fork.c =================================================================== --- linux-2.6.orig/kernel/fork.c 2007-06-07 19:13:00.000000000 -0400 +++ linux-2.6/kernel/fork.c 2007-06-26 06:30:18.000000000 -0400 @@ -477,7 +477,7 @@ * Allocate a new mm structure and copy contents from the * mm structure of the passed in task structure. */ -static struct mm_struct *dup_mm(struct task_struct *tsk) +struct mm_struct *dup_mm(struct task_struct *tsk) { struct mm_struct *mm, *oldmm = current->mm; int err; @...
2007 Aug 05
1
[PATCH] Unbound modifiers and CompNoMask
...CompAction *action; - unsigned int modMask = REAL_MOD_MASK & ~d->ignoredModMask; + unsigned int modMask = (REAL_MOD_MASK & ~d->ignoredModMask) + | CompNoMask; unsigned int bindMods; unsigned int mods; @@ -477,7 +480,8 @@ triggerStateNotifyBindings (CompDisplay *d, { CompActionState state; CompAction *action; - unsigned int modMask = REAL_MOD_MASK & ~d->ignoredModMask; + unsigned int modMask = (REAL_MOD_MASK & ~d->ignoredModMask) +...
2023 Aug 17
1
[PATCH net-next v2] virtio_net: Introduce skb_vnet_common_hdr to avoid typecasting
...hdr(struct sk_buff *skb) > +static inline struct virtio_net_common_hdr * > +skb_vnet_common_hdr(struct sk_buff *skb) > { > - return (struct virtio_net_hdr_mrg_rxbuf *)skb->cb; > + return (struct virtio_net_common_hdr *)skb->cb; > } > > /* > @@ -469,7 +477,7 @@ static struct sk_buff *page_to_skb(struct virtnet_info *vi, > unsigned int headroom) > { > struct sk_buff *skb; > - struct virtio_net_hdr_mrg_rxbuf *hdr; > + struct virtio_net_common_hdr *hdr; > unsigned int copy...
2012 Dec 21
0
File Attachments for previous bug report
...666675070 -0800 +++ schnorr.c 2012-12-19 17:29:14.920563605 -0800 @@ -101,7 +101,7 @@ SCHNORR_DEBUG_BN((h, "%s: h = ", __func__)); out: buffer_free(&b); - bzero(digest, digest_len); + memset(digest, 0, digest_len); xfree(digest); digest_len = 0; if (success == 0) @@ -477,7 +477,7 @@ success = 0; out: EVP_MD_CTX_cleanup(&evp_md_ctx); - bzero(digest, sizeof(digest)); + memset(digest, 0, sizeof(digest)); digest_len = 0; return success; } @@ -570,7 +570,7 @@ BN_clear_free(grp->p); if (grp->q != NULL) BN_clear_free(grp->q); - bzero(...
2018 Apr 03
0
[PATCH] vhost-net: add limitation of sent packets for tx polling
...red before requeueing the job. > + * Using this limit prevents one virtqueue from starving rx. */ > +#define VHOST_NET_PKT_WEIGHT 512 > + > /* MAX number of TX used buffers for outstanding zerocopy */ > #define VHOST_MAX_PEND 128 > #define VHOST_GOODCOPY_LEN 256 > @@ -473,6 +477,7 @@ static void handle_tx(struct vhost_net *net) > struct socket *sock; > struct vhost_net_ubuf_ref *uninitialized_var(ubufs); > bool zcopy, zcopy_used; > + int sent_pkts = 0; > > mutex_lock(&vq->mutex); > sock = vq->private_data; > @@ -580,7 +585,8 @@...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
..." # swap root config logging data" local space_left=$BOOTDRIVESPACE + elif [ "$OVIRT_ROOT_INSTALL" == "n" ]; then + partlist="swap config logging data" else partlist="swap root config logging data" fi @@ -459,7 +477,7 @@ set /files$OVIRT_DEFAULTS/OVIRT_VOL_LOGGING_SIZE $LOGGING_SIZE set /files$OVIRT_DEFAULTS/OVIRT_VOL_DATA_SIZE $DATA_SIZE EOF - if [ -n $BOOTDRIVE ]; then + if [ -n "$BOOTDRIVE" ]; then augtool <<EOF set /files$OVIRT_DEFAULTS/OVIRT_BOOT_INIT $BOOTDRIVE EOF @@ -4...
2018 Apr 09
0
[PATCH] vhost-net: set packet weight of tx polling to 2 * vq size
...ng the job. > + * Using this limit prevents one virtqueue from starving rx. */ > +#define VHOST_NET_PKT_WEIGHT(vq) ((vq)->num * 2) > + > /* MAX number of TX used buffers for outstanding zerocopy */ > #define VHOST_MAX_PEND 128 > #define VHOST_GOODCOPY_LEN 256 > @@ -473,6 +477,7 @@ static void handle_tx(struct vhost_net *net) > struct socket *sock; > struct vhost_net_ubuf_ref *uninitialized_var(ubufs); > bool zcopy, zcopy_used; > + int sent_pkts = 0; > > mutex_lock(&vq->mutex); > sock = vq->private_data; > @@ -580,7 +585,8 @@...
2018 Apr 03
0
[PATCH] vhost-net: add limitation of sent packets for tx polling
...it prevents one virtqueue from starving rx. */ > >> +#define VHOST_NET_PKT_WEIGHT 512 > >> + > >> /* MAX number of TX used buffers for outstanding zerocopy */ > >> #define VHOST_MAX_PEND 128 > >> #define VHOST_GOODCOPY_LEN 256 > >> @@ -473,6 +477,7 @@ static void handle_tx(struct vhost_net *net) > >> struct socket *sock; > >> struct vhost_net_ubuf_ref *uninitialized_var(ubufs); > >> bool zcopy, zcopy_used; > >> + int sent_pkts = 0; > >> > >> mutex_lock(&vq->mutex); >...
2018 Apr 09
0
[PATCH] vhost-net: set packet weight of tx polling to 2 * vq size
...from starving rx. */ > > > +#define VHOST_NET_PKT_WEIGHT(vq) ((vq)->num * 2) > > > + > > > /* MAX number of TX used buffers for outstanding zerocopy */ > > > #define VHOST_MAX_PEND 128 > > > #define VHOST_GOODCOPY_LEN 256 > > > @@ -473,6 +477,7 @@ static void handle_tx(struct vhost_net *net) > > > struct socket *sock; > > > struct vhost_net_ubuf_ref *uninitialized_var(ubufs); > > > bool zcopy, zcopy_used; > > > + int sent_pkts = 0; > > > > > > mutex_lock(&vq->mutex);...
2024 Oct 04
1
[PATCH v2 1/2] drm/ttm: Change ttm_device_init to use a struct instead of multiple bools
...e_kunit_init(priv, ttm_dev, false, > > > false); > > > + err = ttm_device_kunit_init(priv, ttm_dev, (struct > > > ttm_device_init_flags){}); > > > ?? KUNIT_ASSERT_EQ(test, err, 0); > > > ?? priv->ttm_dev = ttm_dev; > > > ? > > > @@ -477,7 +477,7 @@ static void ttm_bo_pin_basic(struct kunit > > > *test) > > > ?? ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), > > > GFP_KERNEL); > > > ?? KUNIT_ASSERT_NOT_NULL(test, ttm_dev); > > > ? > > > - err = ttm_device_kunit_init(priv, ttm_...
2017 Jun 19
0
[PATCH v7 13/13] daemon: Link guestfsd with libutils.
...cmd, size_t argc, char *const *const argv) static char * debug_ls (const char *subcmd, size_t argc, char *const *const argv) { - const size_t len = count_strings (argv); + const size_t len = guestfs_int_count_strings (argv); CLEANUP_FREE const char **cargv = NULL; size_t i; int r; @@ -477,7 +477,7 @@ debug_ls (const char *subcmd, size_t argc, char *const *const argv) static char * debug_ll (const char *subcmd, size_t argc, char *const *const argv) { - const size_t len = count_strings (argv); + const size_t len = guestfs_int_count_strings (argv); CLEANUP_FREE const char **car...
2024 Oct 05
1
[PATCH v2 1/2] drm/ttm: Change ttm_device_init to use a struct instead of multiple bools
...> > > > false); > > > > + err = ttm_device_kunit_init(priv, ttm_dev, (struct > > > > ttm_device_init_flags){}); > > > > ?? KUNIT_ASSERT_EQ(test, err, 0); > > > > ?? priv->ttm_dev = ttm_dev; > > > > ? > > > > @@ -477,7 +477,7 @@ static void ttm_bo_pin_basic(struct kunit > > > > *test) > > > > ?? ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), > > > > GFP_KERNEL); > > > > ?? KUNIT_ASSERT_NOT_NULL(test, ttm_dev); > > > > ? > > > > - err = tt...
2004 Jul 22
1
[PATCH] add LOGIN authentication mechanism
...(&mech_plain); + else if (strcasecmp(*mechanisms, "LOGIN") == 0) + mech_register_module(&mech_login); else if (strcasecmp(*mechanisms, "APOP") == 0) mech_register_module(&mech_apop); else if (strcasecmp(*mechanisms, "CRAM-MD5") == 0) @@ -474,6 +477,7 @@ void mech_deinit(void) timeout_remove(to_auth_failures); mech_unregister_module(&mech_plain); + mech_unregister_module(&mech_login); mech_unregister_module(&mech_apop); mech_unregister_module(&mech_cram_md5); mech_unregister_module(&mech_digest_md5); -----------...
2011 Jun 09
2
[PATCH] Btrfs: turn to readonly if btrfs_start_transaction() fails
...- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -348,6 +348,7 @@ static noinline int create_subvol(struct btrfs_root *root, trans = btrfs_start_transaction(root, 6); if (IS_ERR(trans)) { dput(parent); + btrfs_abort_transaction(root, PTR_ERR(trans)); return PTR_ERR(trans); } @@ -476,6 +477,7 @@ static int create_snapshot(struct btrfs_root *root, struct dentry *dentry, trans = btrfs_start_transaction(root->fs_info->extent_root, 5); if (IS_ERR(trans)) { ret = PTR_ERR(trans); + btrfs_abort_transaction(root->fs_info->extent_root, ret); goto fail; } @@ -1242,6 +...
2006 Mar 19
2
Dovecot, LDAP and something akin to Postfix' "table search order" from virtual deliver.
Hi. /* The short version. */ Is there a way to mimic Postfix' "table search order" in Dovecot's LDAP configuration of pass_filter/user_filter? /* Here goes the detailed description :) */ Just to quote the http://www.postfix.org/virtual.8.html: --- TABLE SEARCH ORDER (...) The search order is as follows. The search stops upon the first successful lookup. (...)