Matthew Dillon wrote:
>
> Yes, it will work. Oops. I do see one problem though... if you do
> this the underlying file object will be marked for sequential operation
> even after the grep (in this case) exits. That is, an madvise() of
> MADV_NORMAL, SEQUENTIAL, or RANDOM appears to have a permanent effect
> on the object. This is probably not correct behavior. We could probably
> fix this by moving this particular flag from the object to the vm_entry.
....
Could you please elaborate on "permanent"? To what structure the
information is currently attached, and what, if anything, can make
that structure "go away", short of a reboot?
Of course, we could MADV_NORMAL afterwards, though that would
require changing more than one character. I'm not sure I'm ready for
so much coding... :-)
--
Daniel C. Sobral (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"Is it true that you're a millionaire's son who never worked a day
in your life?"
"Yeah, I guess so."
"Lemme tell you, son, you ain't missed a thing."
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message