Displaying 20 results from an estimated 700 matches similar to: "[PATCH] tools/virtio: use virt_xxx barriers"
2015 Dec 31
0
[PATCH v2 34/34] xen/io: use virt_xxx barriers
include/xen/interface/io/ring.h uses
full memory barriers to communicate with the other side.
For guests compiled with CONFIG_SMP, smp_wmb and smp_mb
would be sufficient, so mb() and wmb() here are only needed if
a non-SMP guest runs on an SMP host.
Switch to virt_xxx barriers which serve this exact purpose.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
2015 Dec 31
0
[PATCH v2 33/34] xenbus: use virt_xxx barriers
drivers/xen/xenbus/xenbus_comms.c uses
full memory barriers to communicate with the other side.
For guests compiled with CONFIG_SMP, smp_wmb and smp_mb
would be sufficient, so mb() and wmb() here are only needed if
a non-SMP guest runs on an SMP host.
Switch to virt_xxx barriers which serve this exact purpose.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
2016 Jan 10
0
[PATCH v3 39/41] xen/events: use virt_xxx barriers
drivers/xen/events/events_fifo.c uses rmb() to communicate with the
other side.
For guests compiled with CONFIG_SMP, smp_rmb would be sufficient, so
rmb() here is only needed if a non-SMP guest runs on an SMP host.
Switch to the virt_rmb barrier which serves this exact purpose.
Pull in asm/barrier.h here to make sure the file is self-contained.
Suggested-by: David Vrabel <david.vrabel at
2016 Jan 01
0
[PATCH v2 30/32] virtio_ring: update weak barriers to use __smp_xxx
virtio ring uses smp_wmb on SMP and wmb on !SMP,
the reason for the later being that it might be
talking to another kernel on the same SMP machine.
This is exactly what __smp_XXX barriers do,
so switch to these instead of homegrown ifdef hacks.
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Alexander Duyck <alexander.duyck at gmail.com>
Signed-off-by: Michael S. Tsirkin <mst at
2023 Apr 10
2
[PATCH v2 2/2] tools/virtio: fix build caused by virtio_ring changes
On Mon, Apr 10, 2023 at 08:00:33AM -0400, Michael S. Tsirkin wrote:
> On Mon, Apr 10, 2023 at 08:28:45PM +0900, Shunsuke Mie wrote:
> > Fix the build dependency for virtio_test. The virtio_ring that is used from
> > the test requires container_of_const(). Change to use container_of.h kernel
> > header directly and adapt related codes.
> >
> > Signed-off-by:
2014 Jul 15
0
[3.13.y.z extended stable] Patch "block: virtio_blk: don't hold spin lock during world switch" has been added to staging queue
This is a note to let you know that I have just added a patch titled
block: virtio_blk: don't hold spin lock during world switch
to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree
which can be found at:
http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.13.y-queue
This patch is scheduled to be released in version 3.13.11.5.
If you, or
2014 Jul 15
0
[3.13.y.z extended stable] Patch "block: virtio_blk: don't hold spin lock during world switch" has been added to staging queue
This is a note to let you know that I have just added a patch titled
block: virtio_blk: don't hold spin lock during world switch
to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree
which can be found at:
http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.13.y-queue
This patch is scheduled to be released in version 3.13.11.5.
If you, or
2008 Jan 03
0
[LLVMdev] runtime optimizations in LLVM
Hi Kamal,
On Jan 2, 2008, at 05:57, Kamal R. Prasad wrote:
> (im new to LLVM , so pl excuse if this is a naive q).
Welcome!
> Can someone provide info on what runtime optimizations are done in
> LLVM?
You can use any of LLVM's optimizing transformations in a JIT context.
There's a list here:
http://llvm.org/docs/Passes.html
Unlike Java, you're in the driver's
1998 Dec 04
1
SAMBA digest 1898
I would like to request you Samba gurus , what is the significance of teh
file " username-map " which currently is in
/usr/local/samba/lib. I have tried the following entries:
jhall = hall_j
kamal = kamal
root = root
but i dont know what it does , now the question : Can i manage users with
this file , i.e I just add entries to this file on the fly and the users
will have access to the
2015 Feb 23
3
[LLVMdev] Eliminating redundant loads
On 23 February 2015 at 01:29, Kamal Sharma <kgs1.rice at gmail.com> wrote:
> Hi Dibyendu,
>
> It would be very helpful if you could post the original source code or
> snippet.
> That way, one can investigate deeper to understand the problem.
>
> Regards,
> Kamal Sharma
>
Hi Kamal,
Sure. I guess I ought to create a test that one can look in isolation.
I am
2008 Jul 07
1
[LLVMdev] runtime optimizations in LLVM
--- On Thu, 1/3/08, Gordon Henriksen <gordonhenriksen at mac.com> wrote:
>
> On Jan 2, 2008, at 05:57, Kamal R. Prasad wrote:
>
> > (im new to LLVM , so pl excuse if this is a naive q).
>
> Welcome!
>
thanks
> > Can someone provide info on what runtime optimizations
> are done in
> > LLVM?
>
> You can use any of LLVM's optimizing
2016 Jan 18
0
virtio pull for 4.5 (was Re: [PULL] virtio: barrier rework+fixes)
Hi Linus,
Just making sure nothing's wrong with this pull request.
If there's an issue, pls let me know!
Thanks!
On Wed, Jan 13, 2016 at 06:28:55PM +0200, Michael S. Tsirkin wrote:
> The following changes since commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc:
>
> Linux 4.4 (2016-01-10 15:01:32 -0800)
>
> are available in the git repository at:
>
>
2014 Jul 15
0
[PATCH 3.13 077/198] block: virtio_blk: don't hold spin lock during world switch
3.13.11.5 -stable review patch. If anyone has any objections, please let me know.
------------------
From: Ming Lei <ming.lei at canonical.com>
commit e8edca6f7f92234202d6dd163c118ef495244d7c upstream.
Firstly, it isn't necessary to hold lock of vblk->vq_lock
when notifying hypervisor about queued I/O.
Secondly, virtqueue_notify() will cause world switch and
it may take long
2014 Jul 15
0
[PATCH 3.13 077/198] block: virtio_blk: don't hold spin lock during world switch
3.13.11.5 -stable review patch. If anyone has any objections, please let me know.
------------------
From: Ming Lei <ming.lei at canonical.com>
commit e8edca6f7f92234202d6dd163c118ef495244d7c upstream.
Firstly, it isn't necessary to hold lock of vblk->vq_lock
when notifying hypervisor about queued I/O.
Secondly, virtqueue_notify() will cause world switch and
it may take long
2011 Jun 25
2
Howto Backup Domain Controller (BDC) for the Primary Domain Controller (PDC) in Centos Openldap+samba 3.3 Please send to...
Dear All,
Please help me in this regards, Howto Backup Domain Controller (BDC) or
Secondary domain controller for the Primary Domain Controller (PDC) in
Centos 5.6 Openldap+samba 3.3
Please give the step by step.
Regards
kamal
2014 Apr 30
2
Problem with Renaming R object
Hi,
I have a problem in renaming R object and saving them within a loop. For ex:
for (i in 1:length(all_files))
{
uncov_GR <- "variable created in loop"
filename <- paste0(sample_name[[i]],"_uncov", ".Rdata"))
save(uncov_GR,file=filename)
}
Within the above short code (out of a long program), I want to
2024 Mar 22
1
Samba errors everyday at 00:00:00
Hello Rawland,
Thank you for your reply.
We manage other zones other than the ad zone. These zones are stored in our AD (ldap). To do this, we have set up the named-sdb service which listens on 127.0.0.2. Samba AD forwards all DNS requests that do not match the AD domain zone to named-sdb.
The problem is that these log errors only occur at 00:00:00 every day.
Best Regards,
2008 Jan 02
2
[LLVMdev] runtime optimizations in LLVM
Hello,
(im new to LLVM , so pl excuse if this is a naive q).
Can someone provide info on what runtime
optimizations are done in LLVM? do you have something
along lines of JVM's hotspot feature?
How efficient is the optimized code vis-a-vis native
code?
thanks
-kamal
____________________________________________________________________________________
Never miss a thing.
2010 Jun 11
1
Fwd: how to "Disable Samba Roaming profile"
>
> --- Original message ---
> Subject: [Samba] Fwd: how to "Disable Samba Roaming profile"
> From: Muqtadir Kamal <smkamal2001 at gmail.com>
> To: <samba at lists.samba.org>
> Date: Thursday, 10/06/2010 10:31 PM
>
> ---------- Forwarded message ----------
> From: Muqtadir Kamal <smkamal2001 at gmail.com>
> Date: Fri, Jun 11, 2010 at 10:49
2016 Jan 13
3
[PULL] virtio: barrier rework+fixes
The following changes since commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc:
Linux 4.4 (2016-01-10 15:01:32 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus
for you to fetch changes up to 43e361f23c49dbddf74f56ddf6cdd85c5dbff6da:
checkpatch: add virt barriers (2016-01-12 20:47:08 +0200)