lkml.org 
[lkml]   [2008]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch 04/14] free swap space on swap-in/activation
Hi, Rik.

I don't know where to send this patch. you or mm ?
I guess VM pageout patches didn't send mm-commits yet.

It made compile error in my system that didn't have swap device.

----

Subject: [PATCH] Fix compile error about remove_exclusive_swap_page_ref

It happened compiled error when I removed CONFIG_SWAP in config file
It caused by new API that is 'remove_exclusive_swap_page_ref'.

Signed-off-by: MinChan Kim <minchan.kim@gmail.com>
---
include/linux/swap.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/linux/swap.h b/include/linux/swap.h
index 4c3a2ef..f34fdb6 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -390,6 +390,11 @@ static inline int remove_exclusive_swap_page(struct page *p)
return 0;
}

+static inline int remove_exclusive_swap_page_ref(struct page *page)
+{
+ return 0;
+}
+
static inline swp_entry_t get_swap_page(void)
{
swp_entry_t entry;
--
1.5.4.3

\
 
 \ /
  Last update: 2008-05-19 14:39    [W:0.112 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site