Re: How to recompile kernel after minor changes?

2001-06-02 Thread Valentin Nechayev
Sat, Jun 02, 2001 at 08:24:54, gzjyliu (Jiangyi Liu) wrote about "How to recompile kernel after minor changes?": > After just changing a little in sys/kern/kern_sig.c, how can I rebuild > the kernel fast? I think it should not take such a long time as 'make > buildkernel' does. Anyway, just ke

Patch to fix code that kills procs when swap runs out (stable)

2001-06-02 Thread Matt Dillon
I'll probably commit something similar to this to -current on sunday, and -stable next weekend. This patch should fix the process killing part of the VM system. It fixes two things: (1) It starts killing processes a little earlier, before the machine truely hoses itself.

ptrace

2001-06-02 Thread Patrick Alken
I am coding a simple debugger, and I need to know the proper way to save and restore the state of the debugger's terminal when the child process is not executing. For example, if the debugger ptraces a process which gets a signal and returns control to the debugger, the debugger needs to restore

Re: UFS large directory performance

2001-06-02 Thread Matt Dillon
Oh yah, one more thing. At risk of making the second level block more complex you might want to make a real structure out of it rather then a simple array. Something like this: struct whateverYouNameTheSecondLevelBLock { short use; charfiller[sizeof(void *)

Re: UFS large directory performance

2001-06-02 Thread Matt Dillon
: :Thanks for the comments :-) Yes, malloc pool fragmentation is a :problem. I think that it can be addressed to some extent by using :a 2-level system (an array of pointers to fixed-size arrays) instead :of a single large array, but I'm open to any better suggestions. I do precisely this fo

Re: Fixing documented bug in env(1)

2001-06-02 Thread Mark Valentine
> From: [EMAIL PROTECTED] (Peter Seebach) > Date: Sat 2 Jun, 2001 > Subject: Re: Fixing documented bug in env(1) > people use -- > to end subsequences of arguments all the time. No, they use ``--'' to indicate to getopt(3) the end of the _options_ and the _start_ of the arguments. Since env(1)

Re: How to stop console messages to rlogin sessions?

2001-06-02 Thread Bob Willcox
On Sat, Jun 02, 2001 at 12:34:31PM +0300, Giorgos Keramidas wrote: > On Fri, 1 Jun 2001, Brian Reichert wrote: > > > On Fri, Jun 01, 2001 at 04:59:34PM -0500, Bob Willcox wrote: > > > I have just upgraded my debug/test systems here to 4.3-stable and I'm > > > now getting all of my device driver p

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 02:35:32PM +0300, Peter Pentchev wrote: > On Sat, Jun 02, 2001 at 04:31:45AM -0700, Kris Kennaway wrote: > > On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: > > > On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: > > > > * Jiangyi Liu <[EMAIL

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 04:31:45AM -0700, Kris Kennaway wrote: > On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: > > On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: > > > * Jiangyi Liu <[EMAIL PROTECTED]> [010601 20:25] wrote: > > > > Hi all, > > > > > > > > Afte

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Kris Kennaway
On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: > On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: > > * Jiangyi Liu <[EMAIL PROTECTED]> [010601 20:25] wrote: > > > Hi all, > > > > > > After just changing a little in sys/kern/kern_sig.c, how can I rebuild > > > th

Re: UFS large directory performance

2001-06-02 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Matt Dillon writes: >What are your commit plans? It looks extremely well contained, >it could be committed to -current and then -stable a few days later >without any destabilizing impact at all for when the option isn't >specified. ... >The on

Re: How to stop console messages to rlogin sessions?

2001-06-02 Thread Giorgos Keramidas
On Fri, 1 Jun 2001, Brian Reichert wrote: > On Fri, Jun 01, 2001 at 04:59:34PM -0500, Bob Willcox wrote: > > I have just upgraded my debug/test systems here to 4.3-stable and I'm > > now getting all of my device driver printf's spewed to my root rlogin > > windows. When these two systems were 4.0

Re: Fixing documented bug in env(1)

2001-06-02 Thread Giorgos Keramidas
On Sat, 2 Jun 2001, Peter Pentchev wrote: > FWIW, I, too, think that '--' would be a POLA-friendly choice. > However, if '==' were chosen, the patch to env.c would have to be > slightly modified, as attached. Yes, using '--' seems like a reasonable thing to do. Consistency with other uses of an

Re: The design of the MD5 crypt() in FreeBSD

2001-06-02 Thread Spike Gronim
On Sat, Jun 02, 2001 at 07:46:28AM +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Spike Gronim writes: > > > I understand the literal meaning of /usr/src/lib/libcrypt/crypt-md5.c, > >and the algorithm it uses to create it's output. However, I do not understand > >the design

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: > * Jiangyi Liu <[EMAIL PROTECTED]> [010601 20:25] wrote: > > Hi all, > > > > After just changing a little in sys/kern/kern_sig.c, how can I rebuild > > the kernel fast? I think it should not take such a long time as 'make > > buil

Re: Fixing documented bug in env(1)

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 02:03:38AM -0400, Garance A Drosihn wrote: > At 9:12 PM -0700 6/1/01, Dima Dorfman wrote: > >Honestly, I don't care about this all that much. I'll > >let you and David debate this to your liking. If no > >consensus develops in the next few days, I'll just > >commit what I