Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-03-28 Thread Suleiman Souhlal
On Mar 27, 2009, at 11:30 AM, Scott Long wrote: Robert Watson wrote: On Fri, 27 Mar 2009, Scott Long wrote: I've been talking about this for years. All I need is help with the VM magic to create the page on fork. I also want two pages, one global for gettimeofday (and any other global

Re: Impact of having a large number of open file descriptors

2008-05-29 Thread Suleiman Souhlal
On May 28, 2008, at 7:46 AM, Oliver Fromme wrote: Ivan Voras wrote: Im thinking again of the old idea of implementing poor man's file replication system using kqueue to monitor changes on files. It would be cool to have a kernel interface so you could attach to a mountpoint and receive a

Re: rdmsr from userspace

2008-05-18 Thread Suleiman Souhlal
On May 18, 2008, at 11:15 AM, Kostik Belousov wrote: On Sun, May 18, 2008 at 04:47:41PM +0100, Rui Paulo wrote: Kostik Belousov wrote: On Sat, May 17, 2008 at 06:26:01PM +0100, Rui Paulo wrote: Andriy Gapon wrote: on 17/05/2008 18:37 Rui Paulo said the following: Andriy Gapon wrote: It

Re: kqueue implementation

2007-05-22 Thread Suleiman Souhlal
On May 21, 2007, at 6:48 AM, Daniel Molina Wegener wrote: On Monday 21 May 2007 03:57:58 John-Mark Gurney wrote: Daniel Molina Wegener wrote this message on Sun, May 20, 2007 at 18:31 -0400: I'm coding an application using the kqueue facility, but I see that I can't handle open and read

Re: sbrk vs mmap

2007-01-11 Thread Suleiman Souhlal
darran kartaschew wrote: Hi Guys, I'm having some issues with rewriting a simple malloc() function to be with FreeBSD (AMD64). This is part of porting an application from Linux to FreeBSD. After pulling my hair out for a while, I've found that the sbrk() system call just

Re: Locking fundamentals

2006-12-21 Thread Suleiman Souhlal
Attilio Rao wrote: 2006/12/20, Duane Whitty [EMAIL PROTECTED]: Hello again, It seems to me that understanding locking holds the key to understanding fbsd internals. Could someone review my understanding of fbsd locking fundamentals. (No assertions here, just questions) lock_mgr

Re: Allocate aligned memory

2006-12-15 Thread Suleiman Souhlal
Marc Lörner wrote: Hello all, I want to allocate 120KB of memory thats aligned to 32KB. I already saw/found the function contigmalloc, now my question is, why following functioncall never does return with an resulting address, instead null is returned? unsigned long *p = (unsigned long*)

Re: Proper (no) accounting for the disabled HTT cores

2006-09-02 Thread Suleiman Souhlal
Maxim Sobolev wrote: Hi, Currently, FreeBSD by default disables hyper-threading cores, by not scheduling any threads to it. However, it still counts those cores as active but permanently idle when calculating system-wide CPUs statistics. It is incorrect, since it skews statistics quite a bit

Re: linux ioremap equivalent on freebsd

2006-08-07 Thread Suleiman Souhlal
Niki Denev wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm in the middle of a struggle to port the linux nozomi(Option GloberTrotter 3G+ HSDPA cardbus adapter) driver to freebsd. And given the fact that i have very little previous kernel coding experience i can't find what i can

Re: [patch] Adding optimized kernel copying support - Part III

2006-05-31 Thread Suleiman Souhlal
Hello Attilio, Attilio Rao wrote: Hi, this is the last release which is rather finished and complete for the project. I tested for consistency for a long time and the FPU handling mechanism seems very robust so as copyin/copyout do. Nice work. Any chance you could also port it to amd64?

Re: Accessing filesystem from a KLD

2005-06-25 Thread Suleiman Souhlal
for an example. -- Suleiman Souhlal | [EMAIL PROTECTED] The FreeBSD Project | [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: events when (de)associating or when cable is (un)plugged

2004-03-26 Thread Suleiman Souhlal
you sit on /dev/usb. This is for 5.2.1 or beyond. I am not too sure about 802.11, but to detect when the ethernet cable is (un)plugged, you can use kqueue(2) with the EVFILT_NETDEV filter. Later, Suleiman Souhlal ___ [EMAIL PROTECTED] mailing list http