search for: inus

Displaying 20 results from an estimated 363 matches for "inus".

Did you mean: linus
2016 Mar 30
0
[PATCH v3 06/16] zsmalloc: squeeze inuse into page->mapping
...32 which is worst case, class->pages_per_zspage become 1 so the number of objects in zspage is 2048 so 11bit is enough. The next class is 32 + 256(i.e., ZS_SIZE_CLASS_DELTA). With worst case that ZS_MAX_PAGES_PER_ZSPAGE, 64K * 4 / (32 + 256) = 910 so 11bit is still enough. So, we could squeeze inuse object count to page->mapping. Signed-off-by: Minchan Kim <minchan at kernel.org> --- mm/zsmalloc.c | 103 ++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 71 insertions(+), 32 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 8649d0243e6c..4dd72a8...
2006 May 02
3
Sip show inuse
I have recently upgraded to 1.2.7.1 from 1.2.4. I can no longer use "sip show inuse". Below is the output... I know there are current calls: redhat*CLI> sip show inuse * User name In use Limit * Peer name In use Limit Does anyone have an idea why this isn't working? Thanks, bp
2016 Mar 12
1
[PATCH v1 09/19] zsmalloc: keep max_object in size_class
...emented). This function returns fullness > * status of the given page. > */ > -static enum fullness_group get_fullness_group(struct page *first_page) > +static enum fullness_group get_fullness_group(struct size_class *class, > + struct page *first_page) > { > - int inuse, max_objects; > + int inuse, objs_per_zspage; > enum fullness_group fg; > > VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); > > inuse = first_page->inuse; > - max_objects = first_page->objects; > + objs_per_zspage = class->objs_per_zspage; > &gt...
2016 Mar 12
1
[PATCH v1 09/19] zsmalloc: keep max_object in size_class
...emented). This function returns fullness > * status of the given page. > */ > -static enum fullness_group get_fullness_group(struct page *first_page) > +static enum fullness_group get_fullness_group(struct size_class *class, > + struct page *first_page) > { > - int inuse, max_objects; > + int inuse, objs_per_zspage; > enum fullness_group fg; > > VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); > > inuse = first_page->inuse; > - max_objects = first_page->objects; > + objs_per_zspage = class->objs_per_zspage; > &gt...
2005 Jun 11
1
AreskiCC Calling Problem
...nter-pin-number 10000 10 -- Playing 'prepaid-enter-pin-number' (language 'en') areskicc2.php: string(21) "RES DTMF : 5882431851"n areskicc2.php: string(25) "CARDNUMBER ::> 5882431851"n areskicc2.php: string(94) "SELECT credit, tariff, activated, inuse, simultaccess FROM cc_card WHERE username='5882431851'"n areskicc2.php: array(1) {n [0]=>n array(5) {n [0]=>n string(2) "10"n [1]=>n string(1) "1"n [2]=>n string(1) "t"n [3]=>n string(1) "0"n [4]=&gt...
2009 Oct 15
1
Callpickup works for outside calls but not inside calls
...-- SIP/vdemarco-d4012df8 is ringing -- SIP/vdemarco-d4012df8 is ringing -- SIP/vdemarco-d4012df8 is ringing -- SIP/vdemarco-d4012df8 is ringing == Using SIP RTP TOS bits 176 == Using SIP RTP CoS mark 5 == Extension Changed 612[a10base] new state InUse for Notify User jintrabartola == Extension Changed 612[a10base] new state InUse for Notify User reception-a10 -- Executing [*8617 at a10f:1] Pickup("SIP/tkeeley-acc9aaf8", "617 at a10pub") in new stack == Extension Changed 612[a10base] new state InUse for Notify User mi...
2003 Oct 20
3
Call Waiting on SIP phones
...rb, please test and let me know how you go ..... Paul --- chan_sip.c.save 2003-10-20 21:51:52.000000000 +1000 +++ chan_sip.c 2003-10-21 09:02:33.000000000 +1000 @@ -959,7 +959,9 @@ return 0; } switch(event) { + /* Incoming and outging affects the inUse counter */ case DEC_IN_USE: + case DEC_OUT_USE: if ( u->inUse > 0 ) { u->inUse--; } else { @@ -967,6 +969,7 @@ } break;...
2016 Mar 11
0
[PATCH v1 05/19] zsmalloc: use first_page rather than page
...ne void zs_pool_stat_destroy(struct zs_pool *pool) * the pool (not yet implemented). This function returns fullness * status of the given page. */ -static enum fullness_group get_fullness_group(struct page *page) +static enum fullness_group get_fullness_group(struct page *first_page) { int inuse, max_objects; enum fullness_group fg; - BUG_ON(!is_first_page(page)); + BUG_ON(!is_first_page(first_page)); - inuse = page->inuse; - max_objects = page->objects; + inuse = first_page->inuse; + max_objects = first_page->objects; if (inuse == 0) fg = ZS_EMPTY; @@ -647,12 +649,...
2016 Mar 11
0
[PATCH v1 09/19] zsmalloc: keep max_object in size_class
...pool *pool) * the pool (not yet implemented). This function returns fullness * status of the given page. */ -static enum fullness_group get_fullness_group(struct page *first_page) +static enum fullness_group get_fullness_group(struct size_class *class, + struct page *first_page) { - int inuse, max_objects; + int inuse, objs_per_zspage; enum fullness_group fg; VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); inuse = first_page->inuse; - max_objects = first_page->objects; + objs_per_zspage = class->objs_per_zspage; if (inuse == 0) fg = ZS_EMPTY; - else if...
2016 Mar 30
0
[PATCH v3 05/16] zsmalloc: keep max_object in size_class
...pool *pool) * the pool (not yet implemented). This function returns fullness * status of the given page. */ -static enum fullness_group get_fullness_group(struct page *first_page) +static enum fullness_group get_fullness_group(struct size_class *class, + struct page *first_page) { - int inuse, max_objects; + int inuse, objs_per_zspage; enum fullness_group fg; VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); inuse = first_page->inuse; - max_objects = first_page->objects; + objs_per_zspage = class->objs_per_zspage; if (inuse == 0) fg = ZS_EMPTY; - else if...
2016 Mar 14
0
[PATCH v1 09/19] zsmalloc: keep max_object in size_class
...rns fullness > > * status of the given page. > > */ > >-static enum fullness_group get_fullness_group(struct page *first_page) > >+static enum fullness_group get_fullness_group(struct size_class *class, > >+ struct page *first_page) > > { > >- int inuse, max_objects; > >+ int inuse, objs_per_zspage; > > enum fullness_group fg; > > > > VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); > > > > inuse = first_page->inuse; > >- max_objects = first_page->objects; > >+ objs_per_zspage = c...
2006 Jul 07
2
ASTCC: inuse flag still hangs!
I have patched astcc.agi with the HUP patch, but it still hangs from time to time. Asterisk SVN-branch-1.2-r25165M built by root @ vpbx on a x86_64 running Linux on 2006-05-07 00:31:09 UTC bye Ronald
2004 Oct 01
1
BUG? no output from 'sip show users|inuse|active|subscriptions' when using MySQL auth
I'm authenticating against sipfriends in MySQL, and have just noticed that none of the below commands return any output: sip show users sip show inuse sip show active sip show subscriptions Is this a bug or something wrong on my side? I'm using the stable 1.0 cvs Vahan
2011 Oct 27
5
Asterisk Executing outbound dial number twice
Hello, I noticed Asterisk 1.8.4.1 execute number dial twice Log == Using SIP RTP CoS mark 5 -- Executing [912066604 at sipphones:1] Set("SIP/4773-0003e920", "CALLERID(num)=2066604") in new stack == Extension Changed 4773[sipphones] new state InUse for Notify User 4701 -- Executing [912066604 at sipphones:2] Dial("SIP/4773-0003e920", "SIP/att/xxxxxxx,80") in new stack Can you please help? Thanks, Motty
2012 Aug 20
1
Asterisk 11 - BLF on Custom devices
In testing Asterisk 11, I've found that Asterisk doesn't seem to be sending BLF updates to SIP peers that have subscribed to a hint looking at a Custom device if that Custom device state is RINGING or RING_INUSE. All other states seem to be working correctly. The hint section of the dialplan is: [hints] exten => _3XX,hint,Custom:${EXTEN} Console shows the following for core show hints with no calls: -= Registered Asterisk Dial Plan Hints =- _3XX at hints : Custom...
2015 Mar 09
2
[PATCH] 9p/trans_virtio: fix hot-unplug
...8e376a..d1b2f306 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args) static void p9_virtio_remove(struct virtio_device *vdev) { struct virtio_chan *chan = vdev->priv; - - if (chan->inuse) - p9_virtio_close(chan->client); - vdev->config->del_vqs(vdev); + unsigned long warning_time; + bool inuse; mutex_lock(&virtio_9p_lock); + + /* Remove self from list so we don't get new users. */ list_del(&chan->chan_list); + warning_time = jiffies; + + /* Wait for...
2015 Mar 09
2
[PATCH] 9p/trans_virtio: fix hot-unplug
...8e376a..d1b2f306 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args) static void p9_virtio_remove(struct virtio_device *vdev) { struct virtio_chan *chan = vdev->priv; - - if (chan->inuse) - p9_virtio_close(chan->client); - vdev->config->del_vqs(vdev); + unsigned long warning_time; + bool inuse; mutex_lock(&virtio_9p_lock); + + /* Remove self from list so we don't get new users. */ list_del(&chan->chan_list); + warning_time = jiffies; + + /* Wait for...
2003 Dec 18
1
SIP Inuse Count Wrong
I am currently using a copy of Asterisk checked out as the code of 10 days ago from Asterisk and the: sip show inuse reports that I have 3 incoming connections to one of the Grandstream phones, even though that isn't the case. I believe I have tracked the problem down to the following error message, which also (conveniently) showed up 3 times: -- Got SIP response 481 "" back from 192.168.2...
2010 May 04
1
problem with ringinuse=no, queue members receive randomly two calls
Dear all on a debian amd64 i've installed (from source) asterisk 1.4.30 On the system we have in average 50 concurrent calls in queue and 40 sip members. I'm experiencing an apparently random problem: sometimes some users receive 2 calls from asterisk, apparently ignoring the ringinuse=no settings. It appears on users that are members of many queues As you can see from the log, the user goes in a status Ring+Inuse. Any idea? Why the call is still dispatched to the user if it is not in the "Not in use" status? Thanks to all in advance ************************* *****...
2014 Mar 20
1
modifying data in a package
I've tweaked Rmpi and want to have some variables that hold data in the package. One of the R files starts mpi.isend.obj <- vector("list", 500) #mpi.request.maxsize()) mpi.isend.inuse <- rep(FALSE, 500) #mpi.request.maxsize()) and then functions update those variables with <<-. When run: Error in mpi.isend.obj[[i]] <<- .force.type(x, type) : cannot change value of locked bin...