> As some of you remember my partner and I have worked on implementing a
> TCP/IP Noise Simulator for Linux 2.4.x. Now, the simulator uses or
> replaces the IP-Queue mechanism of IP-Tables, and can be run as a kernel
> module or a standalone userland application.
> 
> We noticed our kernel module OOPSified kernels that used the new VM by
> Andrea Archanageli, and we assumed it was still buggy, so we sticked with
> the older one (which is by Rik van Riel IIRC). Now, in the last IGLU
> meeting I had a talk with Moshe Bar who said, that it was not supposed to
> work.
> 
> The reason is that we used kmalloc and if we don't touch the buffer we
> allocated for a long time, and then tried to access a pointer to a 5th or
> greater page after its start, it is not guaranteed to succeed.

That's sound very weird - can you please elobrate?

My gut reaction would have been that this is bull because the VM code (whatever VM 
code) deals with getting things in and out of swap (yes, that's an over simplfication 
of things) and I'm pretty sure no memory used for proccesing packets (in interrupt or 
bottom half context) can swap in or out, so there's either something I didn't 
understand from you or something you didn't understand from Moshe ;-)

Gilad.


-- 
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Tel: +972(9)9717330 | Fax: +972(9)9717334   | Cel: +972(54)756701
Kagoor Networks ltd | http://www.kagoor.com | 



================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to