Re: allocating 14KB memory per packet compression/decompression results in vm_fault

2005-11-04 Thread João Carlos Mendes Luis
Peter Jeremy wrote: what would be the best possible way to allocate/deallocate 14KB memory per packet without causing vm_faults ?? The most efficient way would be to statically allocate the dictionary and string tables. The downside is that you then need to serialise the [de]compression. I

File create permissions, what am I missing?

2005-08-12 Thread João Carlos Mendes Luis
In a directory with -rwxrwxrwx, any user can create files, but who should be the owner/group of this file? Long time ago in Unix history, the owner would be the user who created the file, and the group would be the users's primary group. Later, IIRC, if the directory group was one of the user

Re: mfs/mdconfig under RELENG_5: malloc vs swap-backed

2005-08-01 Thread João Carlos Mendes Luis
Bernd Walter wrote: On Fri, Jul 29, 2005 at 09:41:24PM +0400, Dmitry Morozovsky wrote: Dear colleagues, can anyone please point me why mdconfig method for tmpmfs is malloc-backed instead of swap-backed, and it is hardcoded into rc.subr? Are swap-backed file systems so inefficient? If no, w