search for: orig_num

Displaying 6 results from an estimated 6 matches for "orig_num".

Did you mean: orig_ns
2007 Jan 31
4
Help with semaphores
...and breaking it down by sections until I get to the last 4 digits (i.e., 2105551212). Once I get to the 4-digit extension, I am trying to set a flag, or semaphore, to do Busy/Idle testing. Here is my extensions_custom.conf fragment: [SATX_555_Extensions] exten => 1212,1,System(cat /tmp/{orig_num}) ; ${orig_num} is set at the beginning of [from-trunk-custom] to the full dialed digits in ${EXTEN}, before I break it down. exten => 1212,n,Busy(); if the file exists, someone else has already called this number, return busy exten => 1212,102,System(echo ${UNIQUEID} > /tmp/${orig_nu...
2017 Oct 20
0
[PATCH v1 3/3] virtio-balloon: stop inflating when OOM occurs
...k the pages we released. */ wait_queue_head_t acked; @@ -142,22 +151,22 @@ static void set_page_pfns(struct virtio_balloon *vb, static unsigned fill_balloon(struct virtio_balloon *vb, size_t num) { struct balloon_dev_info *vb_dev_info = &vb->vb_dev_info; + struct page *page; + size_t orig_num; unsigned int num_pfns; __virtio32 pfns[VIRTIO_BALLOON_ARRAY_PFNS_MAX]; + orig_num = num; /* We can only do one array worth at a time. */ num = min_t(size_t, num, VIRTIO_BALLOON_ARRAY_PFNS_MAX); for (num_pfns = 0; num_pfns < num; num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) {...
2017 Oct 22
1
[PATCH v1 3/3] virtio-balloon: stop inflating when OOM occurs
...queue_head_t acked; > > @@ -142,22 +151,22 @@ static void set_page_pfns(struct virtio_balloon *vb, > static unsigned fill_balloon(struct virtio_balloon *vb, size_t num) > { > struct balloon_dev_info *vb_dev_info = &vb->vb_dev_info; > + struct page *page; > + size_t orig_num; > unsigned int num_pfns; > __virtio32 pfns[VIRTIO_BALLOON_ARRAY_PFNS_MAX]; > > + orig_num = num; > /* We can only do one array worth at a time. */ > num = min_t(size_t, num, VIRTIO_BALLOON_ARRAY_PFNS_MAX); > > for (num_pfns = 0; num_pfns < num; >...
2017 Oct 22
1
[PATCH v1 3/3] virtio-balloon: stop inflating when OOM occurs
...queue_head_t acked; > > @@ -142,22 +151,22 @@ static void set_page_pfns(struct virtio_balloon *vb, > static unsigned fill_balloon(struct virtio_balloon *vb, size_t num) > { > struct balloon_dev_info *vb_dev_info = &vb->vb_dev_info; > + struct page *page; > + size_t orig_num; > unsigned int num_pfns; > __virtio32 pfns[VIRTIO_BALLOON_ARRAY_PFNS_MAX]; > > + orig_num = num; > /* We can only do one array worth at a time. */ > num = min_t(size_t, num, VIRTIO_BALLOON_ARRAY_PFNS_MAX); > > for (num_pfns = 0; num_pfns < num; >...
2017 Oct 20
9
[PATCH v1 0/3] Virtio-balloon Improvement
This patch series intends to summarize the recent contributions made by Michael S. Tsirkin, Tetsuo Handa, Michal Hocko etc. via reporting and discussing the related deadlock issues on the mailinglist. Please check each patch for details. >From a high-level point of view, this patch series achieves: 1) eliminate the deadlock issue fundamentally caused by the inability to run leak_balloon and
2017 Oct 20
9
[PATCH v1 0/3] Virtio-balloon Improvement
This patch series intends to summarize the recent contributions made by Michael S. Tsirkin, Tetsuo Handa, Michal Hocko etc. via reporting and discussing the related deadlock issues on the mailinglist. Please check each patch for details. >From a high-level point of view, this patch series achieves: 1) eliminate the deadlock issue fundamentally caused by the inability to run leak_balloon and