tech-kern archive

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

Re: [PATCH] netbsd32 swapctl, round 4



On Feb 3,  8:04am, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: [PATCH] netbsd32 swapctl, round 4

| On Mon, Feb 03, 2014 at 03:06:14AM +0000, Christos Zoulas wrote:
| > I thought we decided that it is better to have one sep32 on the stack
| > and do copyout in the loop.
| 
| I can do that too, I just need to sort out the size question:

ok.

| > >+out:
| > >+  kmem_free(sep, sizeof(*sep));
| > >+  kmem_free(sep32, sizeof(*sep32));
| > The sizes are wrong.
| 
| How are they wrong?

* count?

christos


Home | Main Index | Thread Index | Old Index