History log of /netbsd-src/sys/kern/init_main.c (Results 176 – 200 of 550)
Revision Date Author Comments
# 48d146fb 18-Nov-2008 pooka <pooka@NetBSD.org>

cwd is logically a vfs concept, so take it out from the bosom of
kern_descrip and into vfs_cwd. No functional change.


# e6a33851 14-Nov-2008 ad <ad@NetBSD.org>

Make POSIX AIO loadable as a module.


# 0b7375c9 12-Nov-2008 ad <ad@NetBSD.org>

Allow the POSIX semaphore code to be loaded as a module.


# 0efea177 12-Nov-2008 ad <ad@NetBSD.org>

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


# 4423d2e0 28-Oct-2008 tsutsui <tsutsui@NetBSD.org>

On the prompt for init path, print a simple usage line
if input strings are not valid path or command.
Per comments from perry@ and pgoyette@.


# f6cc315b 25-Oct-2008 tsutsui <tsutsui@NetBSD.org>

- if no usable init(8) program (listed in *initpaths[]) can be found,
set the RB_ASKNAME flag and prompt users for the init path, rather than
panicking with "no init".
- when prompting for the in

- if no usable init(8) program (listed in *initpaths[]) can be found,
set the RB_ASKNAME flag and prompt users for the init path, rather than
panicking with "no init".
- when prompting for the init path, support the special strings
"halt", "reboot", and "ddb", as well as a prompt for the root device.

Dissussed and no objection on tech-kern. Changes summary by apb@.

show more ...


# ff050754 23-Oct-2008 christos <christos@NetBSD.org>

don't expose ksyms_lock


# 6e1d2d17 21-Oct-2008 matt <matt@NetBSD.org>

Only init ksyms mutex if ksyms is present in the kernel


# ee66516b 20-Oct-2008 ad <ad@NetBSD.org>

PR kern/38814 ksyms needs locking

- Make ksyms MT safe.
- Fix deadlock from an operation like "modload foo.lkm < /dev/ksyms".
- Fix uninitialized structure members.
- Reduce memory footprint for loa

PR kern/38814 ksyms needs locking

- Make ksyms MT safe.
- Fix deadlock from an operation like "modload foo.lkm < /dev/ksyms".
- Fix uninitialized structure members.
- Reduce memory footprint for loaded modules.
- Export ksyms structures for kernel grovellers like savecore.
- Some KNF.

show more ...


# b5eb577d 18-Oct-2008 rmind <rmind@NetBSD.org>

- Initialize pool subsystem and kmem(9) earlier, when UVM is up enough.
- Remove uao_hashinit() workaround used for anon-objects.
- Replace malloc with kmem.

OK by <yamt>.


# 7e5aba5a 11-Oct-2008 pooka <pooka@NetBSD.org>

Move uidinfo to its own module in kern_uidinfo.c and include in rump.
No functional change to uidinfo.


# 22557030 09-Oct-2008 pooka <pooka@NetBSD.org>

Rewrite once to use global locks and atomic ops to get rid of the
static simplelock initializer (and simplelock too). The fastpath
is still lockless, so doesn't make a difference in terms of
perform

Rewrite once to use global locks and atomic ops to get rid of the
static simplelock initializer (and simplelock too). The fastpath
is still lockless, so doesn't make a difference in terms of
performance.

Also fixes a hanging bug if the once routine returned an error.
It does not retry after an error occurs, as I can't really imagine
fruitful semantics for that.

show more ...


# 031c718b 30-Aug-2008 reinoud <reinoud@NetBSD.org>

Revert previous change and clarify meaning of RNG


# c68a9bd2 30-Aug-2008 reinoud <reinoud@NetBSD.org>

Fix simple typo:
- rnd_init(); /* initialize RNG */
+ rnd_init(); /* initialize RND */


# 36d65f11 31-Jul-2008 simonb <simonb@NetBSD.org>

Merge the simonb-wapbl branch. From the original branch commit:

Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
journaling code. Originally written by Darrin B. Jewell while

Merge the simonb-wapbl branch. From the original branch commit:

Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
journaling code. Originally written by Darrin B. Jewell while
at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

OK'd by core@, releng@.

show more ...


# fff57c55 18-Jun-2008 yamt <yamt@NetBSD.org>

merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@


# a9c4cefe 16-Jun-2008 ad <ad@NetBSD.org>

PR kern/38927: processes getting stuck in uvm_map (cv_timedwait), hanging
machine

Assume that a vnode (and associated data structures) costs 2kB in the
worst imaginable case. Don't allow sysctl to s

PR kern/38927: processes getting stuck in uvm_map (cv_timedwait), hanging
machine

Assume that a vnode (and associated data structures) costs 2kB in the
worst imaginable case. Don't allow sysctl to set desiredvnodes to a
value that would use more than 75% of KVA or 75% of physical memory.

show more ...


# 4c57df4a 31-May-2008 ad <ad@NetBSD.org>

- Put in place module compatibility check against __NetBSD_Version__,
as discussed on tech-kern.

- Remove unused module_jettison().


# b5d8351e 28-May-2008 ad <ad@NetBSD.org>

PR kern/38355 lockf deadlock detection is broken after vmlocking

- Fix it; tested with Sun's libMicro.
- Use pool_cache.
- Use a global lock, so the deadlock detection code is safer.


# aa7e99c6 27-May-2008 ad <ad@NetBSD.org>

Replace a couple of tsleep calls with cv_wait.


# 8ef40c77 01-May-2008 ad <ad@NetBSD.org>

Get the pre-loaded module code working.


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 284c2b9a 24-Apr-2008 ad <ad@NetBSD.org>

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_S

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.

show more ...


# 6d70f903 24-Apr-2008 ad <ad@NetBSD.org>

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

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.

show more ...


# cbfd0202 24-Apr-2008 sborrill <sborrill@NetBSD.org>

It's only a typo in a comment, but it reduces the number of diffs in my local
tree :-)


12345678910>>...22