commit | f45840b5c128445da70e7ec33adc47b4a12bdaf4 | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@suse.de> | Sat Oct 18 20:26:57 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Oct 20 08:52:31 2008 -0700 |
tree | 3815a03d12d1c69d71a48c44cd216c3e1e84272a | |
parent | 9978ad583e100945b74e4f33e73317983ea32df9 [diff] |
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 <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>