Displaying 8 results from an estimated 8 matches for "lock_".
Did you mean:
lock
2011 Sep 06
0
[PATCH] include: [sys/file.h] define flock(2) there
...es changed, 9 insertions(+), 1 deletions(-)
create mode 100644 usr/include/sys/file.h
diff --git a/usr/include/sys/file.h b/usr/include/sys/file.h
new file mode 100644
index 0000000..7b580f3
--- /dev/null
+++ b/usr/include/sys/file.h
@@ -0,0 +1,9 @@
+#ifndef _SYS_FILE_H
+#define _SYS_FILE_H
+
+/* LOCK_ definitions */
+#include <fcntl.h>
+
+__extern int flock(int, int);
+
+#endif /* _SYS_FILE_H */
diff --git a/usr/include/unistd.h b/usr/include/unistd.h
index f286c33..3eaeaee 100644
--- a/usr/include/unistd.h
+++ b/usr/include/unistd.h
@@ -105,7 +105,6 @@ __extern int dup(int);
__extern int...
2015 Apr 30
0
[PATCH 5/6] x86: switch config from UNINLINE_SPIN_UNLOCK to INLINE_SPIN_UNLOCK
...rding inlining compared to the other spinlock functions. Just treat
it like all the other spinlock functions.
Remove selecting UNINLINE_SPIN_UNLOCK in case of PARAVIRT_SPINLOCKS.
Signed-off-by: Juergen Gross <jgross at suse.com>
---
arch/x86/Kconfig | 1 -
include/linux/spinlock_api_smp.h | 2 +-
kernel/Kconfig.locks | 7 ++++---
kernel/Kconfig.preempt | 3 +--
kernel/locking/spinlock.c | 2 +-
lib/Kconfig.debug | 1 -
6 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 226d569....
2019 Feb 02
2
system wakeup caused by write operations to /var/lib/dovecot/instances
...em to wake up and disks to spin up.
Details
content of /var/lib/dovecot/instances :
1549073010 dovecot /var/run/dovecot /etc/dovecot/dovecot.conf
--> only the timestamp is changed (to current time) when dovecot writes
to this file
--> during write the file is temporary renamed to _instances.lock_
dovecot running processes:
dovecot (main process) --> it's this process that writes to
/var/lib/instances
dovecot/anvil
dovecot/log
dovecot/config --> sometimes this process is not running, but doesn't
change anything
note:
no clients connected
problem also occur in the middle of t...
2008 Jan 25
1
Windows share modes and Linux file locking, flock & fcntl
...stat64("temp/test.txt", {st_mode=S_IFREG|0764, st_size=24, ...}) = 0
gettimeofday({1201195094, 16852}, NULL) = 0
fcntl64(12, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET,
start=256, len=1}, 0xbff6a890) = 0
open("temp/test.txt", O_RDWR|O_LARGEFILE) = 19
flock(19, 0x20 /* LOCK_??? */) = 0
fcntl64(19, F_SETSIG, 0x23) = 0
fcntl64(19, 0x400 /* F_??? */, 0x1) = 0
The second argument to flock() on the test file is 0x20, which is what
LOCK_MAND is defined as in the samba-3.0.28 source in the file
source/include/includes.h. This is the same value I fi...
2011 Dec 04
0
[GIT PULL] klibc minor fixes
...n is in
unistd.h.
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/include/sys/file.h b/usr/include/sys/file.h
new file mode 100644
index 0000000..7b580f3
--- /dev/null
+++ b/usr/include/sys/file.h
@@ -0,0 +1,9 @@
+#ifndef _SYS_FILE_H
+#define _SYS_FILE_H
+
+/* LOCK_ definitions */
+#include <fcntl.h>
+
+__extern int flock(int, int);
+
+#endif /* _SYS_FILE_H */
diff --git a/usr/include/unistd.h b/usr/include/unistd.h
index f286c33..3eaeaee 100644
--- a/usr/include/unistd.h
+++ b/usr/include/unistd.h
@@ -105,7 +105,6 @@ __extern int dup(int);
__extern int...
2008 Oct 22
2
smbd high cpu load
We have a Linux file server for a set of computer science and
engineering
labs where each lab contains machines running Mac OS X, Ubuntu Linux,
or some incarnation of Windows. At times the these machines become
almost unusable and I think I have narrowed the problem to smbd
processes
soaking up all the CPU on the server. Running 'top' on the server
reveals a dozen or so entries like
2015 Apr 30
12
[PATCH 0/6] x86: reduce paravirtualized spinlock overhead
...ger needed paravirt_ticketlocks_enabled
arch/x86/Kconfig | 1 -
arch/x86/include/asm/paravirt.h | 13 +++++++++
arch/x86/include/asm/paravirt_types.h | 12 ++++++++
arch/x86/include/asm/spinlock.h | 53 ++++++++++++-----------------------
arch/x86/include/asm/spinlock_types.h | 3 +-
arch/x86/kernel/kvm.c | 14 +--------
arch/x86/kernel/paravirt-spinlocks.c | 42 +++++++++++++++++++++++++--
arch/x86/kernel/paravirt.c | 12 ++++++++
arch/x86/kernel/paravirt_patch_32.c | 25 +++++++++++++++++
arch/x86/kernel/paravirt_patch_64.c | 24...
2015 Apr 30
12
[PATCH 0/6] x86: reduce paravirtualized spinlock overhead
...ger needed paravirt_ticketlocks_enabled
arch/x86/Kconfig | 1 -
arch/x86/include/asm/paravirt.h | 13 +++++++++
arch/x86/include/asm/paravirt_types.h | 12 ++++++++
arch/x86/include/asm/spinlock.h | 53 ++++++++++++-----------------------
arch/x86/include/asm/spinlock_types.h | 3 +-
arch/x86/kernel/kvm.c | 14 +--------
arch/x86/kernel/paravirt-spinlocks.c | 42 +++++++++++++++++++++++++--
arch/x86/kernel/paravirt.c | 12 ++++++++
arch/x86/kernel/paravirt_patch_32.c | 25 +++++++++++++++++
arch/x86/kernel/paravirt_patch_64.c | 24...