Commit e4a9bc58 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files
parent e46b893d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1102,7 +1102,7 @@ static long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
				goto retry;
			case -EBUSY:
				ret = 0;
				/* FALLTHRU */
				fallthrough;
			case -EFAULT:
			case -ENOMEM:
			case -EHWPOISON:
+3 −3
Original line number Diff line number Diff line
@@ -467,14 +467,14 @@ static int hugetlb_cgroup_read_u64_max(struct seq_file *seq, void *v)
	switch (MEMFILE_ATTR(cft->private)) {
	case RES_RSVD_USAGE:
		counter = &h_cg->rsvd_hugepage[idx];
		/* Fall through. */
		fallthrough;
	case RES_USAGE:
		val = (u64)page_counter_read(counter);
		seq_printf(seq, "%llu\n", val * PAGE_SIZE);
		break;
	case RES_RSVD_LIMIT:
		counter = &h_cg->rsvd_hugepage[idx];
		/* Fall through. */
		fallthrough;
	case RES_LIMIT:
		val = (u64)counter->max;
		if (val == limit)
@@ -514,7 +514,7 @@ static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of,
	switch (MEMFILE_ATTR(of_cft(of)->private)) {
	case RES_RSVD_LIMIT:
		rsvd = true;
		/* Fall through. */
		fallthrough;
	case RES_LIMIT:
		mutex_lock(&hugetlb_limit_mutex);
		ret = page_counter_set_max(
+1 −2
Original line number Diff line number Diff line
@@ -2813,8 +2813,7 @@ static int ksm_memory_callback(struct notifier_block *self,
		 */
		ksm_check_stable_tree(mn->start_pfn,
				      mn->start_pfn + mn->nr_pages);
		/* fallthrough */

		fallthrough;
	case MEM_CANCEL_OFFLINE:
		mutex_lock(&ksm_thread_mutex);
		ksm_run &= ~KSM_RUN_OFFLINE;
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ __list_lru_walk_one(struct list_lru_node *nlru, int memcg_idx,
		switch (ret) {
		case LRU_REMOVED_RETRY:
			assert_spin_locked(&nlru->lock);
			/* fall through */
			fallthrough;
		case LRU_REMOVED:
			isolated++;
			nlru->nr_items--;
+1 −1
Original line number Diff line number Diff line
@@ -5813,7 +5813,7 @@ static int mem_cgroup_move_charge_pte_range(pmd_t *pmd,
		switch (get_mctgt_type(vma, addr, ptent, &target)) {
		case MC_TARGET_DEVICE:
			device = true;
			/* fall through */
			fallthrough;
		case MC_TARGET_PAGE:
			page = target.page;
			/*
Loading