[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] zview



Jo Even Skarstein wrote:

> On Mon, 17 Oct 2011 09:58:02 +0200, Helmut Karlowski
> <helmut.karlowski@ish.de> wrote:
>
> > I agree. The OS should in no case be as vulnarable as MiNT currently is.
>
> True. MiNT used to be very solid, but that has changed the last 10 years.
>
> > I guess XaAES would need its own malloc-lib (one pool for each client)
> > to avoid this invalid MAGIC-crap (and maybe improve performance). But
> > that's a long way to go, and before that there are surly some other
> > things that can be improved.
>
> IMO stability should be prioritized over features and performance. When
> everything works and is stable, THEN add new stuff.

True, but sometimes you find old bugs or poor code by implementing new things,
but the main priority is of course to make it rock-solid, and that's why
I think it's not very good that XaAES uses kmalloc/kfree for nearly every
little chunk of memory. I only may help to debug the hard way ;)

There's still a design-bug concerning slb if used inappropriately (kernel frees the proc-attachment,
and XaAES also -> invalid MAGIC) but that's complicated.

Another bug may lie in XaAES executing USERDEFS in user-mode, which is also complicated.

-Helmut