![]() | |||||||||||||
Messages in this thread Patch in this message |
Hi. There are users, who would like to use lock_page_killable() in modules, so far there are no users in kernel, but for consistency it can be exported without them. Not that it is particulary needed, but copying page_waitqueue() in modules is frowned upon and unlikely to be exported either. As a side note, do we want interruptible and time limited locking for those who knows what is being done? Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> diff --git a/mm/filemap.c b/mm/filemap.c index 07e9d92..0a4fea5 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -610,6 +610,7 @@ int __lock_page_killable(struct page *page) return __wait_on_bit_lock(page_waitqueue(page), &wait, sync_page_killable, TASK_KILLABLE); } +EXPORT_SYMBOL(__lock_page_killable); /** * __lock_page_nosync - get a lock on the page, without calling sync_page() -- Evgeniy Polyakov | ||||||||||||
| Last update: 2008-05-14 16:15 [W:1.782 / U:0.080 seconds] ©2003-2008 Jasper Spaans | |||||||||||||