Re: Strange interrupt behaviour

Harvey J. Stein (hjstein@bfr.co.il)
15 Jul 1998 19:54:15 +0300


Linus Torvalds <torvalds@transmeta.com> writes:

> On 15 Jul 1998, Harvey J. Stein wrote:
> > The math isn't quite right. Consider:
> >
> > 1st hole placed on 1st page.
> >
> > 2nd hole placed on 4th page.
> >
> > There are now x-5 places to place the 3rd hole, not x-4.
>
> No, the thing is that you also have to worry about the alignement: we get
> a 8kB area only if we have two consecutive 4kB holes that are also
> aligned.
>
> As such 0+1 would be a 8kB area, and 4+5 would be one, but 3+4 and 1+2
> would not.

Ok. In that case I'm not counting the right thing. I'll redo my
computations and see what happens.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html