search for: list_sort

Displaying 13 results from an estimated 13 matches for "list_sort".

2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
...git a/lib/Makefile b/lib/Makefile index 3c3b30b..1071d06 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -24,7 +24,7 @@ obj-y += lockref.o obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \ bust_spinlocks.o hexdump.o kasprintf.o bitmap.o scatterlist.o \ - gcd.o lcm.o list_sort.o uuid.o flex_array.o iovec.o clz_ctz.o \ + gcd.o lcm.o list_sort.o uuid.o flex_array.o clz_ctz.o \ bsearch.o find_last_bit.o find_next_bit.o llist.o memweight.o kfifo.o \ percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o obj-y += string_helpers.o diff --git a/lib/iovec.c b/lib/i...
2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
...git a/lib/Makefile b/lib/Makefile index 3c3b30b..1071d06 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -24,7 +24,7 @@ obj-y += lockref.o obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \ bust_spinlocks.o hexdump.o kasprintf.o bitmap.o scatterlist.o \ - gcd.o lcm.o list_sort.o uuid.o flex_array.o iovec.o clz_ctz.o \ + gcd.o lcm.o list_sort.o uuid.o flex_array.o clz_ctz.o \ bsearch.o find_last_bit.o find_next_bit.o llist.o memweight.o kfifo.o \ percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o obj-y += string_helpers.o diff --git a/lib/iovec.c b/lib/i...
2005 Sep 16
0
Creating domU failed with "xenconsole: xs_get_domain_path(): No such file or directory"
.../SrvDomainDir.py", line 135, in render_GET self.ls_domain(req, 1) File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 149, in ls_domain domains = self.xd.list_names() File "/usr/lib/python/xen/xend/XendDomain.py", line 94, in list_names doms = self.list_sorted() File "/usr/lib/python/xen/xend/XendDomain.py", line 85, in list_sorted doms = self.list() File "/usr/lib/python/xen/xend/XendDomain.py", line 77, in list self.refresh() File "/usr/lib/python/xen/xend/XendDomain.py", line 278, in refresh self._dele...
2009 Nov 17
0
xend and xen-tool crashed after intensive operation
...e = self._dispatch(method, params) File "/usr/lib64/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch return func(*params) File "/usr/lib64/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 66, in domains_with_state domains = XendDomain.instance().list_sorted(state) File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 809, in list_sorted doms = self.list(state) File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 779, in list self._refresh(refresh_shutdown = False) File "/usr/l...
2010 May 25
0
Loss of hypervisor control - xm, xentop
...response = self._dispatch(method, params) File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch return func(*params) File "/usr/lib/xen-3.2-1/lib/python/xen/xend/server/XMLRPCServer.py", line 66, in domains_with_state domains = XendDomain.instance().list_sorted(state) File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line 837, in list_sorted doms = self.list(state) File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line 807, in list self._refresh(refresh_shutdown = False) File "/usr/lib/xen-3.2...
2014 Apr 10
0
Bug#744163: xenstore problems
...nse = self._dispatch(method, params) File "/usr/lib/python2.7/SimpleXMLRPCServer.py", line 420, in _dispatch return func(*params) File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/XMLRPCServer.py", line 67, in domains_with_state domains = XendDomain.instance().list_sorted(state) File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomain.py", line 879, in list_sorted doms = self.list(state) File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomain.py", line 848, in list self._refresh(refresh_shutdown = False) File "/usr/l...
2008 Jul 11
0
PATCH: Ignore errors from dieing domains in RPC server
...LRPCServer.py --- a/tools/python/xen/xend/server/XMLRPCServer.py Thu Jul 10 17:33:23 2008 +0100 +++ b/tools/python/xen/xend/server/XMLRPCServer.py Fri Jul 11 12:28:02 2008 +0100 @@ -64,7 +64,14 @@ def domains_with_state(detail, state, full): if detail: domains = XendDomain.instance().list_sorted(state) - return map(lambda dom: fixup_sxpr(dom.sxpr(not full)), domains) + ret = [] + for dom in domains: + try: + ret.append(fixup_sxpr(dom.sxpr(not full))) + except: + log.warn("Failed to query SXPR for domain %s&quot...
2018 Jun 12
8
[PATCH 0/3] Use sbitmap instead of percpu_ida
Removing the percpu_ida code nets over 400 lines of removal. It's not as spectacular as deleting an entire architecture, but it's still a worthy reduction in lines of code. Untested due to lack of hardware and not understanding how to set up a target platform. Changes from v1: - Fixed bugs pointed out by Jens in iscsit_wait_for_tag() - Abstracted out tag freeing as requested by Bart
2018 Jun 12
8
[PATCH 0/3] Use sbitmap instead of percpu_ida
Removing the percpu_ida code nets over 400 lines of removal. It's not as spectacular as deleting an entire architecture, but it's still a worthy reduction in lines of code. Untested due to lack of hardware and not understanding how to set up a target platform. Changes from v1: - Fixed bugs pointed out by Jens in iscsit_wait_for_tag() - Abstracted out tag freeing as requested by Bart
2018 May 15
6
[PATCH 0/2] Use sbitmap instead of percpu_ida
From: Matthew Wilcox <mawilcox at microsoft.com> This is a pretty rough-and-ready conversion of the target drivers from using percpu_ida to sbitmap. It compiles; I don't have a target setup, so it's completely untested. I haven't tried to do anything particularly clever here, so it's possible that, for example, the wait queue in iscsi_target_util could be more clever, like
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...x; unsigned long flags; struct request *rq; LIST_HEAD(list); unsigned int depth; BUG_ON(plug->magic != PLUG_MAGIC); flush_plug_callbacks(plug); if (list_empty(&plug->list)) return; list_splice_init(&plug->list, &list); if (plug->should_sort) { list_sort(NULL, &list, plug_rq_cmp); plug->should_sort = 0; } - q = NULL; + ctx = NULL; depth = 0; /* * Save and disable interrupts here, to avoid doing it for every * queue lock we have to take. */ local_irq_save(flags); while (!list_empty(&list)) { rq = list_entry_rq...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...x; unsigned long flags; struct request *rq; LIST_HEAD(list); unsigned int depth; BUG_ON(plug->magic != PLUG_MAGIC); flush_plug_callbacks(plug); if (list_empty(&plug->list)) return; list_splice_init(&plug->list, &list); if (plug->should_sort) { list_sort(NULL, &list, plug_rq_cmp); plug->should_sort = 0; } - q = NULL; + ctx = NULL; depth = 0; /* * Save and disable interrupts here, to avoid doing it for every * queue lock we have to take. */ local_irq_save(flags); while (!list_empty(&list)) { rq = list_entry_rq...
2012 Jan 12
9
linux 3.3-pre-rc1: Starting domU fails with Error: Failed to query current memory allocation of dom0.
Hi Konrad, Today i tried linuses tree of today (last commit is 4c4d285ad5665bfbd983b95fde8d7a477d24a361). It boots dom0 fine, but it fails to start any domU with: "Error: Failed to query current memory allocation of dom0." With my previous 3.1.5 kernel everything is fine, nothing else changed in config in between. dmesg and xm dmesg attached -- Sander Dom0 shows: total