* [PATCH -mm] kill unused lru functions
@ 2008-06-29 10:12 KOSAKI Motohiro
2008-06-29 15:17 ` Rik van Riel
0 siblings, 1 reply; 2+ messages in thread
From: KOSAKI Motohiro @ 2008-06-29 10:12 UTC (permalink / raw)
To: LKML, linux-mm, Rik van Riel, Lee Schermerhorn, Andrew Morton
Cc: kosaki.motohiro
several LRU manupuration function is not used now.
So, it can be removed.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
include/linux/mm_inline.h | 48 ----------------------------------------------
1 file changed, 48 deletions(-)
Index: b/include/linux/mm_inline.h
===================================================================
--- a/include/linux/mm_inline.h
+++ b/include/linux/mm_inline.h
@@ -38,54 +38,6 @@ del_page_from_lru_list(struct zone *zone
}
static inline void
-add_page_to_inactive_anon_list(struct zone *zone, struct page *page)
-{
- add_page_to_lru_list(zone, page, LRU_INACTIVE_ANON);
-}
-
-static inline void
-add_page_to_active_anon_list(struct zone *zone, struct page *page)
-{
- add_page_to_lru_list(zone, page, LRU_ACTIVE_ANON);
-}
-
-static inline void
-add_page_to_inactive_file_list(struct zone *zone, struct page *page)
-{
- add_page_to_lru_list(zone, page, LRU_INACTIVE_FILE);
-}
-
-static inline void
-add_page_to_active_file_list(struct zone *zone, struct page *page)
-{
- add_page_to_lru_list(zone, page, LRU_ACTIVE_FILE);
-}
-
-static inline void
-del_page_from_inactive_anon_list(struct zone *zone, struct page *page)
-{
- del_page_from_lru_list(zone, page, LRU_INACTIVE_ANON);
-}
-
-static inline void
-del_page_from_active_anon_list(struct zone *zone, struct page *page)
-{
- del_page_from_lru_list(zone, page, LRU_ACTIVE_ANON);
-}
-
-static inline void
-del_page_from_inactive_file_list(struct zone *zone, struct page *page)
-{
- del_page_from_lru_list(zone, page, LRU_INACTIVE_FILE);
-}
-
-static inline void
-del_page_from_active_file_list(struct zone *zone, struct page *page)
-{
- del_page_from_lru_list(zone, page, LRU_INACTIVE_FILE);
-}
-
-static inline void
del_page_from_lru(struct zone *zone, struct page *page)
{
enum lru_list l = LRU_BASE;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -mm] kill unused lru functions
2008-06-29 10:12 [PATCH -mm] kill unused lru functions KOSAKI Motohiro
@ 2008-06-29 15:17 ` Rik van Riel
0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2008-06-29 15:17 UTC (permalink / raw)
To: KOSAKI Motohiro; +Cc: LKML, linux-mm, Lee Schermerhorn, Andrew Morton
On Sun, 29 Jun 2008 19:12:16 +0900
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
> several LRU manupuration function is not used now.
> So, it can be removed.
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-29 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-29 10:12 [PATCH -mm] kill unused lru functions KOSAKI Motohiro
2008-06-29 15:17 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox