Alex Hornung <ahornung@gmail.com> added the comment:
I didn't explain myself well enough I guess: if you pass M_WAITOK to kmallo=
c you=20
won't get NULL back EVER; there is no need to check for it, so you can safe=
ly=20
remove the check after kmalloc.
For the rest at least that part looks fine to me. Thanks for your fixes. Ho=
pe=20
someone can try this? I don't have an AMD CPU.
_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1359>
_____________________________________________________