mm: balloon: drop unused function stubs
PATCH 1/1 mm: balloon: drop unused function stubs
These are leftovers from the pre-"general non-lru movable page" era.
Signed-off-by David Hildenbrand <[email protected]>
--- include/linux/balloon_compaction.h | 15 --------------- 1 file changed, 15 deletions(-)
include/linux/balloon_compaction.h +0 -15
@@ -151,21 +151,6 @@ static inline void balloon_page_delete(struct page *page)list_del (&page->lru); } -static inline bool __is_movable_balloon_page (struct page *page) -{ -return false; -} - -static inline bool balloon_page_movable (struct page *page) -{ -return false; -} - -static inline bool isolated_balloon_page (struct page *page) -{ -return false; -} -static inline bool balloon_page_isolate (struct page *page) {return false;
Signature · 1 line
2.17.2
Quoted 6 lines · David Hildenbrand
These are leftovers from the pre-"general non-lru movable page" era.
Signed-off-by David Hildenbrand <[email protected]>--- include/linux/balloon_compaction.h | 15 --------------- 1 file changed, 15 deletions(-)
Reviewed-by Mukesh Ojha <[email protected]>
Cheers,
-Mukesh
Quoted 27 lines
include/linux/balloon_compaction.h +0
-15@@ -151,21 +151,6 @@ static inline void balloon_page_delete(struct page *page)list_del (&page->lru); } -static inline bool __is_movable_balloon_page (struct page *page) -{ -return false; -} - -static inline bool balloon_page_movable (struct page *page) -{ -return false; -} - -static inline bool isolated_balloon_page (struct page *page) -{ -return false; -} -static inline bool balloon_page_isolate (struct page *page) {return false;
Quoted 3 lines · David Hildenbrand
These are leftovers from the pre-"general non-lru movable page" era.
Signed-off-by David Hildenbrand <[email protected]>
Quoted 32 lines
--- include/linux/balloon_compaction.h | 15 --------------- 1 file changed, 15 deletions(-)include/linux/balloon_compaction.h +0
-15@@ -151,21 +151,6 @@ static inline void balloon_page_delete(struct page *page)list_del (&page->lru); } -static inline bool __is_movable_balloon_page (struct page *page) -{ -return false; -} - -static inline bool balloon_page_movable (struct page *page) -{ -return false; -} - -static inline bool isolated_balloon_page (struct page *page) -{ -return false; -} -static inline bool balloon_page_isolate (struct page *page) {return false;Signature · 1 line
2.17.2
Quoted 36 lines
These are leftovers from the pre-"general non-lru movable page" era.
Signed-off-by David Hildenbrand <[email protected]>--- include/linux/balloon_compaction.h | 15 --------------- 1 file changed, 15 deletions(-)include/linux/balloon_compaction.h +0
-15@@ -151,21 +151,6 @@ static inline void balloon_page_delete(struct page *page)list_del (&page->lru); } -static inline bool __is_movable_balloon_page (struct page *page) -{ -return false; -} - -static inline bool balloon_page_movable (struct page *page) -{ -return false; -} - -static inline bool isolated_balloon_page (struct page *page) -{ -return false; -} -static inline bool balloon_page_isolate (struct page *page) {
Quoted 3 lines
return false;
--
2.17.2
Looks good to me.
Acked-by Pankaj Gupta <[email protected]>
Quoted 2 lines
Quoted 36 lines · David Hildenbrand
These are leftovers from the pre-"general non-lru movable page" era.
Signed-off-by David Hildenbrand <[email protected]>--- include/linux/balloon_compaction.h | 15 --------------- 1 file changed, 15 deletions(-)include/linux/balloon_compaction.h +0
-15@@ -151,21 +151,6 @@ static inline void balloon_page_delete(struct page *page)list_del (&page->lru); } -static inline bool __is_movable_balloon_page (struct page *page) -{ -return false; -} - -static inline bool balloon_page_movable (struct page *page) -{ -return false; -} - -static inline bool isolated_balloon_page (struct page *page) -{ -return false; -} -static inline bool balloon_page_isolate (struct page *page) {return false;Signature · 1 line
2.17.2
Acked-by Rafael Aquini <[email protected]>