apic detection

2006-06-14 Thread Andriy Gapon
What is proper way to check from a driver/module if APIC is being used ? Or even narrower, if local APIC timer is being used ? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To uns

Re: valid VMA ranges and mincore()

2006-06-14 Thread Bruno Haible
Hello Konstantin, > > - Filling in values of -1 into the array could be done more easily by > > changing the statements in sys/vm/vm_mmap.c lines 861 and 902. > I do not agree. It zeroes array not only for holes, but also for (some) > skipped vm areas. ok, you understand the code better than I

Re: valid VMA ranges and mincore()

2006-06-14 Thread Konstantin Belousov
On Wed, Jun 14, 2006 at 02:04:08PM +0200, Bruno Haible wrote: > Hello Konstantin, > > Thanks for reacting on this issue. > > > Please, evaluate the patch. If it does what you need > > - It doesn't change the manual page mincore.2. Yes, it was intended. Exactly because I anticipated issues you de

Re: valid VMA ranges and mincore()

2006-06-14 Thread Bruno Haible
Hello Konstantin, Thanks for reacting on this issue. > Please, evaluate the patch. If it does what you need - It doesn't change the manual page mincore.2. - For unmapped areas, it appears to be filling in values of -1 into the array. This is not what Linux, Solaris, NetBSD do: They return -1

Re: fdisk partition / disklabel recovery (help!)

2006-06-14 Thread Alexander Leidinger
Quoting Eric Anderson <[EMAIL PROTECTED]> (from Tue, 13 Jun 2006 16:02:33 -0500 (CDT)): Alexander Leidinger said: Quoting "Eric Anderson" <[EMAIL PROTECTED]> (Tue, 13 Jun 2006 12:33:14 -0500 (CDT)): >From the subject, you probably already know my dilemma. After booting a linux livecd (I'll

Re: valid VMA ranges and mincore()

2006-06-14 Thread Konstantin Belousov
On Sat, Jun 10, 2006 at 06:22:46PM +0200, Bruno Haible wrote: > Proposal 1: Change mincore() to behave like the one on NetBSD, Linux, > Solaris. Please, evaluate the patch. If it does what you need, I will push it for review. Index: vm_mmap.c ==