Re: the new VMt

2000-09-26 Thread Eric Lowe
are something we want to tackle in 2.5.x? 4MB page mappings on x86 could be cool too, as an option... -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: SMP VM race in 2.[0-4]

2000-10-04 Thread Eric Lowe
dirty bit psmp race atch -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Would you help me ...?

2000-10-05 Thread Eric Lowe
, the buffer cache will be used less and less, as things like directory entries are moved into the page cache. You probably want to start looking at the various kernel guides and read up on the difference between the page cache and buffer cache, that's the best place to start. -- Eric Lowe

Re: IDE problems 2.4.0-t9p8 and later

2000-10-05 Thread Eric Lowe
trying to help debug the new VM on that machine that just so happens to use that chipset, and it's hard to do that when it doesn't boot at all. :) -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe

Re: kmem_grow

2000-10-05 Thread Eric Lowe
wouldn't trip up and cause a panic blocking waiting for more memory, but that's because you've been lucky so far.. -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: locking user memory

2000-10-06 Thread Eric Lowe
patch for 2.2. Replay if you need a recent one against 2.2.17, I have it. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the F

Re: module reentrancy

2000-10-06 Thread Eric Lowe
once, use a spinlock, it's the least expensive lock -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Kernel 2.2.18 and GCC versions

2000-10-13 Thread Eric Lowe
if anything kernel side is broken it must be fairly obscure or a little used driver I've been using 2.95.2 to build PPC kernels and it seems to work OK, but I _know_ that 2.91.66 works with both 2.2 and 2.4 kernels so it should probably be the recommended one. :) -- Eric Lowe Software Engineer, Systran

Re: mapping user space buffer to kernel address space

2000-10-13 Thread Eric Lowe
it along. This provides a *nearly* compatible solution to 2.4, and it's much cleaner than driver-specific hacks. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: remap_page_range

2000-10-17 Thread Eric Lowe
, it's unfortunate there's still no good interface to map kernel buffers to user space either... Something to work on for 2.5 I guess. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Eric Lowe
cache would suffice, and with the benefit that all page flushing could then be done through the VM and bdflush eliminated. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: lock_kernel() in kernel thread

2000-10-25 Thread Eric Lowe
"=m" (current-lock_depth)); #endif } Can someone explain what is behind lock_kernel() and these changes (#if 1) in 2.4 ? Is there any documentation for this out there ? -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from

Re: Locking User memory pages from a driver....

2000-11-22 Thread Eric Lowe
or you'll run over in your S/G. unmap_kiobuf() to unmap the kiobuf and unpin the pages If you do a lot of DMA I/O with large buffers you'll need to apply the 22vmfix patch in the same directory or you'll run out memory and things will start to be OOM killed. -- Eric Lowe Software Engineer, Systran

Re: the new VMt

2000-09-26 Thread Eric Lowe
u think pageable page tables are something we want to tackle in 2.5.x? 4MB page mappings on x86 could be cool too, as an option... -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: Locking User memory pages from a driver....

2000-11-22 Thread Eric Lowe
page as PAGE_SIZE-iobuf->offset or you'll run over in your S/G. unmap_kiobuf() to unmap the kiobuf and unpin the pages If you do a lot of DMA I/O with large buffers you'll need to apply the 22vmfix patch in the same directory or you'll run out memory and things will start to be OOM killed.

Re: SMP VM race in 2.[0-4]

2000-10-04 Thread Eric Lowe
ATCH] 2.2.18pre5 version of pte dirty bit psmp race atch -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Would you help me ...?

2000-10-05 Thread Eric Lowe
In future versions of the kernel, the buffer cache will be used less and less, as things like directory entries are moved into the page cache. You probably want to start looking at the various kernel guides and read up on the difference between the page cache and buffer cache, that's the best place to st

Re: IDE problems 2.4.0-t9p8 and later

2000-10-05 Thread Eric Lowe
nice to see it fixed though, I'm trying to help debug the new VM on that machine that just so happens to use that chipset, and it's hard to do that when it doesn't boot at all. :) -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list:

Re: kmem_grow

2000-10-05 Thread Eric Lowe
l module.. The size is small enough it probably wouldn't trip up and cause a panic blocking waiting for more memory, but that's because you've been lucky so far.. -- Eric Lowe FibreChannel Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line &q

Re: locking user memory

2000-10-06 Thread Eric Lowe
of the raw I/O patch for 2.2. Replay if you need a recent one against 2.2.17, I have it. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Pleas

Re: module reentrancy

2000-10-06 Thread Eric Lowe
+begin ; count = end-start) -if you have to update begin/end non-atomically and check them only once, use a spinlock, it's the least expensive lock -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-k

Re: Kernel 2.2.18 and GCC versions

2000-10-13 Thread Eric Lowe
at the point where if anything kernel side is > broken it must be fairly obscure or a little used driver I've been using 2.95.2 to build PPC kernels and it seems to work OK, but I _know_ that 2.91.66 works with both 2.2 and 2.4 kernels so it should probably be the recommended one. :) -- Eric L

Re: mapping user space buffer to kernel address space

2000-10-13 Thread Eric Lowe
2.17 (with bugfixes), anyone who needs it e-mail me and I'll send it along. This provides a *nearly* compatible solution to 2.4, and it's much cleaner than driver-specific hacks. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Re: mapping user space buffer to kernel address space

2000-10-14 Thread Eric Lowe
erience has been that systems that do a lot of page pinning in UNIX for I/O don't gain much in performance anyway, but it _really_ puts a lot of stress on the system compared to doing it the right way. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscribe

Re: remap_page_range

2000-10-17 Thread Eric Lowe
s no way to do this without mmap(). With kiobufs() still being somewhat iffy, it's unfortunate there's still no good interface to map kernel buffers to user space either... Something to work on for 2.5 I guess. -- Eric Lowe Software Engineer, Systran Corporation [EMAIL PROTECTED] - To unsubscrib

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Eric Lowe
e that we should ever try to do kiobuf() things in the read/write general case. I think that mapping files into kernel buffers and copying the pages to/from the page cache would suffice, and with the benefit that all page flushing could then be done through the VM and bdflush eliminated. -- Eric

Re: lock_kernel() in kernel thread

2000-10-25 Thread Eric Lowe
:"=m" (__dummy_lock(_flag)), > "=m" (current->lock_depth)); > #endif > } > > Can someone explain what is behind lock_kernel() and > these changes (#if 1) in 2.4 ? > > Is there any documentation for this out there