Displaying 20 results from an estimated 41 matches for "221,11".
Did you mean:
121,11
2014 May 08
2
[PATCH v10 06/19] qspinlock: prolong the stay in the pending bit path
On Wed, May 07, 2014 at 11:01:34AM -0400, Waiman Long wrote:
> @@ -221,11 +222,37 @@ static inline int trylock_pending(struct qspinlock *lock, u32 *pval)
> */
> for (;;) {
> /*
> - * If we observe any contention; queue.
> + * If we observe that the queue is not empty,
> + * return and be queued.
> */
> - if (val & ~_Q_LOC...
2014 May 08
2
[PATCH v10 06/19] qspinlock: prolong the stay in the pending bit path
On Wed, May 07, 2014 at 11:01:34AM -0400, Waiman Long wrote:
> @@ -221,11 +222,37 @@ static inline int trylock_pending(struct qspinlock *lock, u32 *pval)
> */
> for (;;) {
> /*
> - * If we observe any contention; queue.
> + * If we observe that the queue is not empty,
> + * return and be queued.
> */
> - if (val & ~_Q_LOC...
2017 Sep 05
4
[PATCH] lib: direct: Disable qemu locking when opening drives
Incomplete fix for https://bugzilla.redhat.com/show_bug.cgi?id=1417306
The full fix is waiting for a libvirt change, but this can still go
upstream.
Rich.
2017 Sep 05
1
Re: [PATCH] lib: direct: Disable qemu locking when opening drives readonly.
...ect, and drop the last
paragraph?
> lib/launch-direct.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/lib/launch-direct.c b/lib/launch-direct.c
> index 3b848165c..e5465539d 100644
> --- a/lib/launch-direct.c
> +++ b/lib/launch-direct.c
> @@ -221,8 +221,11 @@ add_drive_standard_params (guestfs_h *g, struct backend_direct_data *data,
> file = guestfs_int_drive_source_qemu_param (g, &drv->src);
> append_list_format ("file=%s", file);
>
> - if (drv->readonly)
> + if (drv->readonly) {
>...
2015 Apr 17
3
[PATCH 4/6] drm: enable big page mapping for small pages when IOMMU is available
...om>
> ---
> drm/nouveau/nouveau_bo.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drm/nouveau/nouveau_bo.c b/drm/nouveau/nouveau_bo.c
> index 77326e344dad..da76ee1121e4 100644
> --- a/drm/nouveau/nouveau_bo.c
> +++ b/drm/nouveau/nouveau_bo.c
> @@ -221,6 +221,11 @@ nouveau_bo_new(struct drm_device *dev, int size, int align,
> if (drm->client.vm) {
> if (!(flags & TTM_PL_FLAG_TT) && size > 256 * 1024)
> nvbo->page_shift = drm->client.vm->mmu->lpg_shift;
> +
&...
2017 Sep 05
0
[PATCH] lib: direct: Disable qemu locking when opening drives readonly.
...Incomplete fix for
https://bugzilla.redhat.com/show_bug.cgi?id=1417306
---
lib/launch-direct.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/launch-direct.c b/lib/launch-direct.c
index 3b848165c..e5465539d 100644
--- a/lib/launch-direct.c
+++ b/lib/launch-direct.c
@@ -221,8 +221,11 @@ add_drive_standard_params (guestfs_h *g, struct backend_direct_data *data,
file = guestfs_int_drive_source_qemu_param (g, &drv->src);
append_list_format ("file=%s", file);
- if (drv->readonly)
+ if (drv->readonly) {
append_list ("sna...
2017 Sep 12
0
Re: [PATCH] lib: direct: Disable qemu locking when opening drives readonly.
...> lib/launch-direct.c | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/lib/launch-direct.c b/lib/launch-direct.c
> > index 3b848165c..e5465539d 100644
> > --- a/lib/launch-direct.c
> > +++ b/lib/launch-direct.c
> > @@ -221,8 +221,11 @@ add_drive_standard_params (guestfs_h *g, struct backend_direct_data *data,
> > file = guestfs_int_drive_source_qemu_param (g, &drv->src);
> > append_list_format ("file=%s", file);
> >
> > - if (drv->readonly)
> > + if...
2014 May 10
0
[PATCH v10 06/19] qspinlock: prolong the stay in the pending bit path
On 05/08/2014 02:58 PM, Peter Zijlstra wrote:
> On Wed, May 07, 2014 at 11:01:34AM -0400, Waiman Long wrote:
>> @@ -221,11 +222,37 @@ static inline int trylock_pending(struct qspinlock *lock, u32 *pval)
>> */
>> for (;;) {
>> /*
>> - * If we observe any contention; queue.
>> + * If we observe that the queue is not empty,
>> + * return and be queued.
>>...
2019 Jul 01
0
[PATCH 6/6] p2v: tests: use a local blank-part disk image
...a/p2v/.gitignore
+++ b/p2v/.gitignore
@@ -8,6 +8,7 @@ Makefile
Makefile.in
/about-authors.c
+/blank-part.img
/config.c
/dependencies.archlinux
/dependencies.debian
diff --git a/p2v/Makefile.am b/p2v/Makefile.am
index b4b57db91..5ee9d97d5 100644
--- a/p2v/Makefile.am
+++ b/p2v/Makefile.am
@@ -221,9 +221,11 @@ stamp-virt-p2v-make-kiwi.pod: virt-p2v-make-kiwi.pod
# See guestfs-hacking(1) section "Running virt-p2v"
PHYSICAL_MACHINE = $(abs_builddir)/fedora.img
+BLANK_DISK = blank-part.img
check_DATA = \
- $(PHYSICAL_MACHINE)
+ $(PHYSICAL_MACHINE) \
+ $(BLANK_DISK)
run-virt-...
2014 May 07
0
[PATCH v10 06/19] qspinlock: prolong the stay in the pending bit path
...0644
--- a/kernel/locking/qspinlock.c
+++ b/kernel/locking/qspinlock.c
@@ -212,6 +212,7 @@ xchg_tail(struct qspinlock *lock, u32 tail, u32 *pval)
static inline int trylock_pending(struct qspinlock *lock, u32 *pval)
{
u32 old, new, val = *pval;
+ int retry = 1;
/*
* trylock || pending
@@ -221,11 +222,37 @@ static inline int trylock_pending(struct qspinlock *lock, u32 *pval)
*/
for (;;) {
/*
- * If we observe any contention; queue.
+ * If we observe that the queue is not empty,
+ * return and be queued.
*/
- if (val & ~_Q_LOCKED_MASK)
+ if (val & _Q_TAIL_MASK)...
2007 May 09
1
lguest re-review
Some concern was expressed over the lguest review status, so I shall send
the patches out again for people to review, to test, to make observations
about the author's personal appearance, etc.
I'll plan on sending these patches off to Linus in a week's time, assuming
all goes well.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
2007 May 09
1
lguest re-review
Some concern was expressed over the lguest review status, so I shall send
the patches out again for people to review, to test, to make observations
about the author's personal appearance, etc.
I'll plan on sending these patches off to Linus in a week's time, assuming
all goes well.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
2012 Nov 25
0
[PATCH] drm/nouveau: unpin various bo's before destroying
...ence.c
@@ -190,6 +190,8 @@ nvc0_fence_destroy(struct nouveau_drm *drm)
{
struct nvc0_fence_priv *priv = drm->fence;
nouveau_bo_unmap(priv->bo);
+ if (priv->bo)
+ nouveau_bo_unpin(priv->bo);
nouveau_bo_ref(NULL, &priv->bo);
drm->fence = NULL;
kfree(priv);
@@ -219,8 +221,11 @@ nvc0_fence_create(struct nouveau_drm *drm)
TTM_PL_FLAG_VRAM, 0, 0, NULL, &priv->bo);
if (ret == 0) {
ret = nouveau_bo_pin(priv->bo, TTM_PL_FLAG_VRAM);
- if (ret == 0)
+ if (ret == 0) {
ret = nouveau_bo_map(priv->bo);
+ if (ret)
+ nouveau_bo_unpin(priv->...
2007 Apr 18
0
[PATCH 20/21] i386 Ldt cleanups 3
...>mm->context, ldt_info.entry_number+1, 1);
+ page_number = ldt_info.entry_number / LDT_ENTRIES_PER_PAGE;
+ down(&pc->sem);
+ if (page_number >= pc->ldt_pages) {
+ error = alloc_ldt(pc, pc->ldt_pages,
+ page_number+1, 1);
if (error < 0)
goto out_unlock;
}
@@ -221,11 +229,11 @@ static int write_ldt(void __user * ptr,
/* Install the new entry ... */
install:
- write_ldt_entry(mm->context.ldt, ldt_info.entry_number, entry_1, entry_2);
+ write_ldt_entry(pc->ldt, ldt_info.entry_number, entry_1, entry_2);
error = 0;
out_unlock:
- up(&mm->...
2007 Apr 18
0
[PATCH 20/21] i386 Ldt cleanups 3
...>mm->context, ldt_info.entry_number+1, 1);
+ page_number = ldt_info.entry_number / LDT_ENTRIES_PER_PAGE;
+ down(&pc->sem);
+ if (page_number >= pc->ldt_pages) {
+ error = alloc_ldt(pc, pc->ldt_pages,
+ page_number+1, 1);
if (error < 0)
goto out_unlock;
}
@@ -221,11 +229,11 @@ static int write_ldt(void __user * ptr,
/* Install the new entry ... */
install:
- write_ldt_entry(mm->context.ldt, ldt_info.entry_number, entry_1, entry_2);
+ write_ldt_entry(pc->ldt, ldt_info.entry_number, entry_1, entry_2);
error = 0;
out_unlock:
- up(&mm->...
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...t;> S_IFSHIFT)
-
#define ext2_group_desc_lg2size 5
-
-
/*
* super block structure:
* include/linux/ext2_fs.h
@@ -168,7 +167,6 @@ struct ext2_group_desc {
#endif
*******************************************************************************/
-
/*
* ext2 inode structure:
*/
@@ -221,11 +219,6 @@ struct ext2_dir_entry {
~EXT2_DIR_ROUND)
*******************************************************************************/
-
-
-
-
-
/*
* This is the extent on-disk structure.
* It's used at the bottom of the tree.
@@ -260,12 +253,9 @@ struct ext4_extent_header {...
2018 Dec 12
4
[PATCH v2 3/5] VSOCK: support receive mergeable rx buffer in guest
...t/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -179,6 +179,8 @@ static int get_rx_bufs(struct vhost_virtqueue *vq,
size_t nbytes;
size_t len;
s16 headcount;
+ size_t remain_len;
+ int i;
spin_lock_bh(&vsock->send_pkt_list_lock);
if (list_empty(&vsock->send_pkt_list)) {
@@ -221,11 +223,19 @@ static int get_rx_bufs(struct vhost_virtqueue *vq,
break;
}
- nbytes = copy_to_iter(pkt->buf, pkt->len, &iov_iter);
- if (nbytes != pkt->len) {
- virtio_transport_free_pkt(pkt);
- vq_err(vq, "Faulted on copying pkt buf\n");
- break;
+ remain_len...
2018 Dec 12
4
[PATCH v2 3/5] VSOCK: support receive mergeable rx buffer in guest
...t/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -179,6 +179,8 @@ static int get_rx_bufs(struct vhost_virtqueue *vq,
size_t nbytes;
size_t len;
s16 headcount;
+ size_t remain_len;
+ int i;
spin_lock_bh(&vsock->send_pkt_list_lock);
if (list_empty(&vsock->send_pkt_list)) {
@@ -221,11 +223,19 @@ static int get_rx_bufs(struct vhost_virtqueue *vq,
break;
}
- nbytes = copy_to_iter(pkt->buf, pkt->len, &iov_iter);
- if (nbytes != pkt->len) {
- virtio_transport_free_pkt(pkt);
- vq_err(vq, "Faulted on copying pkt buf\n");
- break;
+ remain_len...
2018 Dec 13
2
[PATCH v2 3/5] VSOCK: support receive mergeable rx buffer in guest
...(struct vhost_virtqueue *vq,
>> size_t nbytes;
>> size_t len;
>> s16 headcount;
>> + size_t remain_len;
>> + int i;
>>
>> spin_lock_bh(&vsock->send_pkt_list_lock);
>> if (list_empty(&vsock->send_pkt_list)) {
>> @@ -221,11 +223,19 @@ static int get_rx_bufs(struct vhost_virtqueue *vq,
>> break;
>> }
>>
>> - nbytes = copy_to_iter(pkt->buf, pkt->len, &iov_iter);
>> - if (nbytes != pkt->len) {
>> - virtio_transport_free_pkt(pkt);
>> - vq_err(vq, "...
2018 Dec 13
2
[PATCH v2 3/5] VSOCK: support receive mergeable rx buffer in guest
...(struct vhost_virtqueue *vq,
>> size_t nbytes;
>> size_t len;
>> s16 headcount;
>> + size_t remain_len;
>> + int i;
>>
>> spin_lock_bh(&vsock->send_pkt_list_lock);
>> if (list_empty(&vsock->send_pkt_list)) {
>> @@ -221,11 +223,19 @@ static int get_rx_bufs(struct vhost_virtqueue *vq,
>> break;
>> }
>>
>> - nbytes = copy_to_iter(pkt->buf, pkt->len, &iov_iter);
>> - if (nbytes != pkt->len) {
>> - virtio_transport_free_pkt(pkt);
>> - vq_err(vq, "...