Source-Changes archive

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

Re: CVS commit: src/sys/sys



Sean Davis wrote:
> > Log Message:
> > Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
> > Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
> > (pad fields left in struct proc to avoid kernel bump)
> 
> Isn't it better to have to bump the kernel version than to waste memory
> (admittedly a tiny amount) on unused (and not likely to ever be used) fields
> in the structure?

It will be removed on next structure change. There is at least
one such change going in soon, removing fields no longer necessary
after pending reaper kernel thread removal.

Jaromir
> -Sean
> 
> --
> /~\ The ASCII
> \ / Ribbon Campaign                   Sean Davis
>  X  Against HTML                       aka dive
> / \ Email!
-- End of PGP section, PGP failed!

-- 
Jaromir Dolecek <jdolecek%NetBSD.org@localhost>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you        -=-
-=- sometimes levitate or glow.   Do not let this distract you.''   -=-



Home | Main Index | Thread Index | Old Index