aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-18 13:37:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-18 13:37:40 -0400
commite16b396ce314b2bcdfe6c173fe075bf8e3432368 (patch)
tree640f0f56f2ea676647af4eb42d32fa56be2ee549 /mm
parent7fd23a24717a327a66f3c32d11a20a2f169c824f (diff)
parente6e8dd5055a974935af1398c8648d4a9359b0ecb (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (47 commits) doc: CONFIG_UNEVICTABLE_LRU doesn't exist anymore Update cpuset info & webiste for cgroups dcdbas: force SMI to happen when expected arch/arm/Kconfig: remove one to many l's in the word. asm-generic/user.h: Fix spelling in comment drm: fix printk typo 'sracth' Remove one to many n's in a word Documentation/filesystems/romfs.txt: fixing link to genromfs drivers:scsi Change printk typo initate -> initiate serial, pch uart: Remove duplicate inclusion of linux/pci.h header fs/eventpoll.c: fix spelling mm: Fix out-of-date comments which refers non-existent functions drm: Fix printk typo 'failled' coh901318.c: Change initate to initiate. mbox-db5500.c Change initate to initiate. edac: correct i82975x error-info reported edac: correct i82975x mci initialisation edac: correct commented info fs: update comments to point correct document target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c ... Trivial conflict in fs/eventpoll.c (spelling vs addition)
Diffstat (limited to 'mm')
-rw-r--r--mm/memory.c6
-rw-r--r--mm/mempolicy.c2
-rw-r--r--mm/shmem.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 346ee7e041fd..e48945ab362b 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2172,10 +2172,10 @@ EXPORT_SYMBOL_GPL(apply_to_page_range);
2172 * handle_pte_fault chooses page fault handler according to an entry 2172 * handle_pte_fault chooses page fault handler according to an entry
2173 * which was read non-atomically. Before making any commitment, on 2173 * which was read non-atomically. Before making any commitment, on
2174 * those architectures or configurations (e.g. i386 with PAE) which 2174 * those architectures or configurations (e.g. i386 with PAE) which
2175 * might give a mix of unmatched parts, do_swap_page and do_file_page 2175 * might give a mix of unmatched parts, do_swap_page and do_nonlinear_fault
2176 * must check under lock before unmapping the pte and proceeding 2176 * must check under lock before unmapping the pte and proceeding
2177 * (but do_wp_page is only called after already making such a check; 2177 * (but do_wp_page is only called after already making such a check;
2178 * and do_anonymous_page and do_no_page can safely check later on). 2178 * and do_anonymous_page can safely check later on).
2179 */ 2179 */
2180static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd, 2180static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
2181 pte_t *page_table, pte_t orig_pte) 2181 pte_t *page_table, pte_t orig_pte)
@@ -2371,7 +2371,7 @@ reuse:
2371 * bit after it clear all dirty ptes, but before a racing 2371 * bit after it clear all dirty ptes, but before a racing
2372 * do_wp_page installs a dirty pte. 2372 * do_wp_page installs a dirty pte.
2373 * 2373 *
2374 * do_no_page is protected similarly. 2374 * __do_fault is protected similarly.
2375 */ 2375 */
2376 if (!page_mkwrite) { 2376 if (!page_mkwrite) {
2377 wait_on_page_locked(dirty_page); 2377 wait_on_page_locked(dirty_page);
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index b53ec99f1428..78062ab641ff 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -993,7 +993,7 @@ int do_migrate_pages(struct mm_struct *mm,
993 * most recent <s, d> pair that moved (s != d). If we find a pair 993 * most recent <s, d> pair that moved (s != d). If we find a pair
994 * that not only moved, but what's better, moved to an empty slot 994 * that not only moved, but what's better, moved to an empty slot
995 * (d is not set in tmp), then we break out then, with that pair. 995 * (d is not set in tmp), then we break out then, with that pair.
996 * Otherwise when we finish scannng from_tmp, we at least have the 996 * Otherwise when we finish scanning from_tmp, we at least have the
997 * most recent <s, d> pair that moved. If we get all the way through 997 * most recent <s, d> pair that moved. If we get all the way through
998 * the scan of tmp without finding any node that moved, much less 998 * the scan of tmp without finding any node that moved, much less
999 * moved to an empty node, then there is nothing left worth migrating. 999 * moved to an empty node, then there is nothing left worth migrating.
diff --git a/mm/shmem.c b/mm/shmem.c
index 41f82bb59eec..048a95a5244d 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -779,7 +779,7 @@ static int shmem_notify_change(struct dentry *dentry, struct iattr *attr)
779 * If truncating down to a partial page, then 779 * If truncating down to a partial page, then
780 * if that page is already allocated, hold it 780 * if that page is already allocated, hold it
781 * in memory until the truncation is over, so 781 * in memory until the truncation is over, so
782 * truncate_partial_page cannnot miss it were 782 * truncate_partial_page cannot miss it were
783 * it assigned to swap. 783 * it assigned to swap.
784 */ 784 */
785 if (newsize & (PAGE_CACHE_SIZE-1)) { 785 if (newsize & (PAGE_CACHE_SIZE-1)) {