Messages in this thread | | | Date | Mon, 5 Nov 2018 09:26:42 +0000 | From | Mel Gorman <> | Subject | Re: [PATCH 1/2] mm/page_alloc: free order-0 pages through PCP in page_frag_free() |
| |
On Mon, Nov 05, 2018 at 04:58:19PM +0800, Aaron Lu wrote: > page_frag_free() calls __free_pages_ok() to free the page back to > Buddy. This is OK for high order page, but for order-0 pages, it > misses the optimization opportunity of using Per-Cpu-Pages and can > cause zone lock contention when called frequently. > > [1]: https://www.spinics.net/lists/netdev/msg531362.html > [2]: https://www.spinics.net/lists/netdev/msg531421.html > [3]: https://www.spinics.net/lists/netdev/msg531556.html > Reported-by: PaweÅ Staszewski <pstaszewski@itcare.pl> > Analysed-by: Jesper Dangaard Brouer <brouer@redhat.com> > Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Well spotted,
Acked-by: Mel Gorman <mgorman@techsingularity.net>
-- Mel Gorman SUSE Labs
| |