Displaying 20 results from an estimated 33 matches for "resturn".
2013 Jun 10
2
memdisk and iso, speed up
...nto graphical menu with the picture I
> set as background. It looks fine till this.
>
>
> Now I choose the option for ISO. Here's where I found things are still not
> consistent. It's 3-4 attempts for this option to get working. Most of times
> it says file not found and resturn me to the original menu option.
>
> When it works, it shows,
> Loading memdisk ...ok
> Loading http://192.168.0.100/hiren.iso...This finally lands me into the CD
> menu, as expected. On the TFTP server I ran netstat to see if the client is
> connected to port 80 on server, and su...
2011 Nov 17
3
.Call in R
...res_ptr[i]=vecR_ptr[i];
}
}
else{
/*copy vecA to the vector to be returned*/
for (i=0;i<vecA_len;i++){
res_ptr[i]=vecA_ptr[i];
}
}
PutRNGstate();
UNPROTECT(2);
resturn(res);
}
My R wrapper function is
change_vecA<-function(vecA){
dyn.load("change_vecA.so");
.Call("change_vecA",vecA);
}
Now my question is, due to two loops (one generates the random
vector and one determines the vector...
2013 Jun 08
2
memdisk and iso, speed up
On Sat, Jun 8, 2013 at 1:44 AM, Geert Stappers <stappers at stappers.nl> wrote:
> Op 2013-06-07 om 12:20 schreef upen:
> > On Fri, Jun 7, 2013 at 9:29 AM, Geert Stappers <stappers at stappers.nl>
> wrote:
> > > Op 2013-06-07 om 06:18 schreef upen:
> > > > [ ... dhcp server configuration ... ]
> > > > Everything has been always like this on
2018 Jan 18
0
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...d buffers from the vq */
> >> + while (virtqueue_get_buf(vq, &unused))
> >> + ;
> >> +
> >> + /*
> >> + * Since this is an optimization feature, losing a couple of free
> >> + * pages to report isn't important.
> >> We simply resturn
> >
> > return
> >
> >> without adding
> >> + * the page if the vq is full. We are adding one entry each time,
> >> + * which essentially results in no memory allocation, so the
> >> + * GFP_KERNEL flag below can be ignored.
> >> +...
2018 Jan 18
0
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...t_buf(vq, &unused))
> > > >> + ;
> > > >> +
> > > >> + /*
> > > >> + * Since this is an optimization feature, losing a couple of free
> > > >> + * pages to report isn't important.
> > > >> We simply resturn
> > > >
> > > > return
> > > >
> > > >> without adding
> > > >> + * the page if the vq is full. We are adding one entry each time,
> > > >> + * which essentially results in no memory allocation, so the
> > &g...
2009 Jul 08
0
RODBC and sqlSave issue
...the varTypes argument, but I do not manage to use it.
If I use the following command lines:
> varTypes=c("datetime","varchar(50)","numeric(20,8)")
> sqlSave(channel, DF, tablename="essai_global", rownames=FALSE, oldstyle=FALSE)
I have the following resturn:
Warning message:
In sqlSave(channel, DF, tablename = "essai_global", rownames = FALSE, :
argument 'varTypes' has no names and will be ignored
and the types are still wrong..
How can I use the varTypes??? I have read the documentation, but I dd not manage to find out.
Tha...
2013 Jun 11
0
memdisk and iso, speed up
...> > set as background. It looks fine till this.
> >
> >
> > Now I choose the option for ISO. Here's where I found things are still
> not
> > consistent. It's 3-4 attempts for this option to get working. Most of
> times
> > it says file not found and resturn me to the original menu option.
> >
> > When it works, it shows,
> > Loading memdisk ...ok
> > Loading http://192.168.0.100/hiren.iso...This finally lands me into the
> CD
> > menu, as expected. On the TFTP server I ran netstat to see if the client
> is
> >...
2007 Jan 11
1
access to data denied
I have a standalone samba server for mailbackup purpose from Lotes Notes in a AD 2003 domain.
I've created one share which holds the mailbackup-folders of my users.
I've set the permissions on each folder so, that only users have access to their own mailbackup
folder.
drwxrwx- - - user1.root usersmailbackupfolder.
I can write a backup.nsf to the usersmailbackuop folder.
The permissions
2018 Jan 17
8
[PATCH v22 0/3] Virtio-balloon: support free page reporting
This patch series is separated from the previous "Virtio-balloon
Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_VQ,
implemented by this series enables the virtio-balloon driver to report
hints of guest free pages to the host. It can be used to accelerate live
migration of VMs. Here is an introduction of this usage:
Live migration needs to transfer the VM's memory
2018 Jan 17
8
[PATCH v22 0/3] Virtio-balloon: support free page reporting
This patch series is separated from the previous "Virtio-balloon
Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_VQ,
implemented by this series enables the virtio-balloon driver to report
hints of guest free pages to the host. It can be used to accelerate live
migration of VMs. Here is an introduction of this usage:
Live migration needs to transfer the VM's memory
2018 Jan 17
2
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...p;sg, pfn_to_page(pfn), len, 0);
> +
> + /* Detach all the used buffers from the vq */
> + while (virtqueue_get_buf(vq, &unused))
> + ;
> +
> + /*
> + * Since this is an optimization feature, losing a couple of free
> + * pages to report isn't important. We simply resturn without adding
> + * the page if the vq is full. We are adding one entry each time,
> + * which essentially results in no memory allocation, so the
> + * GFP_KERNEL flag below can be ignored.
> + */
> + if (vq->num_free) {
> + err = virtqueue_add_inbuf(vq, &sg, 1, vq,...
2018 Jan 17
2
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...p;sg, pfn_to_page(pfn), len, 0);
> +
> + /* Detach all the used buffers from the vq */
> + while (virtqueue_get_buf(vq, &unused))
> + ;
> +
> + /*
> + * Since this is an optimization feature, losing a couple of free
> + * pages to report isn't important. We simply resturn without adding
> + * the page if the vq is full. We are adding one entry each time,
> + * which essentially results in no memory allocation, so the
> + * GFP_KERNEL flag below can be ignored.
> + */
> + if (vq->num_free) {
> + err = virtqueue_add_inbuf(vq, &sg, 1, vq,...
2015 Nov 17
2
Disabling auth fallback to PAM
Hi folks,
According to the wiki,? it's considered a feature of Dovecot and its
ability to support multiple authentication sources that "if the
password doesn't match in the first database, it checks the next
one".
?) http://wiki.dovecot.org/Authentication/MultipleDatabases
I think it's great that Dovecot allows auth sources to be stacked
like this, but I am not sold on the
2013 Jun 10
0
memdisk and iso, speed up
...again, and it boots straight into graphical menu with the picture I
set as background. It looks fine till this.
Now I choose the option for ISO. Here's where I found things are still not
consistent. It's 3-4 attempts for this option to get working. Most of times
it says file not found and resturn me to the original menu option.
When it works, it shows,
Loading memdisk ...ok
Loading http://192.168.0.100/hiren.iso...This finally lands me into the CD
menu, as expected. On the TFTP server I ran netstat to see if the client is
connected to port 80 on server, and sure it was. So the Xfer of file...
2018 Jan 17
0
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...>> +
>> + /* Detach all the used buffers from the vq */
>> + while (virtqueue_get_buf(vq, &unused))
>> + ;
>> +
>> + /*
>> + * Since this is an optimization feature, losing a couple of free
>> + * pages to report isn't important. We simply resturn without adding
>> + * the page if the vq is full. We are adding one entry each time,
>> + * which essentially results in no memory allocation, so the
>> + * GFP_KERNEL flag below can be ignored.
>> + */
>> + if (vq->num_free) {
>> + err = virtqueue_add_in...
2018 Jan 17
1
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...; >> + while (virtqueue_get_buf(vq, &unused))
> >> + ;
> >> +
> >> + /*
> >> + * Since this is an optimization feature, losing a couple of free
> >> + * pages to report isn't important. We simply resturn without adding
> >> + * the page if the vq is full. We are adding one entry each time,
> >> + * which essentially results in no memory allocation, so the
> >> + * GFP_KERNEL flag below can be ignored.
> >> + */
> >> +...
2018 Jan 17
0
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...nit_table(&sg, 1);
+ sg_set_page(&sg, pfn_to_page(pfn), len, 0);
+
+ /* Detach all the used buffers from the vq */
+ while (virtqueue_get_buf(vq, &unused))
+ ;
+
+ /*
+ * Since this is an optimization feature, losing a couple of free
+ * pages to report isn't important. We simply resturn without adding
+ * the page if the vq is full. We are adding one entry each time,
+ * which essentially results in no memory allocation, so the
+ * GFP_KERNEL flag below can be ignored.
+ */
+ if (vq->num_free) {
+ err = virtqueue_add_inbuf(vq, &sg, 1, vq, GFP_KERNEL);
+ /*
+ * This...
2017 Sep 30
0
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...tic int send_balloon_page_sg(struct virtio_balloon *vb,
return err;
}
+static int send_free_page_sg(struct virtqueue *vq, void *addr, uint32_t size)
+{
+ int ret = 0;
+
+ /*
+ * Since this is an optimization feature, losing a couplle of free
+ * pages to report isn't important. We simply resturn without adding
+ * the page if the vq is full.
+ */
+ if (vq->num_free) {
+ ret = add_one_sg(vq, addr, size);
+ if (!ret)
+ virtqueue_kick(vq);
+ }
+
+ return ret;
+}
+
/*
* Send balloon pages in sgs to host. The balloon pages are recorded in the
* page xbitmap. Each bit in the bitmap...
2017 Nov 03
0
[PATCH v17 6/6] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...queue *vq, void *addr, uint32_t size)
+{
+ int err = 0;
+ unsigned int len;
+
+ /* Detach all the used buffers from the vq */
+ while (virtqueue_get_buf(vq, &len))
+ ;
+
+ /*
+ * Since this is an optimization feature, losing a couple of free
+ * pages to report isn't important. We simply resturn without adding
+ * the page if the vq is full.
+ */
+ if (vq->num_free) {
+ err = add_one_sg(vq, addr, size);
+ BUG_ON(err);
+ }
+
+ /* Batch till the vq is full */
+ if (!vq->num_free)
+ virtqueue_kick(vq);
+}
+
/*
* Send balloon pages in sgs to host. The balloon pages are recorded i...
2017 Nov 13
3
[PATCH v17 6/6] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...t err = 0;
> + unsigned int len;
> +
> + /* Detach all the used buffers from the vq */
> + while (virtqueue_get_buf(vq, &len))
> + ;
> +
> + /*
> + * Since this is an optimization feature, losing a couple of free
> + * pages to report isn't important. We simply resturn without adding
> + * the page if the vq is full.
> + */
> + if (vq->num_free) {
> + err = add_one_sg(vq, addr, size);
> + BUG_ON(err);
> + }
> +
> + /* Batch till the vq is full */
> + if (!vq->num_free)
> + virtqueue_kick(vq);
> +}
> +
> /*
>...