xtraeme
58398d7565
* Replace simple_locks and exclusive locks with adaptive mutexes.
...
* Replace ltsleep/wakeup pairs with condition variables
(cv_init/cv_wait/cv_broadcast).
Reviewed by ad@.
2007-02-18 23:41:07 +00:00
xtraeme
a50e1fb3a5
Replace simple_locks with mutexes, reviewed by ad@.
2007-02-18 23:40:07 +00:00
xtraeme
039f493e4b
Replace a simple_lock with a mutex, reviewed by ad@.
2007-02-18 23:39:20 +00:00
xtraeme
406b5ff314
* Replace simple_locks and exclusive locks with adaptive mutexes.
...
* Replace ltsleep/wakeup pairs with condition variables
(cv_init/cv_wait/cv_broadcast).
Reviewed by ad@.
2007-02-18 23:38:11 +00:00
xtraeme
840604a1a8
Replace simple_locks with mutexes, reviewed by ad@.
2007-02-18 23:34:55 +00:00
xtraeme
b821d47d37
There's no need to use a simple_lock here, ok ad@.
2007-02-18 23:32:52 +00:00
pooka
3780ec4943
* don't allow reads beyond at offset = EOF, all fuse file systems can't
...
handle it
* initialize refuse root node properly
* some misc cleanup
2007-02-18 23:30:45 +00:00
matt
44109561cb
Convert to structure initializers. Use __arraycount
2007-02-18 23:16:59 +00:00
matt
54df2d7161
Convert atalksw to structure initializers.
2007-02-18 23:06:11 +00:00
ad
d3e0294550
Eliminate 2 unnecessary loads.
2007-02-18 23:02:32 +00:00
matt
58aa85753d
Initialize routeswitch with structure initializers.
2007-02-18 22:46:32 +00:00
rmind
07f5c15ae5
Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
...
lists seems to be compatible.
2007-02-18 22:44:44 +00:00
pooka
12999dc43c
fix rename (yes, it's really that simple)
2007-02-18 22:42:33 +00:00
pooka
45bd3a1031
* oh, and when removing, remove the target node, not its parent directory
...
* use PUFFS_KFLAG_NOCACHE always for now, since code is too jumpy and
volatile to deal with caches
2007-02-18 22:30:59 +00:00
rmind
5533f1ebfd
PR/34630: GNU sdiff(1) replacement
...
Import new sdiff(1). Compatible with GNU sdiff(1), has various bugfixes
and licensed in public domain.
christos@: "I am ok with it"
No objections in tech-userlevel@
2007-02-18 22:13:42 +00:00
pooka
c82c131e9f
* map reclaim to release, but call it only for files which were opened
...
* use node paths in remove/rmdir instead of pcn full paths (which are
null for those ops)
2007-02-18 22:08:42 +00:00
rmind
e3179c1bea
Introduce table of contents for core references. Please note, that in
...
future one should follow such hierarchy:
1. Table of contents (only intro.9)
2. Abstract description of subsystems (e.g. memoryallocators.9)
3. Concrete description of subsystem (e.g. vmem.9)
Thanks tsutsui@ for better structurization and wiz@ for quick review.
OK by tech-kern@ positivism.
2007-02-18 21:45:30 +00:00
ad
e434239e70
Export __SIMPLELOCK_LOCKED, __SIMPLELOCK_UNLOCKED.
2007-02-18 21:32:48 +00:00
macallan
3b01cf7c93
"unsmoke crack"
...
from mrg and ad
2007-02-18 21:14:52 +00:00
ad
7cfa6abfaf
More signals/locking changes.
2007-02-18 21:10:32 +00:00
ad
be01a71411
+ mb_memory()
2007-02-18 21:07:40 +00:00
matt
c77b6c330d
Add IPL_SOFT
2007-02-18 21:04:21 +00:00
matt
7a2b6251f2
Adapt to newlock2
2007-02-18 21:04:01 +00:00
matt
ac1041d913
Move declaration of spl_smasks. make spl_smasks and soft_interrupts static.
2007-02-18 21:03:22 +00:00
matt
c47c836ecb
Equate mb_write and mb_read to drain_writebuf (from cpu.h)
2007-02-18 21:01:50 +00:00
pooka
e8d4536f16
in create, if op.create doesn't exist, try op.mknod instead
2007-02-18 20:38:07 +00:00
pooka
2da757310f
if doing VOP_CREATE via sys_mknod, set va_rdev to VNOVAL instead of 0
2007-02-18 20:36:36 +00:00
ad
063adfba9b
Sync signal delivery routines with i386. sendsig_reset() was not being
...
called, and so delivered signals were not being masked.
From cube@, with minor mods by me.
2007-02-18 20:22:25 +00:00
briggs
069c9702dd
Adapt to newlock2.
2007-02-18 20:05:20 +00:00
ad
42a7dff463
procfs_map():
...
- Drop the target's vm_map lock before calling uiomove(). We could
deadlock if inspecting /proc/curproc/map.
- If the vm_map might have changed, restart the operation, but give
up after 250 retries if the map keeps changing. XXX This is not
ideal.
2007-02-18 20:03:44 +00:00
briggs
04a29fca2b
Adapt to newlock2.
2007-02-18 19:59:25 +00:00
pooka
2deb71d45f
Support creating regular files with mknod(2) to match Linux/Solaris
...
behaviour. This happens if mode contains S_IFREG. mknod(2) is
still restricted to the superuser.
no objections from tech-kern
2007-02-18 19:57:29 +00:00
martin
1c144699b5
Make use of another call delay slot, pointed out by uwe.
2007-02-18 19:09:36 +00:00
degroote
9e2b4bf469
Always free the sav, not only in the mature case
2007-02-18 18:58:17 +00:00
pooka
a24db39ba5
move getdir() location to match layout of real fuse operations
2007-02-18 18:47:40 +00:00
briggs
470fb10317
Add arm/atomic.h
2007-02-18 18:47:36 +00:00
martin
420d0debfd
Make use of a call delay slot and avoid a bogus EMPTY.
...
Spotted by Juergen Hannken-Illjes, with input from Andrew Doran and
Valeriy E. Ushakov.
2007-02-18 18:30:06 +00:00
martin
7bb9e12996
Whitespace cosmetics
2007-02-18 18:25:40 +00:00
martin
13e6855e81
Backout previous: EMPTY was misused
2007-02-18 18:23:58 +00:00
dsl
eeeb3c2624
Get config(1) to supply the default parameters for BEEP_ON_HALT.
2007-02-18 18:20:26 +00:00
christos
731b8a1ee4
SHA512_Last is not public anymore.
2007-02-18 18:16:24 +00:00
dsl
5c89b1866e
Get config(1) to supply the default values for BEEP_ONHALT.
2007-02-18 18:15:41 +00:00
christos
ace49726e7
Make SHA512_Last static since it is not part of the API. Suggested by
...
Matthias Scheler
2007-02-18 18:13:38 +00:00
dsl
a1ab8f91ce
Add commented out entries for SYSCALL_STATS and SYSCALL_TIMES
2007-02-18 18:05:52 +00:00
agc
3d88835937
Added extra functionality:
...
fuse_opt_free_args()
fuse_exit()
Both from Juan RP - thanks!
2007-02-18 17:44:57 +00:00
pooka
8022394bca
Until someone can sort non-priviledged mounts and kauth, force
...
MNT_NOSUID | MNT_NODEV for mounts with geteuid() != 0. I'm tired
of typing them on the command line every time I test a file system.
2007-02-18 17:38:10 +00:00
pooka
b681c2611b
dump return values for operations
2007-02-18 17:36:48 +00:00
dsl
eebb2036b8
Document 'systat syscall'.
2007-02-18 17:29:26 +00:00
ad
4de88fa799
Drop proc::p_smutex before calling cpu_getmcontext().
2007-02-18 17:11:27 +00:00
dsl
49c5f0e9e5
Include code to display per system call counts and times.
2007-02-18 17:00:08 +00:00