mm-memcg-revise-the-using-condition-of-lock_page_lruvec-function-series.patch removed from -mm tree
The patch titled
Subject: mm/memcg: revise the using condition of lock_page_lruvec function series
has been removed from the -mm tree. Its filename was
mm-memcg-revise-the-using-condition-of-lock_page_lruvec-function-series.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Alex Shi <[email protected]>
Subject: mm/memcg: revise the using condition of lock_page_lruvec function series
lock_page_lruvec() and its variants are safe to use under the same conditions as commit_charge(): add lock_page_memcg() to the comment.
Polished with Hugh Dickins' suggestions, thanks!
Signed-off-by Alex Shi <[email protected]>
Acked-by Hugh Dickins <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Vladimir Davydov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memcontrol.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
mm/memcontrol.c renamed from mm/memcontrol.c~mm-memcg-revise-the-using-condition-of-lock_page_lruvec-function-series +5 -4
@@ -1346,10 +1346,11 @@ void lruvec_memcg_debug(struct lruvec *l* lock_page_lruvec - lock and return lruvec for a given page. * @page: the page * -* This series functions should be used in either conditions: -* PageLRU is cleared or unset -* or page->_refcount is zero -* or page is locked. +* These functions are safe to use under any of the following conditions: +* - page locked +* - PageLRU cleared +* - lock_page_memcg() +* - page->_refcount is zero */ struct lruvec *lock_page_lruvec (struct page *page) {
_
Patches currently in -mm which might be from [email protected] are