Messages in this thread | | | Date | Mon, 31 Jan 2005 09:51:06 -0600 | From | Timur Tabi <> | Subject | Re: Correct way to release get_user_pages()? |
| |
Andrew Morton wrote:
> no... You should only dirty the page if it was modified, and then use > set_page_dirty() or set_page_dirty_lock().
If the page was modified, then shouldn't it already be marked dirty?
Also, should I always use set_page_dirty_lock() if I haven't already locked the page?
-- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |