search for: select

Displaying 20 results from an estimated 35377 matches for "select".

2018 Jan 22
3
What does this mean? select(1, [0], , NULL, {60, 0}) = 0 (Timeout)
...monitoring the errors closely before. I added this (https://rsync.samba.org/issues.html) rsync-debug.sh script with strace of 100. But I have no idea how to interper this output. I guess between 00:55:41 and 03:06:47 nothing is happening? And then some timeout is generated? What does this 'select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)' mean? Commandline =========== rsync -avH --del --rsync-path=/usr/local/sbin/rsync-debug.sh --one-file-system --exclude-from=/home/backup/excluded-dirs --include-from=/home/backup/included-dirs --timeout=0 --ignore-errors --numeric-ids -e &quot...
2018 Jan 22
0
What does this mean? select(1, [0], , NULL, {60, 0}) = 0 (Timeout)
From man 2 select: int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); So, it is waiting for file descriptor #1 to become available with a 60 second timeout which it is hitting. Use lsof to find out what file descriptor #1 is. On 01/22/2018 10:07 AM, Marc Roos via...
2019 Jan 02
3
[lit] check-all hanging
...during running of lit tests. The hang always happens at the > 90% completion stage and I'm pretty sure all tests have been run and check-all is just waiting for lit/python to exit. I see a single python processing running, taking very little CPU time. An strace of that process shows this: select(0, NULL, NULL, NULL, {0, 50000}) = 0 (Timeout) select(0, NULL, NULL, NULL, {0, 50000}) = 0 (Timeout) select(0, NULL, NULL, NULL, {0, 50000}) = 0 (Timeout) select(0, NULL, NULL, NULL, {0, 50000}) = 0 (Timeout) select(0, NULL, NULL, NULL, {0, 50000}) = 0 (Timeout) select(0, NULL, NULL, NULL, {0, 5000...
2022 Dec 19
1
[PATCH v3] drm: Only select I2C_ALGOBIT for drivers that actually need it
While working on a drm driver that doesn't need the i2c algobit stuff I noticed that DRM selects this code even though only 8 drivers actually use it. While also only some drivers use i2c, keep the select for I2C for the next cleanup patch. Still prepare this already by also selecting I2C for the individual drivers. Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig at pengutronix.de> --...
2019 Jan 02
4
[lit] check-all hanging
...fy FileCheck. The flakiness that Chandler mentioned makes it time-consuming to verify test results. Joel On Wed, Jan 2, 2019 at 4:41 PM Chandler Carruth via llvm-dev < llvm-dev at lists.llvm.org> wrote: > What you're seeing is just the fact that lit is waiting on subprocesses > (select is waiting on the pipes i suspect). > > Anyways, you'll need to dig into what it is waiting on, and what *that* > process is doing that is stuck to make progress. > > I've not seen anything like this, but I basically never run `check-all` > these days because LLDB and sani...
2017 Jul 26
0
[PATCH 2/3] ACPI/DRM: rework ACPI_VIDEO Kconfig dependencies
ACPI_VIDEO keeps causing problems with circular Kconfig dependencies, as it depends on a couple of other symbols, and it gets selected by drivers that may end up being depending on others. This is an attempt to simplify this by changing all drivers that currently 'select ACPI_VIDEO' to use 'depends on'. This by itself simplifies the dependency lists for the other drivers. We make ACPI_VIDEO 'default y' t...
2017 May 23
4
[poison] is select-of-select to logic+select allowed?
Hi, Let me try to give a bit more context on why select is so tricky. First thing to consider is which transformations we would like to support: 1) Control-flow -> select (SimplifyCFG) if (c) a = x else a = y => %a = select %c, %x, %y 2) select -> control-flow; reverse of 1) Not sure if this is done at IR level, or on...
2017 May 22
5
[poison] is select-of-select to logic+select allowed?
Some InstCombine transforms for select-of-select were added here: https://reviews.llvm.org/rL228409 But Alive says this is more poisonous: Name: selsel %s1 = select i1 %cond1, i8 C1, i8 C2 %s2 = select i1 %cond2, i8 %s1, i8 C2 => %andcond = and i1 %cond1, %cond2 %s2 = select i1 %andcond, i8 C1, i8 C2 http://rise4fun.com/Alive/JT...
2015 Nov 03
2
[PATCH 3/3] s390/dma: Allow per device dma ops
...arch/s390/pci/pci_dma.c | 4 ++-- > 5 files changed, 14 insertions(+), 6 deletions(-) > > diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig > index 1d57000..04f0e02 100644 > --- a/arch/s390/Kconfig > +++ b/arch/s390/Kconfig > @@ -113,6 +113,7 @@ config S390 > select GENERIC_FIND_FIRST_BIT > select GENERIC_SMP_IDLE_THREAD > select GENERIC_TIME_VSYSCALL > + select HAS_DMA > select HAVE_ALIGNED_STRUCT_PAGE if SLUB > select HAVE_ARCH_AUDITSYSCALL > select HAVE_ARCH_EARLY_PFN_TO_NID > @@ -124,6 +125,7 @@ config S390 > select HAVE...
2015 Nov 03
2
[PATCH 3/3] s390/dma: Allow per device dma ops
...arch/s390/pci/pci_dma.c | 4 ++-- > 5 files changed, 14 insertions(+), 6 deletions(-) > > diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig > index 1d57000..04f0e02 100644 > --- a/arch/s390/Kconfig > +++ b/arch/s390/Kconfig > @@ -113,6 +113,7 @@ config S390 > select GENERIC_FIND_FIRST_BIT > select GENERIC_SMP_IDLE_THREAD > select GENERIC_TIME_VSYSCALL > + select HAS_DMA > select HAVE_ALIGNED_STRUCT_PAGE if SLUB > select HAVE_ARCH_AUDITSYSCALL > select HAVE_ARCH_EARLY_PFN_TO_NID > @@ -124,6 +125,7 @@ config S390 > select HAVE...
2019 Sep 04
1
[PATCH v3 7/7] drm/vram: fix Kconfig
select isn't recursive, so we can't turn on DRM_TTM + DRM_TTM_HELPER in config DRM_VRAM_HELPER, we have to select them on the vram users instead. Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/Kconfig | 2 -- drivers/gpu/drm/ast/Kconfig...
2006 Jan 16
0
[newbie] Redundant SELECTs?
...tting started with Rails by rewriting a little web-app I wrote last year in PHP. (I have a bit of prior Ruby experience, and have been working with SQLite for about a year.) My app is up and running, but on looking through the development.log I noticed that Rails is making a lot of identical SELECT queries while handling a single request. These are just the simple queries that load the attributes of an ActiveRecord object. In the transcript below, the record with id 0 gets fetched *eight times* during one request! This will become a terrible performance problem -- scaling as O(n^2)...
2003 Jul 20
1
rsync on cygwin is hanging
...;wudnld20.tmp", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 time(NULL) = 1058644307 utime("wudnld20.tmp", [2003/07/19-15:51:47, 2002/01/25-01:17:08]) = 0 lchown32(0x8074940, 0x220, 0x201) = 0 write(1, "wudnld20.tmp/\n", 14) = 14 select(8, [7], [4], NULL, {60, 0}) = 1 (out [4], left {60, 0}) write(4, "\274\2\0\0\0\0\0\0\202\36\0\0\0\0\0\0\274\2\0\0\0\0\0\0"..., 3916) = 3916 select(8, [3 7], NULL, NULL, {60, 0}) = 0 (Timeout) select(8, [3 7], NULL, NULL, {60, 0}) = 0 (Timeout) select(8, [3 7], NULL, NU...
2006 Apr 22
3
Creating a select dropdown box with links to methods
What would be the best way to create a form select dropdown box and upon "submit" have it directly go to a controller method view? I have something that somewhat works, but I think there is probably a much easier way to do it. As of now, I have the dropdown list which when the form is submitted is handed to a controller method which...
2006 Apr 06
6
select method
The documentation states as an example: select("post", "person_id", Person.find_all.collect {|p| [ p.name, p.id ] }, { :include_blank => true }) could become: <select name="post[person_id]"> <option></option> <option value="1" selected="selected">David</o...
2010 Nov 11
1
rsync stops at system call select()
...l stop at some place and the whole backup process stuck. The following is the output with -vv option when backup stop: *opening connection using: ssh -l admin 10.249.49.101 rsync --server -vvlogDtprze.isf . /news_hot_data* I used strace to track the system call, and I found select() was invoked again and again, never end until the program was killed by ctrl+c. The following is the output: ...... 18477 select(1027, [255 1024], [], NULL, NULL) = 1 (in [1024]) 18477 read(1024, "\36\0\0\0", 16384) = 4 18477 select(1027, [255...
2008 Mar 13
3
scrolling in a <select multiple="multiple"> list
I have a <select multiple="multiple"> list with a fixed height. It contains several <option> elements that extend well past the viewable area. I added code that would track which options had been previously selected so that users could select multiple items without holding the ctrl key. I'...
2004 Sep 20
1
Using eval() more efficiently?
Hi, Suppose I have a vector: > names.select [1] "Idd13" "Idd14" "Idd8.12" "Idd7" automatically generated by some selection criteria. Now, if I have a data frame with many variables, of which the variables in "names.select" are also variables from the data frame. e.g. > all.df[1:5...
2006 Apr 27
4
select item based on previous select list selection?
So I have a select list with a list of items. When a user selects an item, another select list should have its default selected item set to a specific item (the default associated with the first select list). This is in a form to create a new task. The first select list is a list of parent tasks. When one selects...
2005 Dec 15
3
Lonked Select Boxes
linked selects are critical to my application. for those who don''t know, a linked select updates as the select box it is linked to is updated. for example, if select 1 is "California", then select 2 will list all the cities in California. change select 1 to Washington and select 2 will aut...