Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81601764 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "mm: memory: reduce fault_around_bytes""

parents 39ad5219 2db142e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3514,7 +3514,7 @@ vm_fault_t finish_fault(struct vm_fault *vmf)
}

static unsigned long fault_around_bytes __read_mostly =
	rounddown_pow_of_two(4096);
	rounddown_pow_of_two(65536);

#ifdef CONFIG_DEBUG_FS
static int fault_around_bytes_get(void *data, u64 *val)
+3 −1
Original line number Diff line number Diff line
@@ -1119,7 +1119,7 @@ static unsigned long shrink_page_list(struct list_head *page_list,
		struct address_space *mapping;
		struct page *page;
		int may_enter_fs;
		enum page_references references = PAGEREF_RECLAIM_CLEAN;
		enum page_references references = PAGEREF_RECLAIM;
		bool dirty, writeback;

		cond_resched();
@@ -1514,6 +1514,8 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
		.gfp_mask = GFP_KERNEL,
		.priority = DEF_PRIORITY,
		.may_unmap = 1,
		/* Doesn't allow to write out dirty page */
		.may_writepage = 0,
	};
	unsigned long ret;
	struct page *page, *next;