Re: [PATCH v5 1/4] mm: reference totalram_pages and managed_pages once per function

2018-11-14 Thread Pavel Tatashin
On 18-11-13 12:03:07, Arun KS wrote: > This patch is in preparation to a later patch which converts totalram_pages > and zone->managed_pages to atomic variables. Please note that re-reading > the value might lead to a different value and as such it could lead to > unexpected behavior. There are no

Re: [PATCH v5 1/4] mm: reference totalram_pages and managed_pages once per function

2018-11-13 Thread David Hildenbrand
On 13.11.18 07:33, Arun KS wrote: > This patch is in preparation to a later patch which converts totalram_pages > and zone->managed_pages to atomic variables. Please note that re-reading > the value might lead to a different value and as such it could lead to > unexpected behavior. There are no kno

[PATCH v5 1/4] mm: reference totalram_pages and managed_pages once per function

2018-11-12 Thread Arun KS
This patch is in preparation to a later patch which converts totalram_pages and zone->managed_pages to atomic variables. Please note that re-reading the value might lead to a different value and as such it could lead to unexpected behavior. There are no known bugs as a result of the current code bu