CVS log for src/sys/miscfs/procfs/procfs_linux.c
Up to [cvs.NetBSD.org] / src / sys / miscfs / procfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.88.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:27:53 2026 UTC (11 days, 10 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.88.2.1: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.1: +3 -3
lines
Sync with HEAD
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Apr 11 12:21:32 2026 UTC (7 months ago) by fox
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -3
lines
Pass in filepg for buffers instead of freepg.
Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:57:45 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +74 -2
lines
Sync with HEAD
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Sep 14 01:37:42 2024 UTC (2 years, 2 months ago) by pgoyette
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +16 -3
lines
Define dependencies based on build options.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Jul 1 01:35:53 2024 UTC (2 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +61 -2
lines
Add linux POSIX message queue support (Ricardo Branco)
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun May 12 17:26:50 2024 UTC (2 years, 6 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +153 -2
lines
PR/58227: Ricardo Branco: Add support for proc/sysvipc in Linux emulator
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:30:12 2020 UTC (6 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3
lines
Round of uvm.h cleanup.
The poorly named uvm.h is generally supposed to be for uvm-internal
users only.
- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.
- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.
- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.
- Make uvm_device.h and uvm_swap.h independently includable while
here.
ok chs@
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Jun 11 22:21:05 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +11 -6
lines
Counter tweaks:
- Don't need to count anonpages+filepages any more; clean+unknown+dirty for
each kind of page can be summed to get the totals.
- Track the number of free pages with a counter so that it's one less thing
for the allocator to do, which opens up further options there.
- Remove cpu_count_sync_one(). It has no users and doesn't save a whole lot.
For the cheap option, give cpu_count_sync() a boolean parameter indicating
that a cached value is okay, and rate limit the updates for cached values
to hz.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:46 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3
lines
uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun May 31 08:38:54 2020 UTC (6 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +7 -6
lines
struct statvfs is too large for stack. Use malloc(9) instead.
XXX
Switch to kmem(9) for entire this file.
Frame size, e.g. for m68k, becomes:
3292 --> 12
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat May 23 23:42:43 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -6
lines
Move proc_lock into the data segment. It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
Revision 1.80.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:24:06 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.80.6.1: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.6.1: +3 -2
lines
Sync with bouyer-xenpvh-base2 (HEAD)
Revision 1.73.12.4: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:43 2020 UTC (6 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.73.12.3: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.12.3: +2 -1
lines
Sync with HEAD
Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Apr 20 13:30:34 2020 UTC (6 years, 6 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20200421,
bouyer-xenpvh-base2
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -2
lines
Add missing include of <sys/atomic.h> to fix the build
Revision 1.80.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:11 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3
lines
Sync with HEAD
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Apr 19 20:31:59 2020 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-xenpvh-base1
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3
lines
- Only increment nprocs when we're creating a new process, not just
when allocating a PID.
- Per above, proc_free_pid() no longer decrements nprocs. It's now done
in proc_free() right after proc_free_pid().
- Ensure nprocs is accessed using atomics everywhere.
Revision 1.73.12.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:05 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.73.12.2: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.12.2: +5 -8
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.73.12.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:53 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.73.12.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.12.1: +26 -20
lines
Merge changes from current as of 20200406
Revision 1.70.10.1: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:23:38 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +3 -2
lines
Pull up the following, requested by christos in ticket #1720:
sys/compat/common/kern_sig_43.c 1.36
sys/compat/linux/arch/amd64/linux_machdep.c 1.59
sys/compat/linux/common/linux_fcntl.h 1.18
sys/compat/linux/common/linux_file64.c 1.62
sys/compat/linux/common/linux_ipc.c 1.57
sys/compat/linux/common/linux_misc.c 1.243
sys/compat/linux/common/linux_signal.c 1.81
sys/compat/linux/common/linux_socket.c 1.149 (patch)
sys/compat/linux/common/linux_socket.h 1.24
sys/compat/linux/common/linux_statfs.h 1.7
sys/compat/linux/common/linux_termios.c 1.38
sys/compat/linux/common/linux_termios.h 1.22
sys/compat/linux32/common/linux32_dirent.c 1.20
sys/compat/linux32/common/linux32_ioctl.c 1.14
sys/compat/linux32/common/linux32_misc.c 1.27
sys/compat/linux32/common/linux32_signal.c 1.20
sys/compat/linux32/common/linux32_sysinfo.c 1.8
sys/compat/linux32/common/linux32_termios.c 1.15
sys/compat/linux32/common/linux32_utsname.c 1.10
sys/compat/netbsd32/netbsd32_compat_20.c 1.39
sys/compat/netbsd32/netbsd32_compat_43.c 1.59
sys/compat/netbsd32/netbsd32_compat_50.c 1.44
sys/compat/ossaudio/ossaudio.c 1.75
sys/kern/sysv_shm.c 1.138
sys/miscfs/procfs/procfs_linux.c 1.75 (patch)
sys/sys/shm.h 1.54 (patch)
Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:19:17 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +3 -2
lines
Pull up the following, requested by christos in ticket #1720:
sys/compat/common/kern_sig_43.c 1.36
sys/compat/linux/arch/amd64/linux_machdep.c 1.59
sys/compat/linux/common/linux_fcntl.h 1.18
sys/compat/linux/common/linux_file64.c 1.62
sys/compat/linux/common/linux_ipc.c 1.57
sys/compat/linux/common/linux_misc.c 1.243
sys/compat/linux/common/linux_signal.c 1.81
sys/compat/linux/common/linux_socket.c 1.149 (patch)
sys/compat/linux/common/linux_socket.h 1.24
sys/compat/linux/common/linux_statfs.h 1.7
sys/compat/linux/common/linux_termios.c 1.38
sys/compat/linux/common/linux_termios.h 1.22
sys/compat/linux32/common/linux32_dirent.c 1.20
sys/compat/linux32/common/linux32_ioctl.c 1.14
sys/compat/linux32/common/linux32_misc.c 1.27
sys/compat/linux32/common/linux32_signal.c 1.20
sys/compat/linux32/common/linux32_sysinfo.c 1.8
sys/compat/linux32/common/linux32_termios.c 1.15
sys/compat/linux32/common/linux32_utsname.c 1.10
sys/compat/netbsd32/netbsd32_compat_20.c 1.39
sys/compat/netbsd32/netbsd32_compat_43.c 1.59
sys/compat/netbsd32/netbsd32_compat_50.c 1.44
sys/compat/ossaudio/ossaudio.c 1.75
sys/kern/sysv_shm.c 1.138
sys/miscfs/procfs/procfs_linux.c 1.75 (patch)
sys/sys/shm.h 1.54 (patch)
Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.
Revision 1.73.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 21 18:12:54 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE
Diff to: previous 1.73.4.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.4.1: +4 -2
lines
Pull up the following, requested by christos in ticket #1487:
sys/compat/common/kern_sig_43.c 1.36
sys/compat/linux/arch/amd64/linux_machdep.c 1.59
sys/compat/linux/common/linux_fcntl.h 1.18
sys/compat/linux/common/linux_file64.c 1.62
sys/compat/linux/common/linux_ipc.c 1.57
sys/compat/linux/common/linux_misc.c 1.243
sys/compat/linux/common/linux_signal.c 1.81
sys/compat/linux/common/linux_socket.c 1.149
sys/compat/linux/common/linux_socket.h 1.24
sys/compat/linux/common/linux_statfs.h 1.7
sys/compat/linux/common/linux_termios.c 1.38
sys/compat/linux/common/linux_termios.h 1.22
sys/compat/linux32/common/linux32_dirent.c 1.20
sys/compat/linux32/common/linux32_ioctl.c 1.14
sys/compat/linux32/common/linux32_misc.c 1.27
sys/compat/linux32/common/linux32_signal.c 1.20
sys/compat/linux32/common/linux32_sysinfo.c 1.8
sys/compat/linux32/common/linux32_termios.c 1.15
sys/compat/linux32/common/linux32_utsname.c 1.10
sys/compat/netbsd32/netbsd32_compat_20.c 1.39
sys/compat/netbsd32/netbsd32_compat_43.c 1.59
sys/compat/netbsd32/netbsd32_compat_50.c 1.44
sys/compat/ossaudio/ossaudio.c 1.75
sys/kern/sysv_shm.c 1.138
sys/miscfs/procfs/procfs_linux.c 1.75 (patch)
sys/sys/shm.h 1.54
Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Jan 2 15:42:27 2020 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -3
lines
- Eliminate the global "boottime" variable, which was being accessed
without any synchronization against changes by e.g. clock_settime().
- Replace with new getbinboottime() / getnanoboottime() / getmicroboottime()
functions (naming mirrors that of other time access functions in kern_tc.c).
It returns the (maybe-converted) value of timebasebin, which also tracks
our estimate of when the system was booted (i.e. the legacy "boottime" was
redundant).
XXX There needs to be a lockless synchronization mechanism for reading
timebasebin, but this is a problem in kern_tc.c that pre-existed these
"boottime" changes. At least now the problem is centralized in one location.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:13 2019 UTC (6 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3
lines
Rename uvm_free() -> uvm_availmem().
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:24 2019 UTC (6 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
uvmexp.free -> uvm_free()
Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Dec 16 22:47:55 2019 UTC (6 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +22 -19
lines
- Extend the per-CPU counters matt@ did to include all of the hot counters
in UVM, excluding uvmexp.free, which needs special treatment and will be
done with a separate commit. Cuts system time for a build by 20-25% on
a 48 CPU machine w/DIAGNOSTIC.
- Avoid 64-bit integer divide on every fault (for rnd_add_uint32).
Revision 1.74.4.2: download - view: text, markup, annotated - select for diffs
Fri Sep 13 06:25:26 2019 UTC (7 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.74.4.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.4.1: +4 -2
lines
Pull up following revision(s) (requested by maxv in ticket #194):
sys/compat/linux/common/linux_socket.c: revision 1.146
sys/compat/linux/common/linux_socket.c: revision 1.147
sys/compat/linux/common/linux_socket.c: revision 1.148
sys/compat/linux/common/linux_socket.c: revision 1.149
sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.59
sys/compat/linux32/common/linux32_sysinfo.c: revision 1.8
sys/kern/sysv_shm.c: revision 1.138
sys/compat/linux/common/linux_file64.c: revision 1.61
sys/compat/linux/common/linux_file64.c: revision 1.62
sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.58
sys/compat/linux32/common/linux32_dirent.c: revision 1.20
sys/compat/linux32/common/linux32_utsname.c: revision 1.10
sys/compat/linux/common/linux_termios.h: revision 1.22
sys/compat/linux32/common/linux32_termios.c: revision 1.15
sys/compat/linux32/common/linux32_misc.c: revision 1.27
sys/compat/linux32/common/linux32_ioctl.c: revision 1.14
sys/compat/linux/common/linux_statfs.h: revision 1.7
sys/compat/linux/common/linux_ipc.c: revision 1.57
sys/compat/linux/common/linux_fcntl.h: revision 1.18
sys/compat/linux/common/linux_socket.h: revision 1.24
sys/sys/shm.h: revision 1.54
sys/compat/ossaudio/ossaudio.c: revision 1.75
sys/compat/linux32/common/linux32_signal.c: revision 1.20
sys/miscfs/procfs/procfs_linux.c: revision 1.75
sys/compat/linux/common/linux_signal.c: revision 1.81
sys/compat/linux/common/linux_termios.c: revision 1.38
sys/compat/linux/common/linux_misc.c: revision 1.241
sys/compat/linux/common/linux_misc.c: revision 1.242
sys/compat/linux/common/linux_misc.c: revision 1.243
sys/compat/linux/common/linux_misc.c: revision 1.244
Fix info leaks.
Fix stupid bugs in linux_sys_shmctl(): the index could be out of bound
(page fault) and there was no proper locking.
Maybe we should just remove LINUX_SHM_STAT, like compat_linux32.
Remove printf.
When dealing with an unknown value, set -1, to prevent (harmless)
uninitialized accesses later.
Add a default case, don't call sys_ioctl() with an uninitialized 'com'
argument.
Fix error handling, returns an errno, not -1.
Put the printf under DEBUG_LINUX.
Hum, don't forget the 'pid' argument, otherwise we're not gonna go very
far.
Don't read data from userland directly. This simply does not work on any
recent x86 CPU (thanks to SMAP) and all architectures that forbid direct
access to userland from the kernel. But I guess no one noticed because no
one ever uses compat_linux, right?
Hum, don't pass an mbuf to realloc(). Inspired from copyin32_msg_control().
Fix memory leak.
I don't see the point in having this useless printf, but add a '\n' to it,
so that it at least displays useless stuff correctly.
Hum, remove incorrect assignment. Userland could have passed a smaller
namelen, and the uninitialized bytes from sb_data were being used later in
the network stack.
Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 10 16:11:00 2019 UTC (7 years, 2 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -10
lines
Pull up following revision(s) (requested by chs in ticket #190):
sys/miscfs/procfs/procfs_linux.c: revision 1.76
have procfs_do_pid_stat() pass the proc's map to get_proc_size_info(),
rather than having the latter look up the map again and not check
for an error.
Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 10 16:00:19 2019 UTC (7 years, 2 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -10
lines
Pull up following revision(s) (requested by chs in ticket #1370):
sys/miscfs/procfs/procfs_linux.c: revision 1.76
have procfs_do_pid_stat() pass the proc's map to get_proc_size_info(),
rather than having the latter look up the map again and not check
for an error.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Sep 7 19:08:28 2019 UTC (7 years, 2 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +5 -10
lines
have procfs_do_pid_stat() pass the proc's map to get_proc_size_info(),
rather than having the latter look up the map again and not check
for an error.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Aug 23 14:12:39 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -2
lines
Fix info leaks.
Revision 1.73.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:06 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4
lines
Sync with HEAD
Revision 1.73.10.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:04 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +4 -4
lines
Sync with HEAD, resolve a few conflicts
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Dec 5 18:16:51 2018 UTC (7 years, 11 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4
lines
As discussed in tech-kern:
- make sysctl kern.expose_address tri-state:
0: no access
1: access to processes with open /dev/kmem
2: access to everyone
defaults:
0: KASLR kernels
1: non-KASLR kernels
- improve efficiency by calling get_expose_address() per sysctl, not per
process.
- don't expose addresses for linux procfs
- welcome to 8.99.27, changes to fill_*proc ABI
Revision 1.64.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:48 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.64.6.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.6.1: +25 -21
lines
update from HEAD
Revision 1.70.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:09 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.70.4.2: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.2: +7 -11
lines
Sync with HEAD
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:28 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +7 -11
lines
Sync with HEAD
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:04 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +7 -11
lines
Sync with HEAD
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Apr 13 09:54:18 2017 UTC (9 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-compat-base,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1
Branch point for: phil-wifi,
pgoyette-compat,
netbsd-8
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +7 -11
lines
Switch procfs_domounts() to mountlist iterator.
Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:17 2016 UTC (10 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.4.1: +21 -12
lines
Sync with HEAD
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Mar 28 17:23:47 2016 UTC (10 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +21 -12
lines
Align /proc/<pid>/statm data with /proc/<pid>/stat and
provide RSS information. There is no data about shared
pages.
Helps PR 50801.
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:08 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -4
lines
Sync with HEAD
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jul 24 13:02:52 2015 UTC (11 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -4
lines
Unused inits (harmless).
Found by Brainy.
Revision 1.64.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:31 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +60 -58
lines
Rebase to HEAD as of a few days ago.
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:05 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +51 -50
lines
Rebase.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:22:06 2014 UTC (12 years, 3 months ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Branch point for: nick-nhusb,
netbsd-7-1,
netbsd-7
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2
lines
#include <sys/cpu.h>
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jul 12 09:58:39 2014 UTC (12 years, 4 months ago) by njoly
Branches: MAIN
CVS tags: tls-earlyentropy-base
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +51 -50
lines
Use kproc2 to provide sensible informations for /proc/<pid>/stat.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jun 30 14:58:59 2014 UTC (12 years, 4 months ago) by njoly
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
Use NZERO instead of hard-coded "20" value.
Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:05 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +10 -10
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.64.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:09 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +10 -10
lines
sync with head
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Apr 5 18:42:32 2014 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base
Branch point for: tls-earlyentropy
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -8
lines
On my 24 proc box I got ENOSPC, so make the routine return the size it wants
and try again.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Nov 27 17:24:44 2013 UTC (12 years, 11 months ago) by christos
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -4
lines
Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ
anymore, all the macros expand to NULL anyway, so this improves readability.
Requested by rmind@
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Nov 23 13:35:36 2013 UTC (12 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
change the mountlist CIRCLEQ into a TAILQ
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:35 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +52 -33
lines
sync with head
Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:36 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +52 -33
lines
merge to -current.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Dec 19 03:02:31 2011 UTC (14 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -8
lines
don't produce different output if we are super user.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Dec 16 20:45:07 2011 UTC (14 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +50 -32
lines
provide a root entry if one was not found.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Dec 15 20:55:02 2011 UTC (14 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +20 -16
lines
PR/45700: use dostatvfs instead of grabbing the latest cached copy of
struct statvfs from the mount point, so that chroot is handled properly.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Sep 4 17:32:10 2011 UTC (15 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +103 -2
lines
PR# kern/45021: Please support /emul/linux/proc/version
Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:
$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep 4 09:10:05 EDT 2011
$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Aug 28 18:48:14 2011 UTC (15 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
both LINUX_USRSTACK32 and USRSTACK32 need to be defined for linux32
Revision 1.54.14.3: download - view: text, markup, annotated - select for diffs
Fri Apr 29 08:12:08 2011 UTC (15 years, 6 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.54.14.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.14.2: +4 -2
lines
Use _KERNEL_OPT
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:33 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +14 -8
lines
sync with head
Revision 1.54.14.2: download - view: text, markup, annotated - select for diffs
Sat Feb 5 06:00:15 2011 UTC (15 years, 9 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.54.14.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.14.1: +4 -2
lines
- include opt_multiprocessor.h for explicit MULTIPROCESSOR dependency
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:47 2010 UTC (15 years, 11 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +14 -8
lines
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
Revision 1.54.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:20 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -2
lines
sync to netbsd-5
Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:23 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.50.2.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.2: +6 -2
lines
sync with head
Revision 1.54.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 27 21:42:33 2009 UTC (17 years ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +6 -2
lines
Pull up following revision(s) (requested by markd in ticket #1113):
sys/miscfs/procfs/procfs_linux.c: revision 1.58
Avoid leaking pages. Fixes PR 42053 from SHIMIZU Ryo.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Oct 19 01:25:29 2009 UTC (17 years, 1 month ago) by dholland
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: rmind-uvmplock
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -2
lines
Avoid leaking pages. Fixes PR 42053 from SHIMIZU Ryo.
Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:05 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.1: +19 -19
lines
sync with head.
Revision 1.54.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:06 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +18 -19
lines
Sync with HEAD.
Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:28 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.1: +16 -17
lines
Sync with HEAD.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jan 11 03:16:33 2009 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3
lines
this change was somehow missed.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:53 2009 UTC (17 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +12 -12
lines
merge christos-time_t
Revision 1.48.8.3: download - view: text, markup, annotated - select for diffs
Tue Dec 30 18:50:25 2008 UTC (17 years, 10 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.48.8.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.8.2: +7 -8
lines
sync with head.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Dec 29 17:41:18 2008 UTC (17 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: christos-time_t-nbase,
christos-time_t-base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -8
lines
Rename specfs_lock as device_lock and move it from specfs to devsw.
Relaxes kernel dependency on vfs.
Revision 1.48.8.2: download - view: text, markup, annotated - select for diffs
Sat Nov 1 21:22:28 2008 UTC (18 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.48.8.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.8.1: +15 -19
lines
Sync with head.
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:57 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +9 -8
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.48.10.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:47 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.48.10.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.10.1: +9 -8
lines
sync with head
Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:20 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +15 -19
lines
Sync with HEAD.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat May 31 21:34:42 2008 UTC (18 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5,
matt-nb5-mips64
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +9 -8
lines
Kill devsw_lock and just use specfs_lock. The two would need merging
in order to prevent unload of modules when a device that they provide
is still open.
Revision 1.48.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:26 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -13
lines
sync with head.
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:39 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -7
lines
sync with head.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue May 6 18:43:44 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -4
lines
PR kern/38141 lookup/vfs_busy acquire rwlock recursively
Simplify the mount locking. Remove all the crud to deal with recursion on
the mount lock, and crud to deal with unmount as another weirdo lock.
Hopefully this will once and for all fix the deadlocks with this. With this
commit there are two locks on each mount:
- krwlock_t mnt_unmounting. This is used to prevent unmount across critical
sections like getnewvnode(). It's only ever read locked with rw_tryenter(),
and is only ever write locked in dounmount(). A write hold can't be taken
on this lock if the current LWP could hold a vnode lock.
- kmutex_t mnt_updating. This is taken by threads updating the mount, for
example when going r/o -> r/w, and is only present to serialize updates.
In order to take this lock, a read hold must first be taken on
mnt_unmounting, and the two need to be held across the operation.
One effect of this change: previously if an unmount failed, we would make a
half hearted attempt to back out of it gracefully, but that was unlikely to
work in a lot of cases. Now while an unmount that will be aborted is in
progress, new file operations within the mount will fail instead of being
delayed. That is unlikely to be a problem though, because if the admin
requests unmount of a file system then s(he) has made a decision to deny
access to the resource.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Apr 30 12:49:17 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -4
lines
PR kern/38135 vfs_busy/vfs_trybusy confusion
The previous fix worked, but it opened a window where mounts could have
disappeared from mountlist while the caller was traversing it using
vfs_trybusy(). Fix that.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Apr 29 23:51:05 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -4
lines
kern/38135 vfs_busy/vfs_trybusy confusion
The symptom was that sometimes file systems would occasionally not appear
in output from 'df' or 'mount' if the system was busy. Resolution:
- Make mount locks work somewhat like vm_map locks.
- vfs_trybusy() now only fails if the mount is gone, or if someone is
unmounting the file system. Simple contention on mnt_lock doesn't
cause it to fail.
- vfs_busy() will wait even if the file system is being unmounted.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Apr 24 18:39:25 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -6
lines
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Apr 24 15:35:30 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4
lines
Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:
- Inspecting process state requires thread context, so signals can no longer
be sent from a hardware interrupt handler. Signal activity must be
deferred to a soft interrupt or kthread.
- As the proc state locking is simplified, it's now safe to take exit()
and wait() out from under kernel_lock.
- The system spends less time at IPL_SCHED, and there is less lock activity.
Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Sat Mar 29 20:47:01 2008 UTC (18 years, 7 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +12 -12
lines
Welcome to the time_t=long long dev_t=uint64_t branch.
Revision 1.39.8.4: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:04 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.39.8.3: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.8.3: +4 -4
lines
sync with HEAD
Revision 1.42.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:00 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.42.4.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.4.2: +4 -4
lines
Sync with HEAD.
Revision 1.23.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:24:33 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.7: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.7: +4 -4
lines
sync with head.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jan 30 11:47:02 2008 UTC (18 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
mjf-devfs2,
christos-time_t
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4
lines
PR kern/37706 (forced unmount of file systems is unsafe):
- Do reference counting for 'struct mount'. Each vnode associated with a
mount takes a reference, and in turn the mount takes a reference to the
vfsops.
- Now that mounts are reference counted, replace the overcomplicated mount
locking inherited from 4.4BSD with a recursable rwlock.
Revision 1.23.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:55 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.6: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.6: +3 -5
lines
sync with head
Revision 1.39.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:05 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.39.8.2: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.8.2: +17 -10
lines
sync with HEAD
Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:56:54 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -5
lines
Sync with HEAD
Revision 1.42.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:24 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.42.4.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.4.1: +3 -5
lines
Sync with HEAD.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:29 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -5
lines
Sync with head.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Dec 22 01:06:54 2007 UTC (18 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -1
lines
procfs_douptime: simply use microuptime() instead of a mysterious calculation.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Dec 22 01:04:55 2007 UTC (18 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -4
lines
procfs_docpustat: g/c a write-only variable.
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:49:03 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +27 -9
lines
Sync with HEAD.
Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:45:00 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.5: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.5: +27 -9
lines
sync with head.
Revision 1.39.6.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:04:48 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.39.6.2: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.2: +16 -7
lines
Sync with HEAD.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:44 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +27 -9
lines
Sync with HEAD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Nov 12 14:11:47 2007 UTC (19 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking2,
bouyer-xeni386
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -5
lines
Revision 1.42 was lost. Pointed out by Nicolas Joly:
This was using mutex_exit where mutex_enter was required.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Nov 11 18:29:03 2007 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +15 -4
lines
report the proper stack size on 32 bit emulations.
Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:48:22 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.6.1: +15 -6
lines
Sync with HEAD.
Revision 1.39.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 11:00:12 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.39.8.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.8.1: +15 -6
lines
sync with -HEAD
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:23:37 2007 UTC (19 years ago) by ad
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -6
lines
Merge from vmlocking:
- pool_cache changes.
- Debugger/procfs locking fixes.
- Other minor changes.
Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:33:21 2007 UTC (19 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +8 -8
lines
sync with HEAD
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:35:56 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +8 -8
lines
sync with head.
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:48:55 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +8 -8
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.33.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 25 19:43:11 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.33.2.4: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.4: +14 -5
lines
- Simplify debugger/procfs reference counting of processes. Use a per-proc
rwlock: rw_tryenter(RW_READER) to gain a reference, and rw_enter(RW_WRITER)
by the process itself to drain out reference holders before major changes
like exiting.
- Fix numerous bugs and locking issues in procfs.
- Mark procfs MPSAFE.
Revision 1.39.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:55 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +8 -8
lines
sync with head.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Oct 11 18:46:19 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
This was using mutex_exit where mutex_enter was required.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:42:29 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -6
lines
Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:06:20 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4
lines
Merge run time accounting changes from the vmlocking branch. These make
the LWP "start time" per-thread instead of per-CPU.
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:41:55 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +217 -38
lines
sync with head.
Revision 1.33.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 14 22:09:48 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33.2.3: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.2.3: +4 -4
lines
Make it possible to track time spent by soft interrupts as is done for
normal LWPs, and provide a sysctl to switch it on/off. Not enabled by
default because microtime() is not free. XXX Not happy with this but
I want it get it out of my local tree for the time being.
Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:10:44 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +215 -36
lines
Sync with head.
Revision 1.33.2.3: download - view: text, markup, annotated - select for diffs
Fri Jun 8 14:17:34 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33.2.2: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.2.2: +215 -43
lines
Sync with head.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat May 26 16:21:04 2007 UTC (19 years, 5 months ago) by agc
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
matt-armv6,
jmcneill-pm
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +11 -6
lines
In /proc/<pid>/statm, avoid leaking buffer space if the attempt to get
vmspace information fails.
Return the nice value properly to userland via the /proc/<pid>/stat entry.
Use vm sizes from vmspace, rather than rusage structs, for the same
reasons as mentioned previously - see the comment in
kvm_proc.c::kvm_getproc2() about rusage values and zombie processes.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri May 25 22:26:14 2007 UTC (19 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +16 -17
lines
Use a bit more common code for the MULTIPROCESSOR and !MULTIPROCESSOR
cases.
Use the lwp's priority when returning the priority value, rather than
returning the nice value.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri May 25 19:20:06 2007 UTC (19 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +34 -16
lines
Various changes for better Linux emulation:
+ in /proc/<pid>/statm emulation, use the memory values from vmspace,
rather than struct rusage, since the rusage values appear to be 0 for
all processes except zombies. cf dsl's comment in
kvm_proc.c::kvm_getproc2()
+ in /proc/<pid>/stat, instead of returning the tv_sec value, return the
number of ticks we've had (roughly equivalent to the Linux jiffies).
Calculate these values from the tv_usec values.
Also:
+ enclose CPU_INFO_ITERATOR and CPU_INFO_FOREACH usage in #ifdef
MULTIPROCESSOR, at the request of Nick Hudson
Together, these changes allow htop to work on NetBSD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu May 24 05:33:08 2007 UTC (19 years, 5 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -4
lines
use PRIu64, not llu, to unbork on 64-bit platforms.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu May 24 00:37:40 2007 UTC (19 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +186 -37
lines
Extend the Linux emulation of /proc to include
/proc/stat
/proc/loadavg and
/proc/<pid>/statm.
These are only present when -o linux is specified as a mount option
to procfs.
Factor out some common code so that it can be used by a number of
functions.
XXX The values returned in the statm emulation need to be verified.
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:56 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.1: +9 -2
lines
sync with head.
Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:44 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.2.1: +9 -2
lines
Sync with head.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Apr 1 03:16:44 2007 UTC (19 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +9 -2
lines
return a page less than the actual top of stack so that linux-java works.
Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:09 2007 UTC (19 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +6 -6
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:08 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4
lines
Sync with HEAD.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Mar 9 14:11:23 2007 UTC (19 years, 8 months ago) by ad
Branches: MAIN
CVS tags: reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4
lines
- Make the proclist_lock a mutex. The write:read ratio is unfavourable,
and mutexes are cheaper use than RW locks.
- LOCK_ASSERT -> KASSERT in some places.
- Hold proclist_lock/kernel_lock longer in a couple of places.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:30 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +24 -10
lines
sync with head.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:36 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +24 -10
lines
Merge newlock2 to head.
Revision 1.25.4.4: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:11 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.25.4.3: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.4.3: +6 -2
lines
Sync with head.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:18 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +109 -29
lines
sync with head.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 24 16:45:23 2006 UTC (19 years, 10 months ago) by elad
Branches: MAIN
CVS tags: newlock2-nbase,
newlock2-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -2
lines
Add two comments. No functional change.
Revision 1.25.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:59 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.25.6.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.6.1: +72 -47
lines
sync with head.
Revision 1.25.4.3: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:29 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.25.4.2: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.4.2: +104 -28
lines
Sync with head.
Revision 1.25.4.2: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:40 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.25.4.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.4.1: +18 -7
lines
Checkpoint work in progress.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:38 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +14 -14
lines
__unused removal on arguments; approved by core.
Revision 1.15.2.2.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 29 13:01:15 2006 UTC (20 years ago) by tron
Branches: netbsd-2
Diff to: previous 1.15.2.2: preferred, colored; next MAIN 1.15.2.3: preferred, colored
Changes since revision 1.15.2.2: +1 -1
lines
Pull up following revision(s) (requested by adrianp in ticket #10739):
sys/miscfs/procfs/procfs_linux.c: revision 1.28
PR/34888: Nicolas Joly: kernel panic while trying to access
/emul/linux/proc/0/stat
Patch applied, thanks for the report!
Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Sun Oct 29 13:00:45 2006 UTC (20 years ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.2: +1 -1
lines
Pull up following revision(s) (requested by adrianp in ticket #10739):
sys/miscfs/procfs/procfs_linux.c: revision 1.28
PR/34888: Nicolas Joly: kernel panic while trying to access
/emul/linux/proc/0/stat
Patch applied, thanks for the report!
Revision 1.15.2.2.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 29 13:00:44 2006 UTC (20 years ago) by tron
Branches: netbsd-2-1
Diff to: previous 1.15.2.2: preferred, colored; next MAIN 1.15.2.3: preferred, colored
Changes since revision 1.15.2.2: +1 -1
lines
Pull up following revision(s) (requested by adrianp in ticket #10739):
sys/miscfs/procfs/procfs_linux.c: revision 1.28
PR/34888: Nicolas Joly: kernel panic while trying to access
/emul/linux/proc/0/stat
Patch applied, thanks for the report!
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Oct 27 16:49:01 2006 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +59 -34
lines
don't allocate large buffers on the stack.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 24 17:04:12 2006 UTC (20 years ago) by ghen
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-1-RELEASE,
netbsd-3-1
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3
lines
Pull up following revision(s) (requested by elad in ticket #1567):
sys/miscfs/procfs/procfs_linux.c: revision 1.28
PR/34888: Nicolas Joly: kernel panic while trying to access
/emul/linux/proc/0/stat
Patch applied, thanks for the report!
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 24 17:03:54 2006 UTC (20 years ago) by ghen
Branches: netbsd-3-0
CVS tags: netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +3 -3
lines
Pull up following revision(s) (requested by elad in ticket #1567):
sys/miscfs/procfs/procfs_linux.c: revision 1.28
PR/34888: Nicolas Joly: kernel panic while trying to access
/emul/linux/proc/0/stat
Patch applied, thanks for the report!
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Oct 23 18:19:14 2006 UTC (20 years ago) by elad
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
PR/34888: Nicolas Joly: kernel panic while trying to access
/emul/linux/proc/0/stat
Patch applied, thanks for the report!
Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:23 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +63 -12
lines
sync with head
Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 21 14:37:18 2006 UTC (20 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -5
lines
- Make this compile. XXX Needs more work on locking.
- Do FILE_UNUSE() as the current LWP, otherwise we will wipe out the
target's advisory locks. XXX Double check.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:27 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +14 -14
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Sep 20 08:09:05 2006 UTC (20 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +53 -2
lines
Emulate Linux's /proc/devices
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:00 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
sync with head
Revision 1.24.16.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:57 2006 UTC (20 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
Merge from HEAD.
Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:53:38 2006 UTC (20 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
sync with head.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jun 24 16:34:02 2006 UTC (20 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
PR/33815: Nicolas Joly: /emul/linux/proc/#/stat always report current
process status
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:26 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -8
lines
sync with head.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:51 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
peter-altq-base,
peter-altq,
gdamore-uart-base,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb,
gdamore-uart
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -8
lines
merge ktrace-lwp.
Revision 1.10.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:10:32 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.10.2.6: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.6: +18 -18
lines
Sync with HEAD. Here we go again...
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun May 29 21:55:34 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +18 -18
lines
- sprinkle const
- avoid shadowed variables.
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:30 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +21 -14
lines
sync with -current
Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:31 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +21 -14
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.10.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:52:55 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.10.2.5: preferred, colored
Changes since revision 1.10.2.5: +21 -14
lines
Sync with HEAD.
Hi Perry!
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Mar 1 04:39:59 2005 UTC (21 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-1-RELEASE,
kent-audio2-base
Branch point for: netbsd-3-0,
netbsd-3
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -4
lines
Remove bogus len setting noted by J. Chapman Flack.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Feb 27 22:29:50 2005 UTC (21 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +18 -9
lines
Give more space for cpu info and allocate it dynamically.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:59:00 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -5
lines
nuke trailing whitespace
Revision 1.10.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:43 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.10.2.4: preferred, colored
Changes since revision 1.10.2.4: +62 -2
lines
Sync with HEAD.
Revision 1.10.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:36:32 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.10.2.3: preferred, colored
Changes since revision 1.10.2.3: +7 -7
lines
Fix the sync with head I botched.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Sep 20 17:53:08 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +62 -2
lines
add 'mounts' file for -o linux, which lists all currently mounted
filesystems; Linux glibc statvfs() uses this to get some of mount flags,
and this file is also useful as /emul/linux/etc/mtab (via symlink)
Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:15 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.10.2.2: preferred, colored
Changes since revision 1.10.2.2: +7 -7
lines
Sync with HEAD.
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 30 08:53:05 2004 UTC (22 years, 2 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-1,
netbsd-2
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +2 -1
lines
Pull up revision 1.18 via patch (requested by jdolecek in ticket #799):
Do previous slightly differently - just pass a struct lwp * and derive the
struct proc *.
OK'd by Jaromir.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 30 08:48:40 2004 UTC (22 years, 2 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
Pull up revision 1.17 (requested by jdolecek in ticket #799):
fix process used for /proc/<pid>/stat contents - it should be process
<pid>, not the current process looking at the information
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Aug 27 07:02:45 2004 UTC (22 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3
lines
Do previous slightly differently - just pass a struct lwp * and derive the
struct proc *.
OK'd by Jaromir.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Aug 21 15:59:32 2004 UTC (22 years, 3 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
fix process used for /proc/<pid>/stat contents - it should be process
<pid>, not the current process looking at the information
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:07 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.10.2.1: preferred, colored
Changes since revision 1.10.2.1: +30 -52
lines
Sync with HEAD
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Apr 22 00:31:00 2004 UTC (22 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +18 -45
lines
sprintf -> snprintf
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 30 14:51:01 2003 UTC (23 years ago) by christos
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
t_pgrp can be null.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Aug 21 23:00:07 2003 UTC (23 years, 3 months ago) by he
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4
lines
Add casts of LINUX_USRSTACK and USRSTACK to handle the cases
where these are not constants.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 9 16:28:49 2003 UTC (23 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -2
lines
LINUX_USRSTACK is only defined on i386. Thanks Izumi!
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Aug 9 14:17:28 2003 UTC (23 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
Only choose the linux usrstack if the netbsd usrstack was higher.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Aug 9 13:44:39 2003 UTC (23 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -7
lines
Change the way we compute the top of the stack. This makes java-1.4.2 work.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:53 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -6
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:31:45 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -5
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:04 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -6
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 29 08:13:41 2003 UTC (23 years, 5 months ago) by hannken
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Change "%qu" to "PRIu64" to make it compile on sparc64.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed May 28 18:03:16 2003 UTC (23 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +117 -2
lines
Add /proc/<pid>/stat for linux compat. j2sdk1.4.2 depends on it.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Feb 27 12:20:28 2003 UTC (23 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Change "%llu" to "PRIu64" to make it compile on sparc64.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Feb 25 21:00:31 2003 UTC (23 years, 8 months ago) by jrf
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +30 -2
lines
This addresses PR kerm/19989. Thanks to hamajima@nagoya.ydc.co.jp for submitting this patch which enables /proc/uptime for linux emul. Patch reviewed by atatat@netbsd.org and tron@netbsd.org, approved by tron@netbsd.org.
Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:01:42 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +8 -5
lines
Sync kqueue branch with -current.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:33:41 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +6 -6
lines
Catch up to -current.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 03:07:44 2001 UTC (24 years, 11 months ago) by chs
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
ifpoll-base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
fvdl_fs64_base,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -6
lines
replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:17:11 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -1
lines
Catch up to -current.
Revision 1.2.10.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:12 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +4 -1
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Nov 10 13:33:43 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -1
lines
add RCSIDs
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 30 21:48:11 2001 UTC (25 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +139 -0
lines
Pull up revisions 1.1-1.2 (new, via patch, requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
Revision 1.2.4.1
Thu Jan 18 16:39:43 2001 UTC (25 years, 10 months ago) by he
Branches: netbsd-1-5
FILE REMOVED
Changes since revision 1.2: +0 -126
lines
file procfs_linux.c was added on branch netbsd-1-5 on 2001-03-30 21:48:11 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 16:39:43 2001 UTC (25 years, 10 months ago) by tv
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache,
netbsd-1-5,
nathanw_sa,
kqueue
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
No-op revision to force update of this file to a non-"-kk" version.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:48 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +126 -0
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.1.2.1
Wed Jan 17 00:09:08 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.1: +0 -126
lines
file procfs_linux.c was added on branch thorpej_scsipi on 2001-01-18 09:23:48 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jan 17 00:09:08 2001 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Branch point for: thorpej_scsipi
Add a few linux-style files, only enabled when -o linux is specified
for the mount. Currently these are /proc/cpuinfo and /proc/meminfo.
The former only does something on i386 right now.
CVSweb <webmaster@jp.NetBSD.org>