[PATCH] mm: remove atomic
This bitop does not need to be atomic because it is performed when there will be no references to the page (ie. the page is being freed). Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9a61c349b2
commit
242e546862
@@ -329,7 +329,7 @@ static inline void free_pages_check(const char *function, struct page *page)
|
||||
1 << PG_writeback )))
|
||||
bad_page(function, page);
|
||||
if (PageDirty(page))
|
||||
ClearPageDirty(page);
|
||||
__ClearPageDirty(page);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user