Displaying 9 results from an estimated 9 matches for "global_lock".
Did you mean:
global_unlock
2014 May 15
2
[PATCH] Add global mutex around each C call
From: Maros Zatko <mzatko@redhat.com>
Patch adds recursive mutex around C calls, which tries to fix
potential race condition in guestfs_umount_local (see [1]).
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=917706
Maros Zatko (1):
generator: c.ml - wrap non deamon function with recursive mutex
generator/c.ml | 12 ++++++++++++
1 file changed, 12 insertions(+)
--
1.8.5.3
2014 Jun 09
2
[LLVMdev] Use of statics and ManagedStatics in LLVM
...ollowing scenario:
During program initialization, a global static object's constructor
dereferences a ManagedStatic. During dereferencing of the ManagedStatic,
it needs to know whether or not to acquire the global lock in order to
allocate the ManagedStatic
There are 3 possible types for the global_lock, and none of them solve the
problem.
1) If global_lock is simply another global static, it may not have been
constructed yet.
2) If global_lock is a raw pointer to a mutex, it would have to be
explicitly allocated, and we can't guarantee this during static
initialization.
3) If global_lock i...
2014 May 16
2
Re: [PATCH] generator: c.ml - wrap non deamon function with recursive mutex
On Thu, May 15, 2014 at 05:39:08PM +0200, mzatko@redhat.com wrote:
> +
> + pr "gl_recursive_lock_define_initialized(static, global_lock)\n";
static?
I suspect this only allows one libguestfs handle per process into the
critical section at once. I think the lock needs to be per-handle
unless I'm misunderstanding what this is for.
Rich.
> + pr "\n";
> +
> pr "#endif /* GUESTFS_INTERNAL_ACTION...
2014 Jun 27
3
[PATCH WIP] Can't generate argv variant
Hi everyone,
lately I've been getting familiar with library and working on slight
re-layering of the library. It's about having locking layer in public API and
tracing one layer below that (let's call it __t_ layer. I'm not very good at
making up names, so this is temporary:) ). Then making sure that all generated
public stuff call __t_ layer and all other internal stuff
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello,
I work at SmarctJog.com, we have here some patches on IceCast for
performance and reliability, these are mostly client/connection/source
cleanups (a slave merge is underway, and some more good stuff (c)),
but we'd like this to be merged in before the list gets any longer.
Please find attached a list of our patches with a short desc:
This one is actually not from us/me, it was found
2011 Mar 31
0
[PATCH 7/7] x86: cleanup bogus CONFIG_ACPI_PCI uses
...= val & MASK;
+
+ if (!fam10h_pci_mmconf_base) {
+ fam10h_pci_mmconf_base = base;
+ return;
}
+ if (fam10h_pci_mmconf_base == base)
+ return;
}
/*
--- a/xen/include/asm-ia64/linux-xen/asm/acpi.h
+++ b/xen/include/asm-ia64/linux-xen/asm/acpi.h
@@ -96,8 +96,6 @@ ia64_acpi_release_global_lock (unsigned
((Acq) = ia64_acpi_release_global_lock(&facs->global_lock))
#define acpi_disabled 0 /* ACPI always enabled on IA64 */
-#define acpi_noirq 0 /* ACPI always enabled on IA64 */
-#define acpi_pci_disabled 0 /* ACPI PCI always enabled on IA64 */
#define acpi_strict 1 /* no ACPI s...
2004 Aug 06
2
improved error.log output --diff
...verable(sock_error()))
- WARN2("accept() failed with error %d: %s", sock_error(), strerror(sock_error()));
+ WARN2("accept() failed with error %d: %s, %s", sock_error(), strerror(sock_error()), "-");
free(ip);
@@ -415,7 +415,7 @@
*/
global_lock();
if (global.sources >= source_limit) {
- INFO1("Source (%s) logged in, but there are too many sources", mount);
+ INFO1("Source (%s) logged in, but there are too many sources, %s", mount, client->con->ip);
global_unlock();
return 0...
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3:
- mini-os configuration files moved into stubdom/
- mini-os extra console support now a config option
- Fewer #ifdefs
- grant table setup uses hypercall bounce
- Xenstore stub domain syslog support re-enabled
Changes from v2:
- configuration support added to mini-os build system
- add mini-os support for conditionally compiling frontends, xenbus
-
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...teredSignalInfo", "RegisteredSignalInfo"},
{"_ZL7Enabled", "Enabled"},
{"_ZL8StatInfo", "StatInfo"},
{"_ZL8StatLock", "StatLock"},
{"_ZL11FirstTarget", "FirstTarget"},
{"_ZL11global_lock", "global_lock"},
{"_ZL28LibSupportInfoOutputFilename", "LibSupportInfoOutputFilename"},
{"_ZL9TimerLock", "TimerLock"},
{"_ZN12_GLOBAL__N_1L10TrackSpaceE", "(anonymous namespace)::TrackSpace"},
{"_Z...