summaryrefslogtreecommitdiffstats
path: root/firmware/mts_gsm.fw.ihex
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2011-07-25 17:12:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 20:57:11 -0700
commit27ab700626f048407e9466d389a43c7d3aa45967 (patch)
treea8d371d8a3727110310cba457840be0f2cfb77c6 /firmware/mts_gsm.fw.ihex
parente83c32e8f92724a06a22a3b42f3afc07db93e131 (diff)
tmpfs: simplify filepage/swappage
We can now simplify shmem_getpage_gfp(): there is no longer a dilemma of filepage passed in via shmem_readpage(), then swappage found, which must then be copied over to it. Although at first it's tempting to replace the **pagep arg by returning struct page *, that makes a mess of IS_ERR_OR_NULL(page)s in all the callers, so leave as is. Insert BUG_ON(!PageUptodate) when we find and lock page: some of the complication came from uninitialized pages inserted into filecache prior to readpage; but now we're in control, and only release pagelock on filecache once it's uptodate (if an error occurs in reading back from swap, the page remains in swapcache, never moved to filecache). Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/mts_gsm.fw.ihex')
0 files changed, 0 insertions, 0 deletions