From: Nick Piggin Date: Sun, 19 Oct 2008 03:26:57 +0000 (-0700) Subject: mm: pagecache insertion fewer atomics X-Git-Tag: v2.6.28-rc1~220 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45840b5c128445da70e7ec33adc47b4a12bdaf4;p=pandora-kernel.git mm: pagecache insertion fewer atomics Setting and clearing the page locked when inserting it into swapcache / pagecache when it has no other references can use non-atomic page flags operations because no other CPU may be operating on it at this time. This saves one atomic operation when inserting a page into pagecache. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed