killing process from interrupt

2009-04-30 Thread Alexej Sokolov
Hello, I have in my interrupt function the pointer to structure of some process. What is the safe way to kill the process? psignal (p, 9); ? Thanx Alexej ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hac

Re: C99: Suggestions for style(9)

2009-04-30 Thread M. Warner Losh
In message: <20090428114754.gb89...@server.vk2pj.dyndns.org> Peter Jeremy writes: : >Maybe using all of these changes is a bit too big change at once, but : >I'd like some of them applied to style(9). So, please consider the : >proposed changes individually and not a as a all-or-noth

NetBSD 5.0 statistics

2009-04-30 Thread Oliver Pinter
Is the FreeBSD's FS management so slow? http://www.netbsd.org/~ad/50/img15.html Or so big is the difference between the two cpu scheduler? http://www.netbsd.org/~ad/50/img0.html ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mai

Re: NetBSD 5.0 statistics

2009-04-30 Thread Kip Macy
On Thu, Apr 30, 2009 at 7:50 AM, Oliver Pinter wrote: > Is the FreeBSD's FS management so slow? > > http://www.netbsd.org/~ad/50/img15.html > > Or so big is the difference between the two cpu scheduler? > > > http://www.netbsd.org/~ad/50/img0.html We would need more information about the disk har

Re: NetBSD 5.0 statistics

2009-04-30 Thread Robert Watson
On Thu, 30 Apr 2009, Oliver Pinter wrote: Is the FreeBSD's FS management so slow? http://www.netbsd.org/~ad/50/img15.html Or so big is the difference between the two cpu scheduler? Also, there's a known and serious performance regression in CAM relating to tgged queueing, and the generic d

Re: ACPI-fast default timecounter, but HPET 83% faster

2009-04-30 Thread John Baldwin
On Sunday 26 April 2009 10:27:42 pm Garrett Cooper wrote: > I'm seeing similar results. > > [r...@orangebox /usr/home/gcooper]# dmesg | grep 'Timecounter "' > Timecounter "i8254" frequency 1193182 Hz quality 0 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > Timecounter "HPET" frequen

Re: Question about adding flags to mmap system call / NVIDIA amd64 driver implementation

2009-04-30 Thread John Baldwin
On Tuesday 28 April 2009 7:58:57 pm Julian Elischer wrote: > Robert Noland wrote: > > On Tue, 2009-04-28 at 16:48 -0500, Kevin Day wrote: > >> On Apr 28, 2009, at 3:19 PM, Julian Bangert wrote: > >> > >>> Hello, > >>> > >>> I am currently trying to work a bit on the remaining "missing > >>> featu

Re: Question about adding flags to mmap system call / NVIDIA amd64 driver implementation

2009-04-30 Thread Robert Noland
On Thu, 2009-04-30 at 17:36 -0400, John Baldwin wrote: > On Tuesday 28 April 2009 7:58:57 pm Julian Elischer wrote: > > Robert Noland wrote: > > > On Tue, 2009-04-28 at 16:48 -0500, Kevin Day wrote: > > >> On Apr 28, 2009, at 3:19 PM, Julian Bangert wrote: > > >> > > >>> Hello, > > >>> > > >>> I am

Re: ACPI-fast default timecounter, but HPET 83% faster

2009-04-30 Thread Bruce Cran
On Thu, 30 Apr 2009 08:46:41 -0400 John Baldwin wrote: > On Sunday 26 April 2009 10:27:42 pm Garrett Cooper wrote: > > Why's the default ACPI-fast? For power-saving functionality or > > because of the `quality' factor? What is the criteria that > > determines the `quality' of a clock as what's b

Re: SoC2009: libpkg, pkg tools rewrite

2009-04-30 Thread Jeremy Lea
Hi, On Sat, Apr 25, 2009 at 03:20:59PM -0400, David Forsythe wrote: > This summer I'll be working on creating a package library and using > that library to rewrite the pkg tools. A package library has been > discussed and even started before, but FreeBSD still does not have > one. This summer I'

Re: NetBSD 5.0 statistics

2009-04-30 Thread Marcel Moolenaar
On Apr 30, 2009, at 12:32 PM, Robert Watson wrote: On Thu, 30 Apr 2009, Oliver Pinter wrote: Is the FreeBSD's FS management so slow? http://www.netbsd.org/~ad/50/img15.html Or so big is the difference between the two cpu scheduler? Also, there's a known and serious performance regression

Re: C99: Suggestions for style(9)

2009-04-30 Thread M. Warner Losh
In message: <20090430233648.ga95...@keira.kiwi-computer.com> "Rick C. Petty" writes: : On Thu, Apr 30, 2009 at 09:02:26AM -0600, M. Warner Losh wrote: : > : > This is the biggest one, and I think it may be too soon. Also, we : > need to be careful on the initialization side of things

Re: C99: Suggestions for style(9)

2009-04-30 Thread Christoph Mallon
M. Warner Losh schrieb: In message: <20090428114754.gb89...@server.vk2pj.dyndns.org> Peter Jeremy writes: : >Maybe using all of these changes is a bit too big change at once, but : >I'd like some of them applied to style(9). So, please consider the : >proposed changes individually

Re: C99: Suggestions for style(9)

2009-04-30 Thread Christoph Mallon
M. Warner Losh schrieb: In message: <20090430233648.ga95...@keira.kiwi-computer.com> "Rick C. Petty" writes: : On Thu, Apr 30, 2009 at 09:02:26AM -0600, M. Warner Losh wrote: : > : > This is the biggest one, and I think it may be too soon. Also, we : > need to be careful on the in

Re: C99: Suggestions for style(9)

2009-04-30 Thread Christoph Mallon
Roman Divacky schrieb: I like the part about using as many variables as possible because of documentation and performance enhancements. I tend to like the other changes as well.. This is not about using as many variables as possible. The goal is to use as many variables as you have logically d