linux/mmnommu/filemap.c
/*
 * Add a page to the dirty page list.
 */
Add a page to the dirty page list.
Add a page to the dirty page list .
void __set_page_dirty(struct page *page)
{
	struct address_space *mapping = page->mapping;
	spin_lock(&pagecache_lock);
	list_del(&page->list);
	list_add(&page->list, &mapping->dirty_pages);
	spin_unlock(&pagecache_lock);
	mark_inode_dirty_pages(mapping->host);
}
void __set_page_dirty ( struct page * page ) { struct address_space * mapping = page -> mapping ; spin_lock ( & pagecache_lock ) ; list_del ( & page -> list ) ; list_add ( & page -> list , & mapping -> dirty_pages ) ; spin_unlock ( & pagecache_lock ) ; mark_inode_dirty_pages ( mapping -> host ) ; }
Add a page to the dirty page list.
Add a page to the dirty page list .