Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/uvm
On Sat, Dec 21, 2019 at 03:08:18PM +0100, Christoph Badura wrote:
> On Sat, Dec 21, 2019 at 12:58:26PM +0000, Andrew Doran wrote:
> > Modified Files:
> > src/sys/uvm: uvm_extern.h uvm_page.c
> > Log Message:
> > Add uvm_free(): returns number of free pages in system.
>
> Can you rename this to a more descriptive name? Say uvm_free_pages() or
> something.
>
> Also, we traditionally use xxx_free() to actually free some object and not
> return statistics. It would be nice to spare future readers the
> confusion.
Yes that's fair enough, I see your point. May not be today but I'll come
back to it soon.
Andrew
Home |
Main Index |
Thread Index |
Old Index