git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: speed up cancel_dirty_page() for clean pages
[sfrench/cifs-2.6.git]
/
mm
/
page-writeback.c
diff --git
a/mm/page-writeback.c
b/mm/page-writeback.c
index 83c746577aeab3cdf28f50df86584922d11dcfd5..436714917e038c82d8d08a42d0b2f6c4f14644c2 100644
(file)
--- a/
mm/page-writeback.c
+++ b/
mm/page-writeback.c
@@
-2608,7
+2608,7
@@
EXPORT_SYMBOL(set_page_dirty_lock);
* page without actually doing it through the VM. Can you say "ext3 is
* horribly ugly"? Thought you could.
*/
* page without actually doing it through the VM. Can you say "ext3 is
* horribly ugly"? Thought you could.
*/
-void cancel_dirty_page(struct page *page)
+void
__
cancel_dirty_page(struct page *page)
{
struct address_space *mapping = page_mapping(page);
{
struct address_space *mapping = page_mapping(page);
@@
-2629,7
+2629,7
@@
void cancel_dirty_page(struct page *page)
ClearPageDirty(page);
}
}
ClearPageDirty(page);
}
}
-EXPORT_SYMBOL(cancel_dirty_page);
+EXPORT_SYMBOL(
__
cancel_dirty_page);
/*
* Clear a page's dirty flag, while caring for dirty memory accounting.
/*
* Clear a page's dirty flag, while caring for dirty memory accounting.