Re: [2.1.132] Modularized sound oops, OPL3-SA1

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 28 Dec 1998 20:49:08 +0000 (GMT)


> Currently it blocks off *all* portspace used by the pas2 card. (Before I
> modified it, it didin't allocate ANY portspace) But it's a lot. I'm also
> afraid that the pas2 uses the harmonics (0x388 + n*0x400 where n is an
> integer) that are *not* documented, but haven't been able to prove this yet.

Assume it just uses the documented ones for now.

> There is also a documented memory leak in soundcore. (Grep for "FIXME") If
> you're testing changes to sound drivers, insmod sound, soundcore, and pas2,
> then rmmod all three of them. The problem is a fixed length array of
> devices, IIRC, but it never re-uses elements of the array when stuff is
> removed.

Not in soundcore but there is in sound.o until the sound module itself
is unloaded (the OSS one). This has been gradually getting stomped. Its now
down to two users of the old system.

Alan

-
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.tux.org/lkml/