:BTW, NetBSD's new UVM code has the ability to do this. Perhaps
:it's worth looking in to how difficult it would really be in FreeBSD...
:
:To Unsubscribe: send mail to [EMAIL PROTECTED]
:with unsubscribe freebsd-hackers in the body of the message
Someone got it mostly working a year or
Thus spake Matthew Dillon [EMAIL PROTECTED]:
Implementing swapoff is a bunch of grunt-work but not too hard in
concept. Basically the work involved is this:
Sounds like a plan, and not too tricky. Perhaps I'll see if I can
figure it out when I have some free time.
* Make a
:Can't you have a race condition here where you decide that you
:have enough space, and by the time you've deallocated half of the
:swapfile that's no longer the case? It seems like the correct
:thing to do in that case is abort the system call (which could be
:painful). Perhaps the best thing
David Schultz wrote:
Thus spake Matthew Dillon [EMAIL PROTECTED]:
Implementing swapoff is a bunch of grunt-work but not too hard in
concept. Basically the work involved is this:
Sounds like a plan, and not too tricky. Perhaps I'll see if I can
figure it out when I have some
Also this would probably be useful in the situation when you need
to change swap device on a running system. We had to do this once
or twice on a very busy commerical mail server running Solaris. We
needed to dismount current swap device and use it for other purpose
while having switched
Title: ÃÖ½ÅÀÇ ¼îÇθô!!! ¸¸¹°»óÀÌ ¸¸µé¾î µå¸³´Ï´Ù!
´ëÇѹα¹ ¸ÖƼ¹Ìµð¾î ±â¼ú´ë»ó Èĺ¸ÀÛ. ¸¸¹°»óÀÌ ¿©·¯ºÐÀÇ ¼º°øÀ» µµ¿Íµå¸®°Ú½À´Ï´Ù.
°¡°Ý 550,000¿ø! (ÇÁ·Î:880,000¿ø) ±¸ÀÔÀÚ¿¡ ÇÑÇÏ¿© À¥È£½ºÆúñ 500M¿¡ ¿¬ 11¸¸¿øÀ¸·Î ´ëÆø ÇÒÀÎ!
Matthew Dillon wrote:
* Flag the swap device being removed and then scan all OBJT_SWAP
VM Objects looking for swap blocks associated with the device,
and force a page-in of those blocks. The getpages code for the
swap backing store would detect the flag
On Sat, Jul 13, 2002 at 03:17:33AM -0700, Terry Lambert wrote:
Matthew Dillon wrote:
* Flag the swap device being removed and then scan all OBJT_SWAP
VM Objects looking for swap blocks associated with the device,
and force a page-in of those blocks. The
Jon Mini wrote:
Personally, I think it would be more intuitive to add a check to the allocation
algorithm that forces it to not consider devices flaged for removal, and
mark each page as free after it comes in. When the bitmap is clean you're done.
However, you're still going to want to count
Thus spake Peter Wemm [EMAIL PROTECTED]:
One system I used to use years and years ago seperated this process into
stages. The swap(1M) command could be used to enable, disable and 'weight'
allocation to swap areas. The add was easy. 'delete' would cause the
device to be attempted to be
David Schultz wrote:
The weight idea is very interesting. NetBSD does this using
priorities; all the swap devices of a given priority are filled
round robin before devices of lower priority, the idea being that
the slower ones are a last resort (e.g. NFS). On the other hand,
this design
Hi,
On Fri, Jul 12, 2002 at 11:59:51AM -0400, Brian T.Schellenberger wrote:
Besides, stack allocations are more efficient than heap allocations on every
architecture I know of other than the IBM mainframe.
Of course, it's is a lot better to dynamically allocate strings of unknown
length
On Saturday 13 July 2002 11:47 am, Ingo Oeser wrote:
| Hi,
|
| On Fri, Jul 12, 2002 at 11:59:51AM -0400, Brian T.Schellenberger wrote:
| Besides, stack allocations are more efficient than heap allocations on
| every architecture I know of other than the IBM mainframe.
|
| Of course, it's is a
Hi!
What is the status of the driver/file: /usr/src/sys/dev/my/if_my.c ..?
It will attach and work fine with tcpdump, netstat -i. But it won't allow me
to set an IP on the interface (ifconfig my0 inet 1.2.3.4 ..).
It's not present in LINT, but is present in /usr/src/sys/conf/files.
So, does anyone know how to use the basic unix tools to find
the offset of a string in a binary file ?
Specifically, I would like to locate the offset of the string
MFS Filesystem goes here
into a kernel compiled with with MD_ROOT option.
grep does not help because it gives the offset
On Sat, Jul 13, 2002 at 12:53:21PM -0700, Luigi Rizzo wrote:
So, does anyone know how to use the basic unix tools to find
the offset of a string in a binary file ?
Specifically, I would like to locate the offset of the string
MFS Filesystem goes here
Would grep -b do what you want?
On Sat, Jul 13, 2002 at 09:16:28PM +0100, David Malone wrote:
On Sat, Jul 13, 2002 at 12:53:21PM -0700, Luigi Rizzo wrote:
So, does anyone know how to use the basic unix tools to find
the offset of a string in a binary file ?
Specifically, I would like to locate the offset of the string
In message [EMAIL PROTECTED], Luigi Rizzo writes:
On Sat, Jul 13, 2002 at 09:16:28PM +0100, David Malone wrote:
On Sat, Jul 13, 2002 at 12:53:21PM -0700, Luigi Rizzo wrote:
So, does anyone know how to use the basic unix tools to find
the offset of a string in a binary file ?
Specifically,
We are not going to be doing any sort of weighting. It's an idea whos
time has come... and gone again. It might have been useful 8 years ago
but it is not useful today.
Also, please note that it is not possible to reverse-lookup a swap bitmap
block and get the VM object /
Thus spake Matthew Dillon [EMAIL PROTECTED]:
We are not going to be doing any sort of weighting. It's an idea whos
time has come... and gone again. It might have been useful 8 years ago
but it is not useful today.
Also, please note that it is not possible to reverse-lookup
On Sun, Jun 23, 2002 at 12:15:01PM +0200, Martin Faxer wrote:
hi!
i'm trying to write a driver for an old cd-rom drive that you connect
to the parallel port. it is a shuttletech para drive 525.
i don't have any driver docs or technical specifications but i believe
that it uses some kind
On 13-Jul-02 Lui gi Rizzo wrote:
On Sat, Jul 13, 2002 at 09:16:28PM +0100, David Malone wrote:
On Sat, Jul 13, 2002 at 12:53:21PM -0700, Luigi Rizzo wrote:
So, does anyone know how to use the basic unix tools to find
the offset of a string in a binary file ?
Specifically, I would like to
Matthew Dillon wrote:
We are not going to be doing any sort of weighting. It's an idea whos
time has come... and gone again. It might have been useful 8 years ago
but it is not useful today.
Thank goodness! :-)
Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
The man page was waiting for the submitter, and I've been too busy to
pester him for it.. It was supposed to include information on what
cards were supported. I'm surprise about the inability to set the
address.. I heard from testers that it was working..
I guess I should dig up the card I have
Julian Elischer wrote:
The man page was waiting for the submitter, and I've been too busy to
pester him for it.. It was supposed to include information on what
cards were supported. I'm surprise about the inability to set the
Seems my Surecom 10/100 is detected and attached at least :)
26 matches
Mail list logo