Re: [PATCH v2] mm: show free pages per each migrate type

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

 



On Fri, 10 Apr 2015 04:16:15 +0000 ZhangNeil <neilzhang1123@xxxxxxxxxxx> wrote:

> > I think we can eliminate nr_free[][]:
> 
> what about make it as global__variable?

That isn't as good - it permanently consumes memory and really requires
new locking to protect the array from concurrent callers.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]