Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250931
b: refs/heads/master
c: b1f72d1
h: refs/heads/master
i:
  250929: 68aacfd
  250927: 8d5c52a
v: v3
  • Loading branch information
Stephen Wilson authored and Linus Torvalds committed May 25, 2011
1 parent 7d12632 commit c062a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29ea2f6982f1edc4302729116f2246dd7b45471d
refs/heads/master: b1f72d1857bb0de19ce20a59f3f85e6dc47bdec8
5 changes: 1 addition & 4 deletions trunk/mm/mempolicy.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
/* Internal flags */
#define MPOL_MF_DISCONTIG_OK (MPOL_MF_INTERNAL << 0) /* Skip checks for continuous vmas */
#define MPOL_MF_INVERT (MPOL_MF_INTERNAL << 1) /* Invert check for nodemask */
#define MPOL_MF_STATS (MPOL_MF_INTERNAL << 2) /* Gather statistics */

static struct kmem_cache *policy_cache;
static struct kmem_cache *sn_cache;
Expand Down Expand Up @@ -492,9 +491,7 @@ static int check_pte_range(struct vm_area_struct *vma, pmd_t *pmd,
if (node_isset(nid, *nodes) == !!(flags & MPOL_MF_INVERT))
continue;

if (flags & MPOL_MF_STATS)
gather_stats(page, private, pte_dirty(*pte));
else if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL))
if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL))
migrate_page_add(page, private, flags);
else
break;
Expand Down

0 comments on commit c062a72

Please sign in to comment.